Searched refs:uidRange (Results 1 – 4 of 4) sorted by relevance
323 private void validateAppZygoteIsolatedUidRange(IsolatedUidRange uidRange) { in validateAppZygoteIsolatedUidRange() argument324 assertNotNull(uidRange); in validateAppZygoteIsolatedUidRange()325 assertTrue(uidRange.mFirstUid >= Process.FIRST_APP_ZYGOTE_ISOLATED_UID in validateAppZygoteIsolatedUidRange()326 && uidRange.mFirstUid <= Process.LAST_APP_ZYGOTE_ISOLATED_UID); in validateAppZygoteIsolatedUidRange()327 assertTrue(uidRange.mLastUid >= Process.FIRST_APP_ZYGOTE_ISOLATED_UID in validateAppZygoteIsolatedUidRange()328 && uidRange.mLastUid <= Process.LAST_APP_ZYGOTE_ISOLATED_UID); in validateAppZygoteIsolatedUidRange()329 assertTrue(uidRange.mLastUid > uidRange.mFirstUid in validateAppZygoteIsolatedUidRange()330 && ((uidRange.mLastUid - uidRange.mFirstUid + 1) in validateAppZygoteIsolatedUidRange()394 IsolatedUidRange uidRange = allocator.getOrCreateIsolatedUidRangeLocked( in testIsolatedUidRangeAllocator() local396 validateAppZygoteIsolatedUidRange(uidRange); in testIsolatedUidRangeAllocator()[all …]
458 private ArraySet<UidRange> uidRange(int from, int to) { in uidRange() method in NetworkCapabilitiesTest519 nc1.setUids(uidRange(10, 13)); in testCombineCapabilities()525 nc1.setUids(uidRange(10, 13)); in testCombineCapabilities()526 nc2.setUids(uidRange(20, 23)); in testCombineCapabilities()681 nc1.setUids(uidRange(10, 13)); in testSet()
1465 for (UidRange uidRange : mUids) { in appliesToUidRange()1466 if (uidRange.containsRange(requiredRange)) { in appliesToUidRange()
2130 final IsolatedUidRange uidRange =2136 final int firstUid = UserHandle.getUid(userId, uidRange.mFirstUid);2137 final int lastUid = UserHandle.getUid(userId, uidRange.mLastUid);2850 IsolatedUidRange uidRange = getOrCreateIsolatedUidRangeLocked(info, hostingRecord); in newProcessRecordLocked() local2851 if (uidRange == null) { in newProcessRecordLocked()2854 uid = uidRange.allocateIsolatedUidLocked(userId); in newProcessRecordLocked()