Home
last modified time | relevance | path

Searched refs:uidRange (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java299 private void validateAppZygoteIsolatedUidRange(IsolatedUidRange uidRange) { in validateAppZygoteIsolatedUidRange() argument
300 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()
370 IsolatedUidRange uidRange = allocator.getOrCreateIsolatedUidRangeLocked( in testIsolatedUidRangeAllocator() local
372 validateAppZygoteIsolatedUidRange(uidRange); in testIsolatedUidRangeAllocator()
[all …]
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java458 private ArraySet<UidRange> uidRange(int from, int to) { in uidRange() method in NetworkCapabilitiesTest
519 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()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1874 final IsolatedUidRange uidRange =
1880 final int firstUid = UserHandle.getUid(userId, uidRange.mFirstUid);
1881 final int lastUid = UserHandle.getUid(userId, uidRange.mLastUid);
2456 IsolatedUidRange uidRange = getOrCreateIsolatedUidRangeLocked(info, hostingRecord); in newProcessRecordLocked() local
2457 if (uidRange == null) { in newProcessRecordLocked()
2460 uid = uidRange.allocateIsolatedUidLocked(userId); in newProcessRecordLocked()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java1465 for (UidRange uidRange : mUids) { in appliesToUidRange()
1466 if (uidRange.containsRange(requiredRange)) { in appliesToUidRange()