Home
last modified time | relevance | path

Searched refs:CHANGE_ACTIVE (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUidObserverControllerTest.java85 UidRecord.CHANGE_ACTIVE, PROCESS_STATE_FOREGROUND_SERVICE, in testEnqueueUidChange()
88 UidRecord.CHANGE_ACTIVE, change); in testEnqueueUidChange()
89 assertPendingChange(TEST_UID1, UidRecord.CHANGE_ACTIVE, PROCESS_STATE_FOREGROUND_SERVICE, in testEnqueueUidChange()
100 assertPendingChange(TEST_UID1, UidRecord.CHANGE_ACTIVE, PROCESS_STATE_FOREGROUND_SERVICE, in testEnqueueUidChange()
109 UidRecord.CHANGE_ACTIVE | UidRecord.CHANGE_UNCACHED, change); in testEnqueueUidChange()
110 assertPendingChange(TEST_UID1, UidRecord.CHANGE_ACTIVE | UidRecord.CHANGE_UNCACHED, in testEnqueueUidChange()
121 changesToVerify.put(UidRecord.CHANGE_ACTIVE, in testMergeWithPendingChange()
122 Pair.create(UidRecord.CHANGE_ACTIVE, UidRecord.CHANGE_IDLE)); in testMergeWithPendingChange()
124 Pair.create(UidRecord.CHANGE_IDLE, UidRecord.CHANGE_ACTIVE)); in testMergeWithPendingChange()
129 changesToVerify.put(UidRecord.CHANGE_ACTIVE | UidRecord.CHANGE_UNCACHED, in testMergeWithPendingChange()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java142 static final int CHANGE_ACTIVE = 1 << 2; field in UidRecord
153 CHANGE_ACTIVE,
162 UidRecordProto.CHANGE_ACTIVE,
513 if ((mLastReportedChange & CHANGE_ACTIVE) != 0) { in toString()
DUidObserverController.java212 if ((currentChange & (UidRecord.CHANGE_IDLE | UidRecord.CHANGE_ACTIVE)) == 0) { in mergeWithPendingChange()
214 | UidRecord.CHANGE_ACTIVE)); in mergeWithPendingChange()
225 currentChange &= ~(UidRecord.CHANGE_ACTIVE | UidRecord.CHANGE_CACHED); in mergeWithPendingChange()
298 } else if ((item.change & UidRecord.CHANGE_ACTIVE) != 0) { in dispatchUidsChanged()
356 } else if ((change & UidRecord.CHANGE_ACTIVE) != 0) { in dispatchUidsChangedForObserver()
DOomAdjuster.java1552 uidChange |= UidRecord.CHANGE_ACTIVE; in updateUidsLSP()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java209 UidRecord.CHANGE_ACTIVE,
871 final int[] changesToVerify = { UidRecord.CHANGE_ACTIVE }; in testDispatchUids_dispatchNeededChanges()
900 changesToVerify.add(UidRecord.CHANGE_ACTIVE); in testDispatchUids_dispatchNeededChanges()
1168 } else if (item.change == UidRecord.CHANGE_ACTIVE) { in testDispatchUidChanges_validateUidsUpdated()
1196 mAms.enqueueUidChangeLocked(null, TEST_UID, UidRecord.CHANGE_ACTIVE); in testEnqueueUidChangeLocked_nullUidRecord()
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto803 CHANGE_ACTIVE = 2; enumerator
/frameworks/base/core/api/
Dsystem-current.txt9681 … @Deprecated public static final String ACTION_CHANGE_ACTIVE = "android.net.scoring.CHANGE_ACTIVE";