Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java215 final SparseLongArray updatedUids = new SparseLongArray(); in testUpdateClusterSpeedTimes() local
219 updatedUids.put(testUids[i], cpuTimeUs[i]); in testUpdateClusterSpeedTimes()
223 mBatteryStatsImpl.updateClusterSpeedTimes(updatedUids, true); in testUpdateClusterSpeedTimes()
271 final SparseLongArray updatedUids = new SparseLongArray(); in testReadKernelUidCpuTimesLocked() local
272 mBatteryStatsImpl.readKernelUidCpuTimesLocked(null, updatedUids, true); in testReadKernelUidCpuTimesLocked()
284 uidTimesUs[i][0] + uidTimesUs[i][1], updatedUids.get(testUids[i])); in testReadKernelUidCpuTimesLocked()
285 updatedUids.delete(testUids[i]); in testReadKernelUidCpuTimesLocked()
287 assertEquals("Updated uids: " + updatedUids, 0, updatedUids.size()); in testReadKernelUidCpuTimesLocked()
485 final SparseLongArray updatedUids = new SparseLongArray(); in testReadKernelUidCpuTimesLocked_withPartialTimers() local
486 mBatteryStatsImpl.readKernelUidCpuTimesLocked(partialTimers, updatedUids, true); in testReadKernelUidCpuTimesLocked_withPartialTimers()
[all …]
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java373 IntArray updatedUids = null; in updateServices() local
389 if (updatedUids == null) { in updateServices()
390 updatedUids = new IntArray(); in updateServices()
392 updatedUids.add(service.uid); in updateServices()
395 if (updatedUids != null && updatedUids.size() > 0) { in updateServices()
396 int[] updatedUidsArray = updatedUids.toArray(); in updateServices()