private void doPrint(PrintStream writer,List<String> args){
  String rootPath=mAppContext.getApplicationInfo().dataDir + "/shared_prefs";
  String offsetPrefix=args.isEmpty() ? "" : args.get(0);
  String keyPrefix=(args.size() > 1) ? args.get(1) : "";
  printRecursive(writer,rootPath,"",offsetPrefix,keyPrefix);
}

private void doPrint ( PrintStream writer , List < String > args ) { String rootPath = mAppContext . getApplicationInfo ( ) . dataDir + "/shared_prefs" ; String offsetPrefix = args . isEmpty ( ) ? "" : args . get ( 0 ) ; String keyPrefix = ( args . size ( ) > 1 ) ? args . get ( 1 ) : "" ; printRecursive ( writer , rootPath , "" , offsetPrefix , keyPrefix ) ; }
execute command to print all keys and values stored in the shared preferences which match the optional given prefix
