Home
last modified time | relevance | path

Searched refs:mFirstUid (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java583 assertTrue(uidRange.mFirstUid >= Process.FIRST_APP_ZYGOTE_ISOLATED_UID in validateAppZygoteIsolatedUidRange()
584 && uidRange.mFirstUid <= Process.LAST_APP_ZYGOTE_ISOLATED_UID); in validateAppZygoteIsolatedUidRange()
587 assertTrue(uidRange.mLastUid > uidRange.mFirstUid in validateAppZygoteIsolatedUidRange()
588 && ((uidRange.mLastUid - uidRange.mFirstUid + 1) in validateAppZygoteIsolatedUidRange()
593 IsolatedUidRange lowRange = uidRange1.mFirstUid <= uidRange2.mFirstUid in verifyUidRangesNoOverlap()
597 assertTrue(highRange.mFirstUid > lowRange.mLastUid); in verifyUidRangesNoOverlap()
670 assertTrue(uid >= range.mFirstUid && uid <= range.mLastUid); in verifyIsolatedUid()
686 for (int i = 0; i < (range.mLastUid - range.mFirstUid + 1); ++i) { in verifyIsolatedUidAllocator()
724 assertEquals(globalUidRange.mFirstUid, Process.FIRST_ISOLATED_UID); in testGlobalIsolatedUidAllocator()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java663 public final int mFirstUid; field in ProcessList.IsolatedUidRange
674 mFirstUid = firstUid; in IsolatedUidRange()
682 int stepsLeft = (mLastUid - mFirstUid + 1); in allocateIsolatedUidLocked()
684 if (mNextUid < mFirstUid || mNextUid > mLastUid) { in allocateIsolatedUidLocked()
685 mNextUid = mFirstUid; in allocateIsolatedUidLocked()
707 private final int mFirstUid; field in ProcessList.IsolatedUidRangeAllocator
720 mFirstUid = firstUid; in IsolatedUidRangeAllocator()
743 int actualUid = mFirstUid + uidRangeIndex * mNumUidsPerRange; in getOrCreateIsolatedUidRangeLocked()
756 final int uidRangeIndex = (range.mFirstUid - mFirstUid) / mNumUidsPerRange; in freeUidRangeLocked()
2347 final int firstUid = UserHandle.getUid(userId, uidRange.mFirstUid);