Code example for PrintWriterPrinter

0
 
    public void dump(PrintWriter pw, String prefix) {
        pw.println(prefix + mName);
        pw.println(prefix + "mHasLocation=" + mHasLocation);
        pw.println(prefix + "mLocation:");
        mLocation.dump(new PrintWriterPrinter(pw), prefix + "  ");
        pw.println(prefix + "mHasStatus=" + mHasStatus);
        pw.println(prefix + "mStatus=" + mStatus);
        pw.println(prefix + "mStatusUpdateTime=" + mStatusUpdateTime);
        pw.println(prefix + "mExtras=" + mExtras);
    } 
 
    @Override 
    public void setRequest(ProviderRequest request, WorkSource source) { }
 
    @Override 
    public boolean sendExtraCommand(String command, Bundle extras) {
        return false; 
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java