/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuUidBpfMapReader.java | 88 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()
|
D | KernelCpuUidTimeReader.java | 156 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 …]
|
D | KernelSingleUidTimeReader.java | 231 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()
|
D | BatteryStatsImpl.java | 279 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/ |
D | KernelSingleUidTimeReaderTest.java | 250 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/ |
D | UidRange.java | 35 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/ |
D | com_android_internal_os_KernelCpuUidBpfMapReader.cpp | 56 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/ |
D | ProcessRecord.java | 309 int startUid; field in ProcessRecord 313 void setStartParams(int startUid, HostingRecord hostingRecord, String seInfo, in setStartParams() argument 315 this.startUid = startUid; in setStartParams()
|
D | ProcessList.java | 1782 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()
|
D | ActivityManagerService.java | 4804 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/ |
D | hiddenapi-greylist-max-o.txt | 88459 Lcom/android/internal/os/BatteryStatsImpl$UidToRemove;->startUid:I
|