Home
last modified time | relevance | path

Searched refs:ChangeRecord (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUidObserverControllerTest.java54 import com.android.server.am.UidObserverController.ChangeRecord;
91 final ChangeRecord record1 = getLatestPendingChange(TEST_UID1); in testEnqueueUidChange()
94 final ChangeRecord record2 = new ChangeRecord(); in testEnqueueUidChange()
233 final ChangeRecord record = new ChangeRecord(); in addPendingChange()
244 int capability, boolean ephemeral, ChangeRecord expectedRecord) { in assertPendingChange()
245 final ChangeRecord record = getLatestPendingChange(uid); in assertPendingChange()
257 private ChangeRecord getLatestPendingChange(int uid) { in getLatestPendingChange()
258 final ArrayList<ChangeRecord> changeRecords = mUidObserverController in getLatestPendingChange()
261 final ChangeRecord record = changeRecords.get(i); in getLatestPendingChange()
/frameworks/base/services/core/java/com/android/server/am/
DUidObserverController.java64 private final ArrayList<ChangeRecord> mPendingUidChanges = new ArrayList<>();
66 private final ArrayList<ChangeRecord> mAvailUidChanges = new ArrayList<>();
68 private ChangeRecord[] mActiveUidChanges = new ChangeRecord[5];
166 int enqueueUidChange(@Nullable ChangeRecord currentRecord, int uid, int change, int procState, in enqueueUidChange()
176 final ChangeRecord changeRecord = currentRecord != null in enqueueUidChange()
197 ArrayList<ChangeRecord> getPendingUidChangesForTest() { in getPendingUidChangesForTest()
240 private ChangeRecord getOrCreateChangeRecordLocked() { in getOrCreateChangeRecordLocked()
241 final ChangeRecord changeRecord; in getOrCreateChangeRecordLocked()
249 changeRecord = new ChangeRecord(); in getOrCreateChangeRecordLocked()
263 mActiveUidChanges = new ChangeRecord[numUidChanges]; in dispatchUidsChanged()
[all …]
DUidRecord.java33 import com.android.server.am.UidObserverController.ChangeRecord;
170 final ChangeRecord pendingChange = new ChangeRecord();
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java135 import com.android.server.am.UidObserverController.ChangeRecord;
838 final Map<Integer, ChangeRecord> changeItems = new HashMap<>(); in testDispatchUids_dispatchNeededChanges()
840 final ChangeRecord pendingChange = new ChangeRecord(); in testDispatchUids_dispatchNeededChanges()
1027 void verify(IUidObserver observer, ChangeRecord changeItem) throws RemoteException; in verify()
1031 Map<Integer, ChangeRecord> changeItems, ObserverChangesVerifier verifier) in verifyObserverReceivedChanges()
1034 final ChangeRecord changeItem = changeItems.get(change); in verifyObserverReceivedChanges()
1058 final ChangeRecord changeItem = new ChangeRecord(); in testDispatchUidChanges_procStateCutpoint()
1126 final ArrayList<ChangeRecord> pendingItemsForUids = in testDispatchUidChanges_validateUidsUpdated()
1129 final ChangeRecord item = new ChangeRecord(); in testDispatchUidChanges_validateUidsUpdated()
1150 final ChangeRecord item = pendingItemsForUids.get(i); in testDispatchUidChanges_validateUidsUpdated()
[all …]
/frameworks/base/services/
Dart-profile1108 …roid/server/am/UidObserverController$ChangeRecord;->copyTo(Lcom/android/server/am/UidObserverContr…
1109 …/android/server/am/UidObserverController$ChangeRecord;Lcom/android/server/am/UidObserverController…
1111 …oller;->enqueueUidChange(Lcom/android/server/am/UidObserverController$ChangeRecord;IIIIJIZ)I+]Land…
Dart-wear-profile334 Lcom/android/server/am/UidObserverController$ChangeRecord;
1502 [Lcom/android/server/am/UidObserverController$ChangeRecord;
7182 PLcom/android/server/am/UidObserverController$ChangeRecord;-><init>()V
7183 …roid/server/am/UidObserverController$ChangeRecord;->copyTo(Lcom/android/server/am/UidObserverContr…
7193 …erController;->enqueueUidChange(Lcom/android/server/am/UidObserverController$ChangeRecord;IIIIJIZ)I
7194 …troller;->getOrCreateChangeRecordLocked()Lcom/android/server/am/UidObserverController$ChangeRecord;