Searched refs:UidRecord (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 110 UidRecord.CHANGE_PROCSTATE, 111 UidRecord.CHANGE_GONE, 112 UidRecord.CHANGE_GONE | UidRecord.CHANGE_IDLE, 113 UidRecord.CHANGE_IDLE, 114 UidRecord.CHANGE_ACTIVE 150 final UidRecord uidRec = addUidRecord(TEST_UID); in incrementProcStateSeqAndNotifyAppsLocked() 242 final UidRecord uidRec2 = addUidRecord(notAppUid); in incrementProcStateSeqAndNotifyAppsLocked() 252 private UidRecord addUidRecord(int uid) { in addUidRecord() 253 final UidRecord uidRec = new UidRecord(uid); in addUidRecord() 266 private void verifySeqCounterAndInteractions(UidRecord uidRec, int prevState, int curState, in verifySeqCounterAndInteractions() [all …]
|
D | ActivityManagerInternalTest.java | 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() 125 final UidRecord record = new UidRecord(uid); in addActiveUidRecord()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveUids.java | 27 private final SparseArray<UidRecord> mActiveUids = new SparseArray<>(); 34 void put(int uid, UidRecord value) { in put() 55 UidRecord get(int uid) { in get() 63 UidRecord valueAt(int index) { in valueAt()
|
D | UidRecord.java | 33 public final class UidRecord { class 107 UidRecord uidRecord; 118 public UidRecord(int _uid) { in UidRecord() method in UidRecord
|
D | OomAdjuster.java | 257 final UidRecord uidRec = mActiveUids.valueAt(i); in updateOomAdjLocked() 502 final UidRecord uidRec = app.uidRecord; in updateOomAdjLocked() 538 ArrayList<UidRecord> becameIdle = null; in updateOomAdjLocked() 545 final UidRecord uidRec = mActiveUids.valueAt(i); in updateOomAdjLocked() 546 int uidChange = UidRecord.CHANGE_PROCSTATE; in updateOomAdjLocked() 571 uidChange = UidRecord.CHANGE_IDLE; in updateOomAdjLocked() 579 uidChange = UidRecord.CHANGE_ACTIVE; in updateOomAdjLocked() 590 uidChange |= isCached ? UidRecord.CHANGE_CACHED : UidRecord.CHANGE_UNCACHED; in updateOomAdjLocked() 2032 final UidRecord uidRec = mActiveUids.valueAt(i); in idleUidsLocked() 2061 final UidRecord uidRec = mActiveUids.valueAt(i); in setAppIdTempWhitelistStateLocked() [all …]
|
D | ActivityManagerService.java | 1432 UidRecord.ChangeItem[] mActiveUidChanges = new UidRecord.ChangeItem[5]; 1434 final ArrayList<UidRecord.ChangeItem> mPendingUidChanges = new ArrayList<>(); 1435 final ArrayList<UidRecord.ChangeItem> mAvailUidChanges = new ArrayList<>(); 3311 mActiveUidChanges = new UidRecord.ChangeItem[N]; in dispatchUidsChanged() 3314 final UidRecord.ChangeItem change = mPendingUidChanges.get(i); in dispatchUidsChanged() 3337 final UidRecord.ChangeItem item = mActiveUidChanges[j]; in dispatchUidsChanged() 3338 if ((item.change & UidRecord.CHANGE_GONE) != 0) { in dispatchUidsChanged() 3341 UidRecord validateUid = mValidateUids.get(item.uid); in dispatchUidsChanged() 3343 validateUid = new UidRecord(item.uid); in dispatchUidsChanged() 3346 if ((item.change & UidRecord.CHANGE_IDLE) != 0) { in dispatchUidsChanged() [all …]
|
D | ProcessList.java | 2281 UidRecord uidRec = mActiveUids.get(proc.uid); in addProcessNameLocked() 2283 uidRec = new UidRecord(proc.uid); in addProcessNameLocked() 2394 mService.enqueueUidChangeLocked(old.uidRecord, -1, UidRecord.CHANGE_GONE); in removeProcessNameLocked() 3183 UidRecord uidRec = mActiveUids.get(uid); in getUidProcStateLocked() 3189 UidRecord getUidRecordLocked(int uid) { in getUidRecordLocked() 3205 final UidRecord uidRec = mActiveUids.valueAt(i); in doStopUidForIdleUidsLocked()
|
D | ProcessRecord.java | 125 UidRecord uidRecord; // overall state of process's uid.
|
D | ActiveServices.java | 519 UidRecord uidRec = mAm.mProcessList.getUidRecordLocked(r.appInfo.uid); in startServiceLocked() 1197 void foregroundServiceProcStateChangedLocked(UidRecord uidRec) { in foregroundServiceProcStateChangedLocked()
|
/frameworks/base/core/proto/android/server/ |
D | activitymanagerservice.proto | 830 // Proto definition of com.android.server.am.UidRecord.java
|
/frameworks/base/services/ |
D | art-profile | 2560 …ver/am/ActiveServices;->foregroundServiceProcStateChangedLocked(Lcom/android/server/am/UidRecord;)V 2603 HSPLcom/android/server/am/ActiveUids;->valueAt(I)Lcom/android/server/am/UidRecord; 2844 …oid/server/am/ActivityManagerService;->enqueueUidChangeLocked(Lcom/android/server/am/UidRecord;II)V 2859 …/android/server/am/ActivityManagerService;->getBlockStateForUid(Lcom/android/server/am/UidRecord;)I 3459 HSPLcom/android/server/am/ProcessList;->getUidRecordLocked(I)Lcom/android/server/am/UidRecord; 3662 HSPLcom/android/server/am/UidRecord;->reset()V 3663 HSPLcom/android/server/am/UidRecord;->toString()Ljava/lang/String; 3664 PLcom/android/server/am/UidRecord;->updateHasInternetPermission()V 3665 PLcom/android/server/am/UidRecord;->writeToProto(Landroid/util/proto/ProtoOutputStream;J)V 18710 Lcom/android/server/am/UidRecord$ChangeItem; [all …]
|