Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/wakeups/
DWakingActivityHistoryTest.java71 assertThat(history.mWakingActivity.size()).isEqualTo(1); in recordActivityAppendsUids()
72 assertThat(history.mWakingActivity.contains(subsystem)).isTrue(); in recordActivityAppendsUids()
73 assertThat(history.mWakingActivity.contains(subsystem + 1)).isFalse(); in recordActivityAppendsUids()
74 assertThat(history.mWakingActivity.contains(subsystem - 1)).isFalse(); in recordActivityAppendsUids()
76 final LongSparseArray<SparseIntArray> recordedHistory = history.mWakingActivity.get( in recordActivityAppendsUids()
117 assertThat(history.mWakingActivity.size()).isEqualTo(1); in recordActivityDoesNotDeleteExistingUids()
118 assertThat(history.mWakingActivity.contains(subsystem)).isTrue(); in recordActivityDoesNotDeleteExistingUids()
119 assertThat(history.mWakingActivity.contains(subsystem + 1)).isFalse(); in recordActivityDoesNotDeleteExistingUids()
120 assertThat(history.mWakingActivity.contains(subsystem - 1)).isFalse(); in recordActivityDoesNotDeleteExistingUids()
122 final LongSparseArray<SparseIntArray> recordedHistory = history.mWakingActivity.get( in recordActivityDoesNotDeleteExistingUids()
[all …]
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DCpuWakeupStats.java407 final SparseArray<LongSparseArray<SparseIntArray>> mWakingActivity = new SparseArray<>(); field in CpuWakeupStats.WakingActivityHistory
417 LongSparseArray<SparseIntArray> wakingActivity = mWakingActivity.get(subsystem); in recordActivity()
420 mWakingActivity.put(subsystem, wakingActivity); in recordActivity()
449 mWakingActivity.get(subsystem); in removeBetween()
475 for (int i = 0; i < mWakingActivity.size(); i++) { in dump()
476 pw.println("Subsystem " + subsystemToString(mWakingActivity.keyAt(i)) + ":"); in dump()
477 final LongSparseArray<SparseIntArray> wakingActivity = mWakingActivity.valueAt(i); in dump()