Program: 192608
Project: 192608
Buggy source:
void dumpProcessesLocked(FileDescriptor fd,PrintWriter pw,String[] args,int opti,boolean dumpAll,String dumpPackage){
  boolean needSep=false;
  boolean printedAnything=false;
  int numPers=0;
  pw.println("String_Node_Str");
  if (dumpAll) {
    final int NP=mProcessNames.getMap().size();
    for (int ip=0; ip < NP; ip++) {
      SparseArray<ProcessRecord> procs=mProcessNames.getMap().valueAt(ip);
      final int NA=procs.size();
      for (int ia=0; ia < NA; ia++) {
        ProcessRecord r=procs.valueAt(ia);
        if (dumpPackage != null && !r.pkgList.containsKey(dumpPackage)) {
          continue;
        }
        if (!needSep) {
          pw.println("String_Node_Str");
          needSep=true;
          printedAnything=true;
        }
        pw.print(r.persistent ? "String_Node_Str" : "String_Node_Str");
        pw.print("String_Node_Str");
        pw.print(procs.keyAt(ia));
        pw.print("String_Node_Str");
        pw.println(r);
        r.dump(pw,"String_Node_Str");
        if (r.persistent) {
          numPers++;
        }
      }
    }
  }
  if (mIsolatedProcesses.size() > 0) {
    boolean printed=false;
    for (int i=0; i < mIsolatedProcesses.size(); i++) {
      ProcessRecord r=mIsolatedProcesses.valueAt(i);
      if (dumpPackage != null && !r.pkgList.containsKey(dumpPackage)) {
        continue;
      }
      if (!printed) {
        if (needSep) {
          pw.println();
        }
        pw.println("String_Node_Str");
        printedAnything=true;
        printed=true;
        needSep=true;
      }
      pw.println(String.format("String_Node_Str","String_Node_Str",i,r.toString()));
    }
  }
  if (mActiveUids.size() > 0) {
    if (dumpUids(pw,dumpPackage,mActiveUids,"String_Node_Str",needSep)) {
      printedAnything=needSep=true;
    }
  }
  if (mValidateUids.size() > 0) {
    if (dumpUids(pw,dumpPackage,mValidateUids,"String_Node_Str",needSep)) {
      printedAnything=needSep=true;
    }
  }
  if (mLruProcesses.size() > 0) {
    if (needSep) {
      pw.println();
    }
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size());
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size() - mLruProcessActivityStart);
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size() - mLruProcessServiceStart);
    pw.println("String_Node_Str");
    dumpProcessOomList(pw,this,mLruProcesses,"String_Node_Str","String_Node_Str","String_Node_Str",false,dumpPackage);
    needSep=true;
    printedAnything=true;
  }
  if (dumpAll || dumpPackage != null) {
synchronized (mPidsSelfLocked) {
      boolean printed=false;
      for (int i=0; i < mPidsSelfLocked.size(); i++) {
        ProcessRecord r=mPidsSelfLocked.valueAt(i);
        if (dumpPackage != null && !r.pkgList.containsKey(dumpPackage)) {
          continue;
        }
        if (!printed) {
          if (needSep)           pw.println();
          needSep=true;
          pw.println("String_Node_Str");
          printed=true;
          printedAnything=true;
        }
        pw.print("String_Node_Str");
        pw.print(mPidsSelfLocked.keyAt(i));
        pw.print("String_Node_Str");
        pw.println(mPidsSelfLocked.valueAt(i));
      }
    }
  }
  if (mForegroundProcesses.size() > 0) {
synchronized (mPidsSelfLocked) {
      boolean printed=false;
      for (int i=0; i < mForegroundProcesses.size(); i++) {
        ProcessRecord r=mPidsSelfLocked.get(mForegroundProcesses.valueAt(i).pid);
        if (dumpPackage != null && (r == null || !r.pkgList.containsKey(dumpPackage))) {
          continue;
        }
        if (!printed) {
          if (needSep)           pw.println();
          needSep=true;
          pw.println("String_Node_Str");
          printed=true;
          printedAnything=true;
        }
        pw.print("String_Node_Str");
        pw.print(mForegroundProcesses.keyAt(i));
        pw.print("String_Node_Str");
        pw.println(mForegroundProcesses.valueAt(i));
      }
    }
  }
  if (mPersistentStartingProcesses.size() > 0) {
    if (needSep)     pw.println();
    needSep=true;
    printedAnything=true;
    pw.println("String_Node_Str");
    dumpProcessList(pw,this,mPersistentStartingProcesses,"String_Node_Str","String_Node_Str","String_Node_Str",dumpPackage);
  }
  if (mRemovedProcesses.size() > 0) {
    if (needSep)     pw.println();
    needSep=true;
    printedAnything=true;
    pw.println("String_Node_Str");
    dumpProcessList(pw,this,mRemovedProcesses,"String_Node_Str","String_Node_Str","String_Node_Str",dumpPackage);
  }
  if (mProcessesOnHold.size() > 0) {
    if (needSep)     pw.println();
    needSep=true;
    printedAnything=true;
    pw.println("String_Node_Str");
    dumpProcessList(pw,this,mProcessesOnHold,"String_Node_Str","String_Node_Str","String_Node_Str",dumpPackage);
  }
  needSep=dumpProcessesToGc(fd,pw,args,opti,needSep,dumpAll,dumpPackage);
  needSep=mAppErrors.dumpLocked(fd,pw,needSep,dumpPackage);
  if (needSep) {
    printedAnything=true;
  }
  if (dumpPackage == null) {
    pw.println();
    needSep=false;
    mUserController.dump(pw,dumpAll);
  }
  if (mHomeProcess != null && (dumpPackage == null || mHomeProcess.pkgList.containsKey(dumpPackage))) {
    if (needSep) {
      pw.println();
      needSep=false;
    }
    pw.println("String_Node_Str" + mHomeProcess);
  }
  if (mPreviousProcess != null && (dumpPackage == null || mPreviousProcess.pkgList.containsKey(dumpPackage))) {
    if (needSep) {
      pw.println();
      needSep=false;
    }
    pw.println("String_Node_Str" + mPreviousProcess);
  }
  if (dumpAll) {
    StringBuilder sb=new StringBuilder(128);
    sb.append("String_Node_Str");
    TimeUtils.formatDuration(mPreviousProcessVisibleTime,sb);
    pw.println(sb);
  }
  if (mHeavyWeightProcess != null && (dumpPackage == null || mHeavyWeightProcess.pkgList.containsKey(dumpPackage))) {
    if (needSep) {
      pw.println();
      needSep=false;
    }
    pw.println("String_Node_Str" + mHeavyWeightProcess);
  }
  if (dumpPackage == null) {
    pw.println("String_Node_Str" + mConfiguration);
  }
  if (dumpAll) {
    pw.println("String_Node_Str" + getFocusedStack().mConfigWillChange);
    if (mCompatModePackages.getPackages().size() > 0) {
      boolean printed=false;
      for (      Map.Entry<String,Integer> entry : mCompatModePackages.getPackages().entrySet()) {
        String pkg=entry.getKey();
        int mode=entry.getValue();
        if (dumpPackage != null && !dumpPackage.equals(pkg)) {
          continue;
        }
        if (!printed) {
          pw.println("String_Node_Str");
          printed=true;
        }
        pw.print("String_Node_Str");
        pw.print(pkg);
        pw.print("String_Node_Str");
        pw.print(mode);
        pw.println();
      }
    }
  }
  if (dumpPackage == null) {
    pw.println("String_Node_Str" + PowerManagerInternal.wakefulnessToString(mWakefulness));
    pw.println("String_Node_Str" + mSleepTokens);
    pw.println("String_Node_Str" + mSleeping + "String_Node_Str"+ lockScreenShownToString());
    pw.println("String_Node_Str" + mShuttingDown + "String_Node_Str"+ mTestPssMode);
    if (mRunningVoice != null) {
      pw.println("String_Node_Str" + mRunningVoice);
      pw.println("String_Node_Str" + mVoiceWakeLock);
    }
  }
  if (mDebugApp != null || mOrigDebugApp != null || mDebugTransient || mOrigWaitForDebugger) {
    if (dumpPackage == null || dumpPackage.equals(mDebugApp) || dumpPackage.equals(mOrigDebugApp)) {
      if (needSep) {
        pw.println();
        needSep=false;
      }
      pw.println("String_Node_Str" + mDebugApp + "String_Node_Str"+ mOrigDebugApp+ "String_Node_Str"+ mDebugTransient+ "String_Node_Str"+ mOrigWaitForDebugger);
    }
  }
  if (mCurAppTimeTracker != null) {
    mCurAppTimeTracker.dumpWithHeader(pw,"String_Node_Str",true);
  }
  if (mMemWatchProcesses.getMap().size() > 0) {
    pw.println("String_Node_Str");
    final ArrayMap<String,SparseArray<Pair<Long,String>>> procs=mMemWatchProcesses.getMap();
    for (int i=0; i < procs.size(); i++) {
      final String proc=procs.keyAt(i);
      final SparseArray<Pair<Long,String>> uids=procs.valueAt(i);
      for (int j=0; j < uids.size(); j++) {
        if (needSep) {
          pw.println();
          needSep=false;
        }
        StringBuilder sb=new StringBuilder();
        sb.append("String_Node_Str").append(proc).append('/');
        UserHandle.formatUid(sb,uids.keyAt(j));
        Pair<Long,String> val=uids.valueAt(j);
        sb.append("String_Node_Str");
        DebugUtils.sizeValueToString(val.first,sb);
        if (val.second != null) {
          sb.append("String_Node_Str").append(val.second);
        }
        pw.println(sb.toString());
      }
    }
    pw.print("String_Node_Str");
    pw.println(mMemWatchDumpProcName);
    pw.print("String_Node_Str");
    pw.println(mMemWatchDumpFile);
    pw.print("String_Node_Str");
    pw.print(mMemWatchDumpPid);
    pw.print("String_Node_Str");
    pw.println(mMemWatchDumpUid);
  }
  if (mTrackAllocationApp != null) {
    if (dumpPackage == null || dumpPackage.equals(mTrackAllocationApp)) {
      if (needSep) {
        pw.println();
        needSep=false;
      }
      pw.println("String_Node_Str" + mTrackAllocationApp);
    }
  }
  if (mProfileApp != null || mProfileProc != null || mProfileFile != null || mProfileFd != null) {
    if (dumpPackage == null || dumpPackage.equals(mProfileApp)) {
      if (needSep) {
        pw.println();
        needSep=false;
      }
      pw.println("String_Node_Str" + mProfileApp + "String_Node_Str"+ mProfileProc);
      pw.println("String_Node_Str" + mProfileFile + "String_Node_Str"+ mProfileFd);
      pw.println("String_Node_Str" + mSamplingInterval + "String_Node_Str"+ mAutoStopProfiler);
      pw.println("String_Node_Str" + mProfileType);
    }
  }
  if (mNativeDebuggingApp != null) {
    if (dumpPackage == null || dumpPackage.equals(mNativeDebuggingApp)) {
      if (needSep) {
        pw.println();
        needSep=false;
      }
      pw.println("String_Node_Str" + mNativeDebuggingApp);
    }
  }
  if (dumpPackage == null) {
    if (mAlwaysFinishActivities || mLenientBackgroundCheck || mController != null) {
      pw.println("String_Node_Str" + mAlwaysFinishActivities + "String_Node_Str"+ mLenientBackgroundCheck+ "String_Node_Str"+ mController);
    }
    if (dumpAll) {
      pw.println("String_Node_Str" + numPers);
      pw.println("String_Node_Str" + mProcessesReady + "String_Node_Str"+ mSystemReady+ "String_Node_Str"+ mBooted+ "String_Node_Str"+ mFactoryTest);
      pw.println("String_Node_Str" + mBooting + "String_Node_Str"+ mCallFinishBooting+ "String_Node_Str"+ mBootAnimationComplete);
      pw.print("String_Node_Str");
      TimeUtils.formatDuration(mLastPowerCheckRealtime,pw);
      pw.println("String_Node_Str");
      pw.print("String_Node_Str");
      TimeUtils.formatDuration(mLastPowerCheckUptime,pw);
      pw.println("String_Node_Str");
      pw.println("String_Node_Str" + mStackSupervisor.mGoingToSleep);
      pw.println("String_Node_Str" + mStackSupervisor.mLaunchingActivity);
      pw.println("String_Node_Str" + mAdjSeq + "String_Node_Str"+ mLruSeq);
      pw.println("String_Node_Str" + mNumNonCachedProcs + "String_Node_Str"+ mLruProcesses.size()+ "String_Node_Str"+ "String_Node_Str"+ mNumCachedHiddenProcs+ "String_Node_Str"+ mNumServiceProcs+ "String_Node_Str"+ mNewNumServiceProcs);
      pw.println("String_Node_Str" + mAllowLowerMemLevel + "String_Node_Str"+ mLastMemoryLevel+ "String_Node_Str"+ mLastNumProcesses);
      long now=SystemClock.uptimeMillis();
      pw.print("String_Node_Str");
      TimeUtils.formatDuration(now,mLastIdleTime,pw);
      pw.print("String_Node_Str");
      TimeUtils.formatDuration(getLowRamTimeSinceIdle(now),pw);
      pw.println();
    }
  }
  if (!printedAnything) {
    pw.println("String_Node_Str");
  }
}

