Searched refs:updatedUids (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsCpuTimesTest.java | 215 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/ |
D | RegisteredServicesCache.java | 373 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()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 11627 final SparseLongArray updatedUids = mCpuUidFreqTimeReader.perClusterTimesAvailable() in updateCpuTimeLocked() local 11629 readKernelUidCpuTimesLocked(partialTimersToConsider, updatedUids, onBattery); in updateCpuTimeLocked() 11632 if (updatedUids != null) { in updateCpuTimeLocked() 11633 updateClusterSpeedTimes(updatedUids, onBattery); in updateCpuTimeLocked() 11680 public void updateClusterSpeedTimes(@NonNull SparseLongArray updatedUids, boolean onBattery) { in updateClusterSpeedTimes() argument 11696 final int updatedUidsCount = updatedUids.size(); in updateClusterSpeedTimes() 11698 final Uid u = getUidStatsLocked(updatedUids.keyAt(i)); in updateClusterSpeedTimes() 11699 final long appCpuTimeUs = updatedUids.valueAt(i); in updateClusterSpeedTimes() 11739 @Nullable SparseLongArray updatedUids, boolean onBattery) { in readKernelUidCpuTimesLocked() argument 11794 if (updatedUids != null) { in readKernelUidCpuTimesLocked() [all …]
|