Home
last modified time | relevance | path

Searched refs:endUid (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuUidBpfMapReader.java88 public void removeUidsInRange(int startUid, int endUid) { in removeUidsInRange() argument
92 if (endUid < startUid || startUid < 0) { in removeUidsInRange()
102 int lastIndex = mData.indexOfKey(endUid); in removeUidsInRange()
104 mData.put(endUid, null); in removeUidsInRange()
105 lastIndex = mData.indexOfKey(endUid); in removeUidsInRange()
179 private final native boolean removeUidRange(int startUid, int endUid); in removeUidRange() argument
188 public void removeUidsInRange(int startUid, int endUid) { in removeUidsInRange() argument
190 super.removeUidsInRange(startUid, endUid); in removeUidsInRange()
191 removeUidRange(startUid, endUid); in removeUidsInRange()
DKernelCpuUidTimeReader.java156 public void removeUidsInRange(int startUid, int endUid) { in removeUidsInRange() argument
157 if (endUid < startUid) { in removeUidsInRange()
158 Slog.e(mTag, "start UID " + startUid + " > end UID " + endUid); in removeUidsInRange()
162 mLastTimes.put(endUid, null); in removeUidsInRange()
164 int lastIndex = mLastTimes.indexOfKey(endUid); in removeUidsInRange()
168 mBpfReader.removeUidsInRange(startUid, endUid); in removeUidsInRange()
278 public void removeUidsInRange(int startUid, int endUid) { in removeUidsInRange() argument
279 super.removeUidsInRange(startUid, endUid); in removeUidsInRange()
280 removeUidsFromKernelModule(startUid, endUid); in removeUidsInRange()
292 private void removeUidsFromKernelModule(int startUid, int endUid) { in removeUidsFromKernelModule() argument
[all …]
DKernelSingleUidTimeReader.java231 public void removeUidsInRange(int startUid, int endUid) { in removeUidsInRange() argument
232 if (endUid < startUid) { in removeUidsInRange()
237 mLastUidCpuTimeMs.put(endUid, null); in removeUidsInRange()
239 final int endIdx = mLastUidCpuTimeMs.indexOfKey(endUid); in removeUidsInRange()
DBatteryStatsImpl.java280 int endUid; field in BatteryStatsImpl.UidToRemove
289 public UidToRemove(int startUid, int endUid, long timestamp) { in UidToRemove() argument
291 this.endUid = endUid; in UidToRemove()
296 if (startUid == endUid) { in remove()
307 } else if (startUid < endUid) { in remove()
308 mCpuUidFreqTimeReader.removeUidsInRange(startUid, endUid); in remove()
309 mCpuUidUserSysTimeReader.removeUidsInRange(startUid, endUid); in remove()
311 mCpuUidActiveTimeReader.removeUidsInRange(startUid, endUid); in remove()
312 mCpuUidClusterTimeReader.removeUidsInRange(startUid, endUid); in remove()
315 mKernelSingleUidTimeReader.removeUidsInRange(startUid, endUid); in remove()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelSingleUidTimeReaderTest.java251 final int endUid = 24; in testRemoveUidsRange() local
253 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange()
256 mReader.removeUidsInRange(startUid, endUid); in testRemoveUidsRange()
260 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange()
263 mReader.removeUidsInRange(startUid - 1, endUid); in testRemoveUidsRange()
267 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange()
270 mReader.removeUidsInRange(startUid, endUid + 1); in testRemoveUidsRange()
274 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange()
277 mReader.removeUidsInRange(startUid - 1, endUid + 1); in testRemoveUidsRange()
/frameworks/base/core/jni/
Dcom_android_internal_os_KernelCpuUidBpfMapReader.cpp57 jint endUid) { in KernelCpuUidFreqTimeBpfMapReader_removeUidRange() argument
58 for (uint32_t uid = startUid; uid <= endUid; ++uid) { in KernelCpuUidFreqTimeBpfMapReader_removeUidRange()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt88457 Lcom/android/internal/os/BatteryStatsImpl$UidToRemove;->endUid:I