Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java628 final UidRecord uidRecord = new UidRecord(TEST_UID); in testEnqueueUidChangeLocked_procStateSeqUpdated() local
629 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ1; in testEnqueueUidChangeLocked_procStateSeqUpdated()
632 verifyLastProcStateSeqUpdated(uidRecord, -1, TEST_PROC_STATE_SEQ1); in testEnqueueUidChangeLocked_procStateSeqUpdated()
637 uidRecord.pendingChange = changeItem; in testEnqueueUidChangeLocked_procStateSeqUpdated()
638 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ2; in testEnqueueUidChangeLocked_procStateSeqUpdated()
639 verifyLastProcStateSeqUpdated(uidRecord, -1, TEST_PROC_STATE_SEQ2); in testEnqueueUidChangeLocked_procStateSeqUpdated()
648 private void verifyLastProcStateSeqUpdated(UidRecord uidRecord, int uid, long curProcstateSeq) { in verifyLastProcStateSeqUpdated() argument
653 uidRecord.lastDispatchedProcStateSeq = 0; in verifyLastProcStateSeqUpdated()
654 mAms.enqueueUidChangeLocked(uidRecord, uid, changeToDispatch); in verifyLastProcStateSeqUpdated()
656 assertEquals(curProcstateSeq, uidRecord.curProcStateSeq); in verifyLastProcStateSeqUpdated()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java90 UidRecord uidRecord; field in UidRecord.ChangeItem
DProcessRecord.java66 UidRecord uidRecord; // overall state of process's uid. field in ProcessRecord
DActivityManagerService.java4366 if (change.uidRecord != null) { in dispatchUidsChanged()
4367 change.uidRecord.pendingChange = null; in dispatchUidsChanged()
4368 change.uidRecord = null; in dispatchUidsChanged()
6764 if (old != null && old.uidRecord != null) { in removeProcessNameLocked()
6765 old.uidRecord.numProcs--; in removeProcessNameLocked()
6766 if (old.uidRecord.numProcs == 0) { in removeProcessNameLocked()
6769 "No more processes in " + old.uidRecord); in removeProcessNameLocked()
6770 enqueueUidChangeLocked(old.uidRecord, -1, UidRecord.CHANGE_GONE); in removeProcessNameLocked()
6775 old.uidRecord = null; in removeProcessNameLocked()
6806 proc.uidRecord = uidRec; in addProcessNameLocked()
[all …]
DActiveServices.java1093 r.app.uidRecord.curProcState in setServiceForegroundInnerLocked()