Home
last modified time | relevance | path

Searched refs:startUid (Results 1 – 11 of 11) 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()
97 int firstIndex = mData.indexOfKey(startUid); in removeUidsInRange()
99 mData.put(startUid, null); in removeUidsInRange()
100 firstIndex = mData.indexOfKey(startUid); 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()
161 mLastTimes.put(startUid, null); in removeUidsInRange()
163 int firstIndex = mLastTimes.indexOfKey(startUid); 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()
236 mLastUidCpuTimeMs.put(startUid, null); in removeUidsInRange()
238 final int startIdx = mLastUidCpuTimeMs.indexOfKey(startUid); in removeUidsInRange()
DBatteryStatsImpl.java279 int startUid; field in BatteryStatsImpl.UidToRemove
289 public UidToRemove(int startUid, int endUid, long timestamp) { in UidToRemove() argument
290 this.startUid = startUid; in UidToRemove()
296 if (startUid == endUid) { in remove()
297 mCpuUidUserSysTimeReader.removeUid(startUid); in remove()
298 mCpuUidFreqTimeReader.removeUid(startUid); in remove()
300 mCpuUidActiveTimeReader.removeUid(startUid); in remove()
301 mCpuUidClusterTimeReader.removeUid(startUid); in remove()
304 mKernelSingleUidTimeReader.removeUid(startUid); in remove()
307 } else if (startUid < endUid) { in remove()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelSingleUidTimeReaderTest.java250 final int startUid = 12; in testRemoveUidsRange() local
253 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange()
254 lastUidCpuTimes.put(startUid, new long[] {}); in testRemoveUidsRange()
256 mReader.removeUidsInRange(startUid, endUid); in testRemoveUidsRange()
260 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange()
261 lastUidCpuTimes.put(startUid, new long[] {}); in testRemoveUidsRange()
263 mReader.removeUidsInRange(startUid - 1, endUid); in testRemoveUidsRange()
267 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange()
268 lastUidCpuTimes.put(startUid, new long[] {}); in testRemoveUidsRange()
270 mReader.removeUidsInRange(startUid, endUid + 1); in testRemoveUidsRange()
[all …]
/frameworks/base/core/java/android/net/
DUidRange.java35 public UidRange(int startUid, int stopUid) { in UidRange() argument
36 if (startUid < 0) throw new IllegalArgumentException("Invalid start UID."); in UidRange()
38 if (startUid > stopUid) throw new IllegalArgumentException("Invalid UID range."); in UidRange()
39 start = startUid; in UidRange()
/frameworks/base/core/jni/
Dcom_android_internal_os_KernelCpuUidBpfMapReader.cpp56 static jboolean KernelCpuUidFreqTimeBpfMapReader_removeUidRange(JNIEnv *env, jclass, jint startUid, in KernelCpuUidFreqTimeBpfMapReader_removeUidRange() argument
58 for (uint32_t uid = startUid; uid <= endUid; ++uid) { in KernelCpuUidFreqTimeBpfMapReader_removeUidRange()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java309 int startUid; field in ProcessRecord
313 void setStartParams(int startUid, HostingRecord hostingRecord, String seInfo, in setStartParams() argument
315 this.startUid = startUid; in setStartParams()
DProcessList.java1782 entryPoint, app, app.startUid, gids, runtimeFlags, zygotePolicyFlags,
2140 UserHandle.getUserId(app.startUid), pid, app.startUid, in handleProcessStartedLocked()
2163 UserHandle.formatUid(buf, app.startUid); in handleProcessStartedLocked()
2175 mService.reportUidInfoMessageLocked(TAG, buf.toString(), app.startUid); in handleProcessStartedLocked()
DActivityManagerService.java4804 if (app != null && (app.startUid != callingUid || app.startSeq != startSeq)) { in attachApplicationLocked()
4817 EventLog.writeEvent(0x534e4554, "131105245", app.startUid, msg); in attachApplicationLocked()
4832 if (pending != null && pending.startUid == callingUid && pending.startSeq == startSeq in attachApplicationLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt88459 Lcom/android/internal/os/BatteryStatsImpl$UidToRemove;->startUid:I