Searched refs:uidRec (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 150 final UidRecord uidRec = addUidRecord(TEST_UID); in incrementProcStateSeqAndNotifyAppsLocked() local 154 verifySeqCounterAndInteractions(uidRec, in incrementProcStateSeqAndNotifyAppsLocked() 163 verifySeqCounterAndInteractions(uidRec, in incrementProcStateSeqAndNotifyAppsLocked() 176 verifySeqCounterAndInteractions(uidRec, in incrementProcStateSeqAndNotifyAppsLocked() 185 verifySeqCounterAndInteractions(uidRec, in incrementProcStateSeqAndNotifyAppsLocked() 194 uidRec.waitingForNetwork = false; in incrementProcStateSeqAndNotifyAppsLocked() 196 verifySeqCounterAndInteractions(uidRec, in incrementProcStateSeqAndNotifyAppsLocked() 205 uidRec.waitingForNetwork = true; in incrementProcStateSeqAndNotifyAppsLocked() 207 verifySeqCounterAndInteractions(uidRec, in incrementProcStateSeqAndNotifyAppsLocked() 218 verifySeqCounterAndInteractions(uidRec, in incrementProcStateSeqAndNotifyAppsLocked() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 118 private boolean canActivateLowLatencyLock(int ignoreMask, UidRec uidRec) { in canActivateLowLatencyLock() argument 127 if (uidRec != null) { in canActivateLowLatencyLock() 128 check = check && uidRec.mIsFg; in canActivateLowLatencyLock() 148 UidRec uidRec = mLowLatencyUidWatchList.get(uid); in registerUidImportanceTransitions() 149 if (uidRec == null) { in registerUidImportanceTransitions() 156 if (uidRec.mIsFg == newModeIsFg) { in registerUidImportanceTransitions() 160 uidRec.mIsFg = newModeIsFg; in registerUidImportanceTransitions() 167 setBlameLowLatencyUid(uid, uidRec.mIsFg); in registerUidImportanceTransitions() 398 UidRec uidRec = mLowLatencyUidWatchList.get(uid); in addUidToLlWatchList() local 399 if (uidRec != null) { in addUidToLlWatchList() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 257 final UidRecord uidRec = mActiveUids.valueAt(i); in updateOomAdjLocked() local 259 "Starting update of " + uidRec); in updateOomAdjLocked() 260 uidRec.reset(); in updateOomAdjLocked() 502 final UidRecord uidRec = app.uidRecord; in updateOomAdjLocked() local 503 if (uidRec != null) { in updateOomAdjLocked() 504 uidRec.ephemeral = app.info.isInstantApp(); in updateOomAdjLocked() 505 if (uidRec.getCurProcState() > app.getCurProcState()) { in updateOomAdjLocked() 506 uidRec.setCurProcState(app.getCurProcState()); in updateOomAdjLocked() 509 uidRec.foregroundServices = true; in updateOomAdjLocked() 545 final UidRecord uidRec = mActiveUids.valueAt(i); in updateOomAdjLocked() local [all …]
|
D | ProcessList.java | 2281 UidRecord uidRec = mActiveUids.get(proc.uid); in addProcessNameLocked() local 2282 if (uidRec == null) { in addProcessNameLocked() 2283 uidRec = new UidRecord(proc.uid); in addProcessNameLocked() 2286 "Creating new process uid: " + uidRec); in addProcessNameLocked() 2290 uidRec.setWhitelist = uidRec.curWhitelist = true; in addProcessNameLocked() 2292 uidRec.updateHasInternetPermission(); in addProcessNameLocked() 2293 mActiveUids.put(proc.uid, uidRec); in addProcessNameLocked() 2294 EventLogTags.writeAmUidRunning(uidRec.uid); in addProcessNameLocked() 2295 mService.noteUidProcessState(uidRec.uid, uidRec.getCurProcState()); in addProcessNameLocked() 2297 proc.uidRecord = uidRec; in addProcessNameLocked() [all …]
|
D | ActivityManagerService.java | 5697 UidRecord uidRec = mProcessList.mActiveUids.get(uid); in isAppForeground() local 5698 if (uidRec == null || uidRec.idle) { in isAppForeground() 5701 return uidRec.getCurProcState() <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND; in isAppForeground() 6010 UidRecord uidRec = mProcessList.getUidRecordLocked(uid); in getAppStartModeLocked() local 6012 + packageName + " rec=" + uidRec + " always=" + alwaysRestrict + " idle=" in getAppStartModeLocked() 6013 + (uidRec != null ? uidRec.idle : false)); in getAppStartModeLocked() 6014 if (uidRec == null || alwaysRestrict || forcedStandby || uidRec.idle) { in getAppStartModeLocked() 6016 if (uidRec == null) { in getAppStartModeLocked() 6020 ephemeral = uidRec.ephemeral; in getAppStartModeLocked() 10355 UidRecord uidRec = uids.valueAt(i); in dumpUids() local [all …]
|
D | ActiveServices.java | 519 UidRecord uidRec = mAm.mProcessList.getUidRecordLocked(r.appInfo.uid); in startServiceLocked() local 520 return new ComponentName("?", "app is in background uid " + uidRec); in startServiceLocked() 1197 void foregroundServiceProcStateChangedLocked(UidRecord uidRec) { in foregroundServiceProcStateChangedLocked() argument 1198 ServiceMap smap = mServiceMap.get(UserHandle.getUserId(uidRec.uid)); in foregroundServiceProcStateChangedLocked() 1203 if (active.mUid == uidRec.uid) { in foregroundServiceProcStateChangedLocked() 1204 if (uidRec.getCurProcState() <= ActivityManager.PROCESS_STATE_TOP) { in foregroundServiceProcStateChangedLocked()
|