Searched refs:updatedUids (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsCpuTimesTest.java | 244 final SparseLongArray updatedUids = new SparseLongArray(); in testUpdateClusterSpeedTimes() local 248 updatedUids.put(testUids[i], cpuTimeUs[i]); in testUpdateClusterSpeedTimes() 252 mBatteryStatsImpl.updateClusterSpeedTimes(updatedUids, true, null); in testUpdateClusterSpeedTimes() 300 final SparseLongArray updatedUids = new SparseLongArray(); in testReadKernelUidCpuTimesLocked() local 301 mBatteryStatsImpl.readKernelUidCpuTimesLocked(null, updatedUids, true); in testReadKernelUidCpuTimesLocked() 313 uidTimesUs[i][0] + uidTimesUs[i][1], updatedUids.get(testUids[i])); in testReadKernelUidCpuTimesLocked() 314 updatedUids.delete(testUids[i]); in testReadKernelUidCpuTimesLocked() 316 assertEquals("Updated uids: " + updatedUids, 0, updatedUids.size()); in testReadKernelUidCpuTimesLocked() 512 final SparseLongArray updatedUids = new SparseLongArray(); in testReadKernelUidCpuTimesLocked_withPartialTimers() local 513 mBatteryStatsImpl.readKernelUidCpuTimesLocked(partialTimers, updatedUids, true); in testReadKernelUidCpuTimesLocked_withPartialTimers() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 386 IntArray updatedUids = null; in updateServices() local 402 if (updatedUids == null) { in updateServices() 403 updatedUids = new IntArray(); in updateServices() 405 updatedUids.add(service.uid); in updateServices() 408 if (updatedUids != null && updatedUids.size() > 0) { in updateServices() 409 int[] updatedUidsArray = updatedUids.toArray(); in updateServices()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 14130 final SparseLongArray updatedUids = mCpuUidFreqTimeReader.allUidTimesAvailable() 14156 readKernelUidCpuTimesLocked(partialTimersToConsider, updatedUids, onBattery); 14159 if (updatedUids != null) { 14160 updateClusterSpeedTimes(updatedUids, onBattery, powerAccumulator); 14272 public void updateClusterSpeedTimes(@NonNull SparseLongArray updatedUids, boolean onBattery, 14291 final int updatedUidsCount = updatedUids.size(); 14295 final Uid u = getUidStatsLocked(updatedUids.keyAt(i), elapsedRealtimeMs, uptimeMs); 14296 final long appCpuTimeUs = updatedUids.valueAt(i); 14342 @Nullable SparseLongArray updatedUids, boolean onBattery) { 14396 if (updatedUids != null) { [all …]
|