Searched refs:endUid (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelSingleUidTimeReaderTest.java | 238 final int endUid = 24; in testRemoveUidsRange() local 240 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange() 243 mReader.removeUidsInRange(startUid, endUid); in testRemoveUidsRange() 247 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange() 250 mReader.removeUidsInRange(startUid - 1, endUid); in testRemoveUidsRange() 254 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange() 257 mReader.removeUidsInRange(startUid, endUid + 1); in testRemoveUidsRange() 261 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange() 264 mReader.removeUidsInRange(startUid - 1, endUid + 1); in testRemoveUidsRange()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuUidTimeReader.java | 147 public void removeUidsInRange(int startUid, int endUid) { in removeUidsInRange() argument 148 if (endUid < startUid) { in removeUidsInRange() 149 Slog.e(mTag, "start UID " + startUid + " > end UID " + endUid); in removeUidsInRange() 153 mLastTimes.put(endUid, null); in removeUidsInRange() 155 final int lastIndex = mLastTimes.indexOfKey(endUid); in removeUidsInRange() 265 public void removeUidsInRange(int startUid, int endUid) { in removeUidsInRange() argument 266 super.removeUidsInRange(startUid, endUid); in removeUidsInRange() 267 removeUidsFromKernelModule(startUid, endUid); in removeUidsInRange() 279 private void removeUidsFromKernelModule(int startUid, int endUid) { in removeUidsFromKernelModule() argument 280 Slog.d(mTag, "Removing uids " + startUid + "-" + endUid); in removeUidsFromKernelModule() [all …]
|
D | KernelSingleUidTimeReader.java | 215 public void removeUidsInRange(int startUid, int endUid) { in removeUidsInRange() argument 216 if (endUid < startUid) { in removeUidsInRange() 221 mLastUidCpuTimeMs.put(endUid, null); in removeUidsInRange() 223 final int endIdx = mLastUidCpuTimeMs.indexOfKey(endUid); in removeUidsInRange()
|
D | BatteryStatsImpl.java | 278 int endUid; field in BatteryStatsImpl.UidToRemove 287 public UidToRemove(int startUid, int endUid, long timestamp) { in UidToRemove() argument 289 this.endUid = endUid; in UidToRemove() 294 if (startUid == endUid) { in remove() 305 } else if (startUid < endUid) { in remove() 306 mCpuUidFreqTimeReader.removeUidsInRange(startUid, endUid); in remove() 307 mCpuUidUserSysTimeReader.removeUidsInRange(startUid, endUid); in remove() 309 mCpuUidActiveTimeReader.removeUidsInRange(startUid, endUid); in remove() 310 mCpuUidClusterTimeReader.removeUidsInRange(startUid, endUid); in remove() 313 mKernelSingleUidTimeReader.removeUidsInRange(startUid, endUid); in remove() [all …]
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 94822 Lcom/android/internal/os/BatteryStatsImpl$UidToRemove;->endUid:I
|