Home
last modified time | relevance | path

Searched refs:curProcStateSeq (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerInternalTest.java90 private void verifyNetworkUpdatedProcStateSeq(long curProcStateSeq, in verifyNetworkUpdatedProcStateSeq() argument
93 final UidRecord record1 = addActiveUidRecord(TEST_UID1, curProcStateSeq, in verifyNetworkUpdatedProcStateSeq()
95 final UidRecord record2 = addActiveUidRecord(TEST_UID2, curProcStateSeq, in verifyNetworkUpdatedProcStateSeq()
123 private UidRecord addActiveUidRecord(int uid, long curProcStateSeq, in addActiveUidRecord() argument
127 record.curProcStateSeq = curProcStateSeq; in addActiveUidRecord()
DActivityManagerServiceTest.java278 assertEquals(expectedCurProcStateSeq, uidRec.curProcStateSeq); in verifySeqCounterAndInteractions()
284 verify(app.thread).setNetworkBlockSeq(uidRec.curProcStateSeq); in verifySeqCounterAndInteractions()
751 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ1; in testEnqueueUidChangeLocked_procStateSeqUpdated()
760 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ2; in testEnqueueUidChangeLocked_procStateSeqUpdated()
778 assertEquals(curProcstateSeq, uidRecord.curProcStateSeq); in verifyLastProcStateSeqUpdated()
782 assertNotEquals(uidRecord.curProcStateSeq, in verifyLastProcStateSeqUpdated()
787 assertEquals(uidRecord.curProcStateSeq, in verifyLastProcStateSeqUpdated()
799 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ1; in testEnqueueUidChangeLocked_dispatchUidsChanged()
865 private void verifyWaitingForNetworkStateUpdate(long curProcStateSeq, in verifyWaitingForNetworkStateUpdate() argument
869 record.curProcStateSeq = curProcStateSeq; in verifyWaitingForNetworkStateUpdate()
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java52 long curProcStateSeq; field in UidRecord
149 lastDispatchedProcStateSeq = curProcStateSeq; in updateLastDispatchedProcStateSeq()
171 proto.write(UidRecordProto.ProcStateSequence.CURURENT, curProcStateSeq); in writeToProto()
242 sb.append(curProcStateSeq); in toString()
DActivityManagerService.java16722 pendingChange.procStateSeq = uidRec != null ? uidRec.curProcStateSeq : 0; in enqueueUidChangeLocked()
17166 uidRec.curProcStateSeq = ++mProcessList.mProcStateSeqCounter; // TODO: use method in incrementProcStateSeqAndNotifyAppsLocked()
17202 app.thread.setNetworkBlockSeq(uidRec.curProcStateSeq); in incrementProcStateSeqAndNotifyAppsLocked()
18041 if (record.curProcStateSeq > procStateSeq) { in notifyNetworkPolicyRulesUpdated()
18044 + ", curProcstateSeq: " + record.curProcStateSeq in notifyNetworkPolicyRulesUpdated()
18721 if (record.curProcStateSeq > procStateSeq) { in waitForNetworkStateUpdate()
18724 + callingUid + ", curProcStateSeq: " + record.curProcStateSeq in waitForNetworkStateUpdate()