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.java109 UidRecord uidRecord; field in UidRecord.ChangeItem
DProcessRecord.java71 UidRecord uidRecord; // overall state of process's uid. field in ProcessRecord
DActivityManagerService.java4902 if (change.uidRecord != null) { in dispatchUidsChanged()
4903 change.uidRecord.pendingChange = null; in dispatchUidsChanged()
4904 change.uidRecord = null; in dispatchUidsChanged()
7402 if (old != null && old.uidRecord != null) { in removeProcessNameLocked()
7403 old.uidRecord.numProcs--; in removeProcessNameLocked()
7404 if (old.uidRecord.numProcs == 0) { in removeProcessNameLocked()
7407 "No more processes in " + old.uidRecord); in removeProcessNameLocked()
7408 enqueueUidChangeLocked(old.uidRecord, -1, UidRecord.CHANGE_GONE); in removeProcessNameLocked()
7413 old.uidRecord = null; in removeProcessNameLocked()
7444 proc.uidRecord = uidRec; in addProcessNameLocked()
[all …]
DActiveServices.java1257 r.app.uidRecord.curProcState in setServiceForegroundInnerLocked()