Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java750 final UidRecord uidRecord = new UidRecord(TEST_UID); in testEnqueueUidChangeLocked_procStateSeqUpdated() local
751 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ1; in testEnqueueUidChangeLocked_procStateSeqUpdated()
754 verifyLastProcStateSeqUpdated(uidRecord, -1, TEST_PROC_STATE_SEQ1); in testEnqueueUidChangeLocked_procStateSeqUpdated()
759 uidRecord.pendingChange = changeItem; in testEnqueueUidChangeLocked_procStateSeqUpdated()
760 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ2; in testEnqueueUidChangeLocked_procStateSeqUpdated()
761 verifyLastProcStateSeqUpdated(uidRecord, -1, TEST_PROC_STATE_SEQ2); in testEnqueueUidChangeLocked_procStateSeqUpdated()
770 private void verifyLastProcStateSeqUpdated(UidRecord uidRecord, int uid, long curProcstateSeq) { in verifyLastProcStateSeqUpdated() argument
775 uidRecord.lastDispatchedProcStateSeq = 0; in verifyLastProcStateSeqUpdated()
776 mAms.enqueueUidChangeLocked(uidRecord, uid, changeToDispatch); in verifyLastProcStateSeqUpdated()
778 assertEquals(curProcstateSeq, uidRecord.curProcStateSeq); in verifyLastProcStateSeqUpdated()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java107 UidRecord uidRecord; field in UidRecord.ChangeItem
DProcessList.java2425 proc.uidRecord = uidRec; in addProcessNameLocked()
2516 if (old != null && old.uidRecord != null) { in removeProcessNameLocked()
2517 old.uidRecord.numProcs--; in removeProcessNameLocked()
2518 if (old.uidRecord.numProcs == 0) { in removeProcessNameLocked()
2521 "No more processes in " + old.uidRecord); in removeProcessNameLocked()
2522 mService.enqueueUidChangeLocked(old.uidRecord, -1, UidRecord.CHANGE_GONE); in removeProcessNameLocked()
2527 old.uidRecord = null; in removeProcessNameLocked()
DProcessRecord.java126 UidRecord uidRecord; // overall state of process's uid. field in ProcessRecord
DOomAdjuster.java506 final UidRecord uidRec = app.uidRecord; in updateOomAdjLocked()
DActivityManagerService.java3344 if (change.uidRecord != null) { in dispatchUidsChanged()
3345 change.uidRecord.pendingChange = null; in dispatchUidsChanged()
3346 change.uidRecord = null; in dispatchUidsChanged()
8368 final UidRecord uidRecord = mProcessList.getUidRecordLocked(uid); in isUidActiveLocked() local
8369 return uidRecord != null && !uidRecord.setIdle; in isUidActiveLocked()
16692 pendingChange.uidRecord = uidRec; in enqueueUidChangeLocked()
DActiveServices.java1383 r.app.uidRecord.getCurProcState() in setServiceForegroundInnerLocked()