Home
last modified time | relevance | path

Searched refs:mLastUid (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DSystemUpdateManagerService.java74 private int mLastUid = UID_UNKNOWN; field in SystemUpdateManagerService
104 if (mLastUid == UID_UNKNOWN || mLastUid == uid || status != STATUS_IDLE) { in updateSystemUpdateInfo()
181 mLastUid = lastUid; in loadSystemUpdateInfoLocked()
196 mLastUid = uid; in saveSystemUpdateInfoLocked()
246 mLastUid = UID_UNKNOWN; in removeInfoFileAndGetDefaultInfoBundleLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java303 assertTrue(uidRange.mLastUid >= Process.FIRST_APP_ZYGOTE_ISOLATED_UID in validateAppZygoteIsolatedUidRange()
304 && uidRange.mLastUid <= Process.LAST_APP_ZYGOTE_ISOLATED_UID); in validateAppZygoteIsolatedUidRange()
305 assertTrue(uidRange.mLastUid > uidRange.mFirstUid in validateAppZygoteIsolatedUidRange()
306 && ((uidRange.mLastUid - uidRange.mFirstUid + 1) in validateAppZygoteIsolatedUidRange()
314 assertTrue(highRange.mFirstUid > lowRange.mLastUid); in verifyUidRangesNoOverlap()
376 assertTrue(uid >= range.mFirstUid && uid <= range.mLastUid); in verifyIsolatedUid()
392 for (int i = 0; i < (range.mLastUid - range.mFirstUid + 1); ++i) { in verifyIsolatedUidAllocator()
406 assertEquals(globalUidRange.mLastUid, Process.LAST_ISOLATED_UID); in testGlobalIsolatedUidAllocator()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java391 public final int mLastUid; field in ProcessList.IsolatedUidRange
401 mLastUid = lastUid; in IsolatedUidRange()
408 int stepsLeft = (mLastUid - mFirstUid + 1); in allocateIsolatedUidLocked()
410 if (mNextUid < mFirstUid || mNextUid > mLastUid) { in allocateIsolatedUidLocked()
1767 final int lastUid = UserHandle.getUid(userId, uidRange.mLastUid);