Searched refs:uidRange (Results 1 – 4 of 4) sorted by relevance
299 private void validateAppZygoteIsolatedUidRange(IsolatedUidRange uidRange) { in validateAppZygoteIsolatedUidRange() argument300 assertNotNull(uidRange); in validateAppZygoteIsolatedUidRange()301 assertTrue(uidRange.mFirstUid >= Process.FIRST_APP_ZYGOTE_ISOLATED_UID in validateAppZygoteIsolatedUidRange()302 && uidRange.mFirstUid <= Process.LAST_APP_ZYGOTE_ISOLATED_UID); in validateAppZygoteIsolatedUidRange()303 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()359 IsolatedUidRange uidRange = allocator.getOrCreateIsolatedUidRangeLocked( in testIsolatedUidRangeAllocator() local361 validateAppZygoteIsolatedUidRange(uidRange); in testIsolatedUidRangeAllocator()[all …]
399 private ArraySet<UidRange> uidRange(int from, int to) { in uidRange() method in NetworkCapabilitiesTest441 nc1.setUids(uidRange(10, 13)); in testCombineCapabilities()447 nc1.setUids(uidRange(10, 13)); in testCombineCapabilities()448 nc2.setUids(uidRange(20, 23)); in testCombineCapabilities()586 nc1.setUids(uidRange(10, 13)); in testSet()
1242 for (UidRange uidRange : mUids) { in appliesToUidRange()1243 if (uidRange.containsRange(requiredRange)) { in appliesToUidRange()
1760 final IsolatedUidRange uidRange =1766 final int firstUid = UserHandle.getUid(userId, uidRange.mFirstUid);1767 final int lastUid = UserHandle.getUid(userId, uidRange.mLastUid);2328 IsolatedUidRange uidRange = getOrCreateIsolatedUidRangeLocked(info, hostingRecord); in newProcessRecordLocked() local2329 if (uidRange == null) { in newProcessRecordLocked()2332 uid = uidRange.allocateIsolatedUidLocked(userId); in newProcessRecordLocked()