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.java739 final UidRecord uidRecord = new UidRecord(TEST_UID); in testEnqueueUidChangeLocked_procStateSeqUpdated() local
740 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ1; in testEnqueueUidChangeLocked_procStateSeqUpdated()
743 verifyLastProcStateSeqUpdated(uidRecord, -1, TEST_PROC_STATE_SEQ1); in testEnqueueUidChangeLocked_procStateSeqUpdated()
748 uidRecord.pendingChange = changeItem; in testEnqueueUidChangeLocked_procStateSeqUpdated()
749 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ2; in testEnqueueUidChangeLocked_procStateSeqUpdated()
750 verifyLastProcStateSeqUpdated(uidRecord, -1, TEST_PROC_STATE_SEQ2); in testEnqueueUidChangeLocked_procStateSeqUpdated()
759 private void verifyLastProcStateSeqUpdated(UidRecord uidRecord, int uid, long curProcstateSeq) { in verifyLastProcStateSeqUpdated() argument
764 uidRecord.lastDispatchedProcStateSeq = 0; in verifyLastProcStateSeqUpdated()
765 mAms.enqueueUidChangeLocked(uidRecord, uid, changeToDispatch); in verifyLastProcStateSeqUpdated()
767 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.java2297 proc.uidRecord = uidRec; in addProcessNameLocked()
2388 if (old != null && old.uidRecord != null) { in removeProcessNameLocked()
2389 old.uidRecord.numProcs--; in removeProcessNameLocked()
2390 if (old.uidRecord.numProcs == 0) { in removeProcessNameLocked()
2393 "No more processes in " + old.uidRecord); in removeProcessNameLocked()
2394 mService.enqueueUidChangeLocked(old.uidRecord, -1, UidRecord.CHANGE_GONE); in removeProcessNameLocked()
2399 old.uidRecord = null; in removeProcessNameLocked()
DProcessRecord.java125 UidRecord uidRecord; // overall state of process's uid. field in ProcessRecord
DOomAdjuster.java502 final UidRecord uidRec = app.uidRecord; in updateOomAdjLocked()
DActivityManagerService.java3316 if (change.uidRecord != null) { in dispatchUidsChanged()
3317 change.uidRecord.pendingChange = null; in dispatchUidsChanged()
3318 change.uidRecord = null; in dispatchUidsChanged()
8303 final UidRecord uidRecord = mProcessList.getUidRecordLocked(uid); in isUidActiveLocked() local
8304 return uidRecord != null && !uidRecord.setIdle; in isUidActiveLocked()
16575 pendingChange.uidRecord = uidRec; in enqueueUidChangeLocked()
DActiveServices.java1350 r.app.uidRecord.getCurProcState() in setServiceForegroundInnerLocked()