Searched refs:syncStats (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 810 private void syncStats(String reason, int flags) { in syncStats() method in BatteryStatsService 846 syncStats("shutdown", BatteryExternalStatsWorker.UPDATE_ALL); in shutdown() 1043 syncStats("get-stats", BatteryExternalStatsWorker.UPDATE_ALL); in getBatteryUsageStats() 2859 syncStats("dump", BatteryExternalStatsWorker.UPDATE_ALL); in dumpMeasuredEnergyStats() 2874 syncStats("dump", BatteryExternalStatsWorker.UPDATE_ALL); in dumpUsageStats() 3021 syncStats("dump", BatteryExternalStatsWorker.UPDATE_ALL); in dumpUnmonitored() 3145 syncStats("dump", BatteryExternalStatsWorker.UPDATE_ALL); in dumpUnmonitored() 3351 syncStats("get-health-stats-for-uids", BatteryExternalStatsWorker.UPDATE_ALL); in takeUidSnapshot() 3379 syncStats("get-health-stats-for-uids", BatteryExternalStatsWorker.UPDATE_ALL); in takeUidSnapshots()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 9784 final ArrayMap<String, DualTimer> syncStats = mSyncStats.getMap(); in reset() local 9785 for (int is=syncStats.size()-1; is>=0; is--) { in reset() 9786 DualTimer timer = syncStats.valueAt(is); in reset() 9788 syncStats.removeAt(is); in reset() 9924 final ArrayMap<String, DualTimer> syncStats = mSyncStats.getMap(); in detachFromTimeBase() local 9925 for (int is = syncStats.size() - 1; is >= 0; is--) { in detachFromTimeBase() 9926 DualTimer timer = syncStats.valueAt(is); in detachFromTimeBase() 17381 final ArrayMap<String, DualTimer> syncStats = u.mSyncStats.getMap(); 17382 int NS = syncStats.size(); 17385 out.writeString(syncStats.keyAt(is)); [all …]
|