Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java840 final ChangeRecord pendingChange = new ChangeRecord(); in testDispatchUids_dispatchNeededChanges() local
841 pendingChange.change = changesForPendingUidRecords[i]; in testDispatchUids_dispatchNeededChanges()
842 pendingChange.uid = i; in testDispatchUids_dispatchNeededChanges()
843 pendingChange.procState = procStatesForPendingUidRecords[i]; in testDispatchUids_dispatchNeededChanges()
844 pendingChange.procStateSeq = i; in testDispatchUids_dispatchNeededChanges()
845 pendingChange.capability = capabilitiesForPendingUidRecords[i]; in testDispatchUids_dispatchNeededChanges()
846 changeItems.put(changesForPendingUidRecords[i], pendingChange); in testDispatchUids_dispatchNeededChanges()
847 addPendingUidChange(pendingChange); in testDispatchUids_dispatchNeededChanges()
1214 uidRecord.pendingChange.isPending = false; in testEnqueueUidChangeLocked_dispatchUidsChanged()
1219 final ChangeRecord pendingChange = uidRecord.pendingChange; in testEnqueueUidChangeLocked_dispatchUidsChanged() local
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUidObserverController.java210 static int mergeWithPendingChange(int currentChange, int pendingChange) { in mergeWithPendingChange() argument
213 currentChange |= (pendingChange & (UidRecord.CHANGE_IDLE in mergeWithPendingChange()
218 currentChange |= (pendingChange & (UidRecord.CHANGE_CACHED in mergeWithPendingChange()
227 if ((pendingChange & UidRecord.CHANGE_CAPABILITY) != 0) { in mergeWithPendingChange()
230 if ((pendingChange & UidRecord.CHANGE_PROCSTATE) != 0) { in mergeWithPendingChange()
233 if ((pendingChange & UidRecord.CHANGE_PROCADJ) != 0) { in mergeWithPendingChange()
DUidRecord.java170 final ChangeRecord pendingChange = new ChangeRecord(); field in UidRecord
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUidObserverControllerTest.java143 final int pendingChange = changesToVerify.valueAt(i).second; in testMergeWithPendingChange() local
145 + changeToStr(pendingChange) + "exp=" + changeToStr(expectedChange), in testMergeWithPendingChange()
147 currentChange, pendingChange)); in testMergeWithPendingChange()