Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBatteryStatsCpuTimesTest.java220 final SparseLongArray updatedUids = new SparseLongArray(); in testUpdateClusterSpeedTimes() local
224 updatedUids.put(testUids[i], cpuTimeUs[i]); in testUpdateClusterSpeedTimes()
228 mBatteryStatsImpl.updateClusterSpeedTimes(updatedUids, true, null); in testUpdateClusterSpeedTimes()
276 final SparseLongArray updatedUids = new SparseLongArray(); in testReadKernelUidCpuTimesLocked() local
290 updatedUids.delete(testUids[i]); in testReadKernelUidCpuTimesLocked()
292 assertEquals("Updated uids: " + updatedUids, 0, updatedUids.size()); in testReadKernelUidCpuTimesLocked()
488 final SparseLongArray updatedUids = new SparseLongArray(); in testReadKernelUidCpuTimesLocked_withPartialTimers() local
505 updatedUids.delete(testUids[i]); in testReadKernelUidCpuTimesLocked_withPartialTimers()
524 updatedUids.get(partialTimerUids[i])); in testReadKernelUidCpuTimesLocked_withPartialTimers()
525 updatedUids.delete(partialTimerUids[i]); in testReadKernelUidCpuTimesLocked_withPartialTimers()
[all …]
/aosp12/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java375 IntArray updatedUids = null; in updateServices() local
391 if (updatedUids == null) { in updateServices()
392 updatedUids = new IntArray(); in updateServices()
394 updatedUids.add(service.uid); in updateServices()
397 if (updatedUids != null && updatedUids.size() > 0) { in updateServices()
398 int[] updatedUidsArray = updatedUids.toArray(); in updateServices()
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/
H A DPermissionMonitor.java814 final Map<Integer, Boolean> updatedUids = new HashMap<>(); in onSettingChanged() local
826 updatedUids.put(appId, permission); in onSettingChanged()
832 update(mUsers, updatedUids, true /* add */); in onSettingChanged()
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java13390 final SparseLongArray updatedUids = mCpuUidFreqTimeReader.perClusterTimesAvailable()
13412 readKernelUidCpuTimesLocked(partialTimersToConsider, updatedUids, onBattery);
13415 if (updatedUids != null) {
13416 updateClusterSpeedTimes(updatedUids, onBattery, powerAccumulator);
13545 final int updatedUidsCount = updatedUids.size();
13550 final long appCpuTimeUs = updatedUids.valueAt(i);
13596 @Nullable SparseLongArray updatedUids, boolean onBattery) {
13650 if (updatedUids != null) {
13651 updatedUids.put(u.getUid(), userTimeUs + systemTimeUs);
13683 if (updatedUids != null) {
[all …]