Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelSingleUidTimeReaderTest.java237 final int startUid = 12; in testRemoveUidsRange() local
240 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange()
241 lastUidCpuTimes.put(startUid, new long[] {}); in testRemoveUidsRange()
243 mReader.removeUidsInRange(startUid, endUid); in testRemoveUidsRange()
247 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange()
248 lastUidCpuTimes.put(startUid, new long[] {}); in testRemoveUidsRange()
250 mReader.removeUidsInRange(startUid - 1, endUid); in testRemoveUidsRange()
254 for (int i = startUid; i <= endUid; ++i) { in testRemoveUidsRange()
255 lastUidCpuTimes.put(startUid, new long[] {}); in testRemoveUidsRange()
257 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/java/com/android/internal/os/
DKernelCpuUidTimeReader.java147 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()
152 mLastTimes.put(startUid, null); in removeUidsInRange()
154 final int firstIndex = mLastTimes.indexOfKey(startUid); 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 …]
DKernelSingleUidTimeReader.java215 public void removeUidsInRange(int startUid, int endUid) { in removeUidsInRange() argument
216 if (endUid < startUid) { in removeUidsInRange()
220 mLastUidCpuTimeMs.put(startUid, null); in removeUidsInRange()
222 final int startIdx = mLastUidCpuTimeMs.indexOfKey(startUid); in removeUidsInRange()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java308 int startUid; field in ProcessRecord
310 void setStartParams(int startUid, HostingRecord hostingRecord, String seInfo, in setStartParams() argument
312 this.startUid = startUid; in setStartParams()
DProcessList.java1669 entryPoint, app, app.startUid, gids, runtimeFlags, mountExternal,
2013 UserHandle.getUserId(app.startUid), pid, app.startUid, in handleProcessStartedLocked()
2036 UserHandle.formatUid(buf, app.startUid); in handleProcessStartedLocked()
2048 mService.reportUidInfoMessageLocked(TAG, buf.toString(), app.startUid); in handleProcessStartedLocked()
DActivityManagerService.java4775 if (app != null && (app.startUid != callingUid || app.startSeq != startSeq)) { in attachApplicationLocked()
4788 EventLog.writeEvent(0x534e4554, "131105245", app.startUid, msg); in attachApplicationLocked()
4803 if (pending != null && pending.startUid == callingUid && pending.startSeq == startSeq in attachApplicationLocked()