Home
last modified time | relevance | path

Searched refs:idpw (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java371 public void dump(IndentingPrintWriter idpw, int userId) { in dump() argument
372 idpw.println("Package idle stats:"); in dump()
373 idpw.increaseIndent(); in dump()
383 idpw.print("package=" + packageName); in dump()
384 idpw.print(" lastUsedElapsed="); in dump()
385 TimeUtils.formatDuration(totalElapsedTime - packageHistory.lastUsedElapsedTime, idpw); in dump()
386 idpw.print(" lastUsedScreenOn="); in dump()
387 TimeUtils.formatDuration(screenOnTime - packageHistory.lastUsedScreenTime, idpw); in dump()
388 idpw.print(" idle=" + (isIdle(packageName, userId, elapsedRealtime) ? "y" : "n")); in dump()
389 idpw.println(); in dump()
[all …]
DUsageStatsService.java1160 IndentingPrintWriter idpw = new IndentingPrintWriter(pw, " "); in dump() local
1166 idpw.printPair("user", mUserState.keyAt(i)); in dump()
1167 idpw.println(); in dump()
1168 idpw.increaseIndent(); in dump()
1170 mUserState.valueAt(i).checkin(idpw); in dump()
1172 mUserState.valueAt(i).dump(idpw); in dump()
1173 idpw.println(); in dump()
1177 mAppIdleHistory.dumpHistory(idpw, mUserState.keyAt(i)); in dump()
1186 mAppIdleHistory.dump(idpw, mUserState.keyAt(i)); in dump()
1188 idpw.decreaseIndent(); in dump()