Fixed version (ground truth):
void dumpProcessesLocked(FileDescriptor fd,PrintWriter pw,String[] args,int opti,boolean dumpAll,String dumpPackage){
  boolean needSep=false;
  boolean printedAnything=false;
  int numPers=0;
  pw.println("String_Node_Str");
  if (dumpAll) {
    final int NP=mProcessNames.getMap().size();
    for (int ip=0; ip < NP; ip++) {
      SparseArray<ProcessRecord> procs=mProcessNames.getMap().valueAt(ip);
      final int NA=procs.size();
      for (int ia=0; ia < NA; ia++) {
        ProcessRecord r=procs.valueAt(ia);
        if (dumpPackage != null && !r.pkgList.containsKey(dumpPackage)) {
          continue;
        }
        if (!needSep) {
          pw.println("String_Node_Str");
          needSep=true;
          printedAnything=true;
        }
        pw.print(r.persistent ? "String_Node_Str" : "String_Node_Str");
        pw.print("String_Node_Str");
        pw.print(procs.keyAt(ia));
        pw.print("String_Node_Str");
        pw.println(r);
        r.dump(pw,"String_Node_Str");
        if (r.persistent) {
          numPers++;
        }
      }
    }
  }
  if (mIsolatedProcesses.size() > 0) {
    boolean printed=false;
    for (int i=0; i < mIsolatedProcesses.size(); i++) {
      ProcessRecord r=mIsolatedProcesses.valueAt(i);
      if (dumpPackage != null && !r.pkgList.containsKey(dumpPackage)) {
        continue;
      }
      if (!printed) {
        if (needSep) {
          pw.println();
        }
        pw.println("String_Node_Str");
        printedAnything=true;
        printed=true;
        needSep=true;
      }
      pw.println(String.format("String_Node_Str","String_Node_Str",i,r.toString()));
    }
  }
  if (mActiveUids.size() > 0) {
    if (dumpUids(pw,dumpPackage,mActiveUids,"String_Node_Str",needSep)) {
      printedAnything=needSep=true;
    }
  }
  if (mValidateUids.size() > 0) {
    if (dumpUids(pw,dumpPackage,mValidateUids,"String_Node_Str",needSep)) {
      printedAnything=needSep=true;
    }
  }
  if (mLruProcesses.size() > 0) {
    if (needSep) {
      pw.println();
    }
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size());
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size() - mLruProcessActivityStart);
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size() - mLruProcessServiceStart);
    pw.println("String_Node_Str");
    dumpProcessOomList(pw,this,mLruProcesses,"String_Node_Str","String_Node_Str","String_Node_Str",false,dumpPackage);
    needSep=true;
    printedAnything=true;
  }
  if (dumpAll || dumpPackage != null) {
synchronized (mPidsSelfLocked) {
      boolean printed=false;
      for (int i=0; i < mPidsSelfLocked.size(); i++) {
        ProcessRecord r=mPidsSelfLocked.valueAt(i);
        if (dumpPackage != null && !r.pkgList.containsKey(dumpPackage)) {
          continue;
        }
        if (!printed) {
          if (needSep)           pw.println();
          needSep=true;
          pw.println("String_Node_Str");
          printed=true;
          printedAnything=true;
        }
        pw.print("String_Node_Str");
        pw.print(mPidsSelfLocked.keyAt(i));
        pw.print("String_Node_Str");
        pw.println(mPidsSelfLocked.valueAt(i));
      }
    }
  }
  if (mForegroundProcesses.size() > 0) {
synchronized (mPidsSelfLocked) {
      boolean printed=false;
      for (int i=0; i < mForegroundProcesses.size(); i++) {
        ProcessRecord r=mPidsSelfLocked.get(mForegroundProcesses.valueAt(i).pid);
        if (dumpPackage != null && (r == null || !r.pkgList.containsKey(dumpPackage))) {
          continue;
        }
        if (!printed) {
          if (needSep)           pw.println();
          needSep=true;
          pw.println("String_Node_Str");
          printed=true;
          printedAnything=true;
        }
        pw.print("String_Node_Str");
        pw.print(mForegroundProcesses.keyAt(i));
        pw.print("String_Node_Str");
        pw.println(mForegroundProcesses.valueAt(i));
      }
    }
  }
  if (mPersistentStartingProcesses.size() > 0) {
    if (needSep)     pw.println();
    needSep=true;
    printedAnything=true;
    pw.println("String_Node_Str");
    dumpProcessList(pw,this,mPersistentStartingProcesses,"String_Node_Str","String_Node_Str","String_Node_Str",dumpPackage);
  }
  if (mRemovedProcesses.size() > 0) {
    if (needSep)     pw.println();
    needSep=true;
    printedAnything=true;
    pw.println("String_Node_Str");
    dumpProcessList(pw,this,mRemovedProcesses,"String_Node_Str","String_Node_Str","String_Node_Str",dumpPackage);
  }
  if (mProcessesOnHold.size() > 0) {
    if (needSep)     pw.println();
    needSep=true;
    printedAnything=true;
    pw.println("String_Node_Str");
    dumpProcessList(pw,this,mProcessesOnHold,"String_Node_Str","String_Node_Str","String_Node_Str",dumpPackage);
  }
  needSep=dumpProcessesToGc(fd,pw,args,opti,needSep,dumpAll,dumpPackage);
  needSep=mAppErrors.dumpLocked(fd,pw,needSep,dumpPackage);
  if (needSep) {
    printedAnything=true;
  }
  if (dumpPackage == null) {
    pw.println();
    needSep=false;
    mUserController.dump(pw,dumpAll);
  }
  if (mHomeProcess != null && (dumpPackage == null || mHomeProcess.pkgList.containsKey(dumpPackage))) {
    if (needSep) {
      pw.println();
      needSep=false;
    }
    pw.println("String_Node_Str" + mHomeProcess);
  }
  if (mPreviousProcess != null && (dumpPackage == null || mPreviousProcess.pkgList.containsKey(dumpPackage))) {
    if (needSep) {
      pw.println();
      needSep=false;
    }
    pw.println("String_Node_Str" + mPreviousProcess);
  }
  if (dumpAll) {
    StringBuilder sb=new StringBuilder(128);
    sb.append("String_Node_Str");
    TimeUtils.formatDuration(mPreviousProcessVisibleTime,sb);
    pw.println(sb);
  }
  if (mHeavyWeightProcess != null && (dumpPackage == null || mHeavyWeightProcess.pkgList.containsKey(dumpPackage))) {
    if (needSep) {
      pw.println();
      needSep=false;
    }
    pw.println("String_Node_Str" + mHeavyWeightProcess);
  }
  if (dumpPackage == null) {
    pw.println("String_Node_Str" + mConfiguration);
  }
  if (dumpAll) {
    pw.println("String_Node_Str" + getFocusedStack().mConfigWillChange);
    if (mCompatModePackages.getPackages().size() > 0) {
      boolean printed=false;
      for (      Map.Entry<String,Integer> entry : mCompatModePackages.getPackages().entrySet()) {
        String pkg=entry.getKey();
        int mode=entry.getValue();
        if (dumpPackage != null && !dumpPackage.equals(pkg)) {
          continue;
        }
        if (!printed) {
          pw.println("String_Node_Str");
          printed=true;
        }
        pw.print("String_Node_Str");
        pw.print(pkg);
        pw.print("String_Node_Str");
        pw.print(mode);
        pw.println();
      }
    }
  }
  if (dumpPackage == null) {
    pw.println("String_Node_Str" + PowerManagerInternal.wakefulnessToString(mWakefulness));
    pw.println("String_Node_Str" + mSleepTokens);
    pw.println("String_Node_Str" + mSleeping + "String_Node_Str"+ lockScreenShownToString());
    pw.println("String_Node_Str" + mShuttingDown + "String_Node_Str"+ mTestPssMode);
    if (mRunningVoice != null) {
      pw.println("String_Node_Str" + mRunningVoice);
      pw.println("String_Node_Str" + mVoiceWakeLock);
    }
  }
  if (mDebugApp != null || mOrigDebugApp != null || mDebugTransient || mOrigWaitForDebugger) {
    if (dumpPackage == null || dumpPackage.equals(mDebugApp) || dumpPackage.equals(mOrigDebugApp)) {
      if (needSep) {
        pw.println();
        needSep=false;
      }
      pw.println("String_Node_Str" + mDebugApp + "String_Node_Str"+ mOrigDebugApp+ "String_Node_Str"+ mDebugTransient+ "String_Node_Str"+ mOrigWaitForDebugger);
    }
  }
  if (mCurAppTimeTracker != null) {
    mCurAppTimeTracker.dumpWithHeader(pw,"String_Node_Str",true);
  }
  if (mMemWatchProcesses.getMap().size() > 0) {
    pw.println("String_Node_Str");
    final ArrayMap<String,SparseArray<Pair<Long,String>>> procs=mMemWatchProcesses.getMap();
    for (int i=0; i < procs.size(); i++) {
      final String proc=procs.keyAt(i);
      final SparseArray<Pair<Long,String>> uids=procs.valueAt(i);
      for (int j=0; j < uids.size(); j++) {
        if (needSep) {
          pw.println();
          needSep=false;
        }
        StringBuilder sb=new StringBuilder();
        sb.append("String_Node_Str").append(proc).append('/');
        UserHandle.formatUid(sb,uids.keyAt(j));
        Pair<Long,String> val=uids.valueAt(j);
        sb.append("String_Node_Str");
        DebugUtils.sizeValueToString(val.first,sb);
        if (val.second != null) {
          sb.append("String_Node_Str").append(val.second);
        }
        pw.println(sb.toString());
      }
    }
    pw.print("String_Node_Str");
    pw.println(mMemWatchDumpProcName);
    pw.print("String_Node_Str");
    pw.println(mMemWatchDumpFile);
    pw.print("String_Node_Str");
    pw.print(mMemWatchDumpPid);
    pw.print("String_Node_Str");
    pw.println(mMemWatchDumpUid);
  }
  if (mTrackAllocationApp != null) {
    if (dumpPackage == null || dumpPackage.equals(mTrackAllocationApp)) {
      if (needSep) {
        pw.println();
        needSep=false;
      }
      pw.println("String_Node_Str" + mTrackAllocationApp);
    }
  }
  if (mProfileApp != null || mProfileProc != null || mProfileFile != null || mProfileFd != null) {
    if (dumpPackage == null || dumpPackage.equals(mProfileApp)) {
      if (needSep) {
        pw.println();
        needSep=false;
      }
      pw.println("String_Node_Str" + mProfileApp + "String_Node_Str"+ mProfileProc);
      pw.println("String_Node_Str" + mProfileFile + "String_Node_Str"+ mProfileFd);
      pw.println("String_Node_Str" + mSamplingInterval + "String_Node_Str"+ mAutoStopProfiler);
      pw.println("String_Node_Str" + mProfileType);
    }
  }
  if (mNativeDebuggingApp != null) {
    if (dumpPackage == null || dumpPackage.equals(mNativeDebuggingApp)) {
      if (needSep) {
        pw.println();
        needSep=false;
      }
      pw.println("String_Node_Str" + mNativeDebuggingApp);
    }
  }
  if (dumpPackage == null) {
    if (mAlwaysFinishActivities || mLenientBackgroundCheck) {
      pw.println("String_Node_Str" + mAlwaysFinishActivities + "String_Node_Str"+ mLenientBackgroundCheck);
    }
    if (mController != null) {
      pw.println("String_Node_Str" + mController + "String_Node_Str"+ mControllerIsAMonkey);
    }
    if (dumpAll) {
      pw.println("String_Node_Str" + numPers);
      pw.println("String_Node_Str" + mProcessesReady + "String_Node_Str"+ mSystemReady+ "String_Node_Str"+ mBooted+ "String_Node_Str"+ mFactoryTest);
      pw.println("String_Node_Str" + mBooting + "String_Node_Str"+ mCallFinishBooting+ "String_Node_Str"+ mBootAnimationComplete);
      pw.print("String_Node_Str");
      TimeUtils.formatDuration(mLastPowerCheckRealtime,pw);
      pw.println("String_Node_Str");
      pw.print("String_Node_Str");
      TimeUtils.formatDuration(mLastPowerCheckUptime,pw);
      pw.println("String_Node_Str");
      pw.println("String_Node_Str" + mStackSupervisor.mGoingToSleep);
      pw.println("String_Node_Str" + mStackSupervisor.mLaunchingActivity);
      pw.println("String_Node_Str" + mAdjSeq + "String_Node_Str"+ mLruSeq);
      pw.println("String_Node_Str" + mNumNonCachedProcs + "String_Node_Str"+ mLruProcesses.size()+ "String_Node_Str"+ "String_Node_Str"+ mNumCachedHiddenProcs+ "String_Node_Str"+ mNumServiceProcs+ "String_Node_Str"+ mNewNumServiceProcs);
      pw.println("String_Node_Str" + mAllowLowerMemLevel + "String_Node_Str"+ mLastMemoryLevel+ "String_Node_Str"+ mLastNumProcesses);
      long now=SystemClock.uptimeMillis();
      pw.print("String_Node_Str");
      TimeUtils.formatDuration(now,mLastIdleTime,pw);
      pw.print("String_Node_Str");
      TimeUtils.formatDuration(getLowRamTimeSinceIdle(now),pw);
      pw.println();
    }
  }
  if (!printedAnything) {
    pw.println("String_Node_Str");
  }
}