Searched refs:testUids (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsCpuTimesTest.java | 245 final int[] testUids = {10012, 10014, 10016}; in testUpdateClusterSpeedTimes() local 247 for (int i = 0; i < testUids.length; ++i) { in testUpdateClusterSpeedTimes() 248 updatedUids.put(testUids[i], cpuTimeUs[i]); in testUpdateClusterSpeedTimes() 261 for (int i = 0; i < testUids.length; ++i) { in testUpdateClusterSpeedTimes() 262 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testUpdateClusterSpeedTimes() 263 assertNotNull("No entry for uid=" + testUids[i], u); in testUpdateClusterSpeedTimes() 266 assertEquals("Uid=" + testUids[i] + ", cluster=" + cluster + ", speed=" + speed, in testUpdateClusterSpeedTimes() 281 final int[] testUids = getUids(testUserId, new int[]{ in testReadKernelUidCpuTimesLocked() local 292 for (int i = 0; i < testUids.length; ++i) { in testReadKernelUidCpuTimesLocked() 293 callback.onUidCpuTime(testUids[i], uidTimesUs[i]); in testReadKernelUidCpuTimesLocked() [all …]
|
D | BatteryStatsImplTest.java | 164 final int[] testUids = {10032, 10048, 10145, 10139}; in testUpdateProcStateCpuTimes() local 181 for (int i = 0; i < testUids.length; ++i) { in testUpdateProcStateCpuTimes() 182 mockKernelSingleUidTimeReader(testUids[i], new long[5]); in testUpdateProcStateCpuTimes() 183 mBatteryStatsImpl.noteUidProcessStateLocked(testUids[i], activityManagerProcStates[i]); in testUpdateProcStateCpuTimes() 189 for (int i = 0; i < testUids.length; ++i) { in testUpdateProcStateCpuTimes() 190 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStatsLocked(testUids[i]); in testUpdateProcStateCpuTimes() 208 for (int i = 0; i < testUids.length; ++i) { in testUpdateProcStateCpuTimes() 209 mockKernelSingleUidTimeReader(testUids[i], cpuTimes[i]); in testUpdateProcStateCpuTimes() 210 mBatteryStatsImpl.updateProcStateCpuTimesLocked(testUids[i], in testUpdateProcStateCpuTimes() 214 for (int i = 0; i < testUids.length; ++i) { in testUpdateProcStateCpuTimes() [all …]
|