Searched defs:curProcStateSeq (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DActivityManagerInternalTest.java78 TEST_PROC_STATE_SEQ2, // curProcStateSeq
86 TEST_PROC_STATE_SEQ1, // curProcStateSeq
92 // than it's UidRecord.curProcStateSeq and verify that there is no notify call.
94 TEST_PROC_STATE_SEQ3, // curProcStateSeq
100 private void verifyNetworkUpdatedProcStateSeq(long curProcStateSeq, argument
103 final UidRecord record1 = addActiveUidRecord(TEST_UID1, curProcStateSeq,
105 final UidRecord record2 = addActiveUidRecord(TEST_UID2, curProcStateSeq,
133 private UidRecord addActiveUidRecord(int uid, long curProcStateSeq, argument
137 record.curProcStateSeq = curProcStateSeq;
[all...]
H A DActivityManagerServiceTest.java280 assertEquals(expectedCurProcStateSeq, uidRec.curProcStateSeq);
286 verify(app.thread).setNetworkBlockSeq(uidRec.curProcStateSeq);
629 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ1;
638 uidRecord.curProcStateSeq = TEST_PROC_STATE_SEQ2;
655 // Verify there is no effect on curProcStateSeq.
656 assertEquals(curProcstateSeq, uidRecord.curProcStateSeq);
660 assertNotEquals(uidRecord.curProcStateSeq,
664 // lastProcStateSeqDispatchedToObservers has been updated to curProcStateSeq.
665 assertEquals(uidRecord.curProcStateSeq,
677 uidRecord.curProcStateSeq
743 verifyWaitingForNetworkStateUpdate(long curProcStateSeq, long lastDispatchedProcStateSeq, long lastNetworkUpdatedProcStateSeq, final long procStateSeqToWait, boolean expectWait) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DUidRecord.java54 long curProcStateSeq; field in class:UidRecord
139 * {@link #curProcStateSeq}.
143 lastDispatchedProcStateSeq = curProcStateSeq;
165 proto.write(UidRecordProto.ProcStateSequence.CURURENT, curProcStateSeq);
236 sb.append(curProcStateSeq);

Completed in 9 milliseconds