Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
H A DUriGrantsManagerServiceTest.java31 import static com.android.server.uri.UriGrantsMockContext.UID_PRIMARY_SOCIAL;
98 assertEquals(UID_PRIMARY_SOCIAL, needed.targetUid); in testNeeded_normal_sameUser()
132 UserHandle.getAppId(UID_PRIMARY_SOCIAL)), eq(UID_PRIMARY_PUBLIC), eq(false)); in testNeeded_public()
363 assertFalse(mService.checkAuthorityGrants(UID_PRIMARY_SOCIAL, in testCheckAuthorityGrants()
365 assertFalse(mService.checkAuthorityGrants(UID_PRIMARY_SOCIAL, in testCheckAuthorityGrants()
375 assertTrue(mService.checkAuthorityGrants(UID_PRIMARY_SOCIAL, in testCheckAuthorityGrants()
377 assertFalse(mService.checkAuthorityGrants(UID_PRIMARY_SOCIAL, in testCheckAuthorityGrants()
387 assertTrue(mService.checkAuthorityGrants(UID_PRIMARY_SOCIAL, in testCheckAuthorityGrants()
389 assertTrue(mService.checkAuthorityGrants(UID_PRIMARY_SOCIAL, in testCheckAuthorityGrants()
398 assertFalse(mService.checkAuthorityGrants(UID_PRIMARY_SOCIAL, in testCheckAuthorityGrants()
[all …]
H A DUriPermissionTest.java24 import static com.android.server.uri.UriGrantsMockContext.UID_PRIMARY_SOCIAL;
56 PKG_SOCIAL, UID_PRIMARY_SOCIAL, grant); in testNone()
64 PKG_SOCIAL, UID_PRIMARY_SOCIAL, grant); in testGlobal()
77 PKG_SOCIAL, UID_PRIMARY_SOCIAL, grant); in testOwned()
96 PKG_SOCIAL, UID_PRIMARY_SOCIAL, grant1); in testOverlap()
98 PKG_SOCIAL, UID_PRIMARY_SOCIAL, grant2); in testOverlap()
127 PKG_SOCIAL, UID_PRIMARY_SOCIAL, grant); in testPersist()
H A DUriGrantsMockContext.java78 static final int UID_PRIMARY_SOCIAL = UserHandle.getUid(USER_PRIMARY, UID_SOCIAL); field in UriGrantsMockContext