Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java208 final SparseLongArray updatedUids = new SparseLongArray(); in testUpdateClusterSpeedTimes() local
212 updatedUids.put(testUids[i], cpuTimeUs[i]); in testUpdateClusterSpeedTimes()
216 mBatteryStatsImpl.updateClusterSpeedTimes(updatedUids, true); in testUpdateClusterSpeedTimes()
263 final SparseLongArray updatedUids = new SparseLongArray(); in testReadKernelUidCpuTimesLocked() local
264 mBatteryStatsImpl.readKernelUidCpuTimesLocked(null, updatedUids, true); in testReadKernelUidCpuTimesLocked()
276 uidTimesUs[i][0] + uidTimesUs[i][1], updatedUids.get(testUids[i])); in testReadKernelUidCpuTimesLocked()
277 updatedUids.delete(testUids[i]); in testReadKernelUidCpuTimesLocked()
279 assertEquals("Updated uids: " + updatedUids, 0, updatedUids.size()); in testReadKernelUidCpuTimesLocked()
472 final SparseLongArray updatedUids = new SparseLongArray(); in testReadKernelUidCpuTimesLocked_withPartialTimers() local
473 mBatteryStatsImpl.readKernelUidCpuTimesLocked(partialTimers, updatedUids, true); in testReadKernelUidCpuTimesLocked_withPartialTimers()
[all …]
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java366 IntArray updatedUids = null; in updateServices() local
382 if (updatedUids == null) { in updateServices()
383 updatedUids = new IntArray(); in updateServices()
385 updatedUids.add(service.uid); in updateServices()
388 if (updatedUids != null && updatedUids.size() > 0) { in updateServices()
389 int[] updatedUidsArray = updatedUids.toArray(); in updateServices()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11958 final SparseLongArray updatedUids = mKernelUidCpuFreqTimeReader.perClusterTimesAvailable() in updateCpuTimeLocked() local
11960 readKernelUidCpuTimesLocked(partialTimersToConsider, updatedUids, onBattery); in updateCpuTimeLocked()
11963 if (updatedUids != null) { in updateCpuTimeLocked()
11964 updateClusterSpeedTimes(updatedUids, onBattery); in updateCpuTimeLocked()
12011 public void updateClusterSpeedTimes(@NonNull SparseLongArray updatedUids, boolean onBattery) { in updateClusterSpeedTimes() argument
12027 final int updatedUidsCount = updatedUids.size(); in updateClusterSpeedTimes()
12029 final Uid u = getUidStatsLocked(updatedUids.keyAt(i)); in updateClusterSpeedTimes()
12030 final long appCpuTimeUs = updatedUids.valueAt(i); in updateClusterSpeedTimes()
12070 @Nullable SparseLongArray updatedUids, boolean onBattery) { in readKernelUidCpuTimesLocked() argument
12123 if (updatedUids != null) { in readKernelUidCpuTimesLocked()
[all …]