Home
last modified time | relevance | path

Searched refs:hasFullAccess (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceFullAccessListTest.java56 assertFalse(mAccessList.hasFullAccess("pkg", 0)); in testNoDefaultAccess()
62 assertTrue(mAccessList.hasFullAccess("pkg", 0)); in testGrantAccess()
68 assertFalse(mAccessList.hasFullAccess("pkg", 0)); in testUserSeparation()
74 assertTrue(mAccessList.hasFullAccess("pkg", 0)); in testRemoveAccess()
77 assertFalse(mAccessList.hasFullAccess("pkg", 0)); in testRemoveAccess()
104 assertTrue(mAccessList.hasFullAccess("pkg", 0)); in testDeSerialization()
105 assertTrue(mAccessList.hasFullAccess("pkg1", 0)); in testDeSerialization()
106 assertTrue(mAccessList.hasFullAccess("pkg", 1)); in testDeSerialization()
107 assertTrue(mAccessList.hasFullAccess("pkg2", 3)); in testDeSerialization()
109 assertFalse(mAccessList.hasFullAccess("pkg3", 0)); in testDeSerialization()
[all …]
DSlicePermissionManagerTest.java102 if (!permissions.hasFullAccess("com.android.mypkg", 10)) { in testBackup()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceClientPermissions.java86 public boolean hasFullAccess() { in hasFullAccess() method in SliceClientPermissions
90 public void setHasFullAccess(boolean hasFullAccess) { in setHasFullAccess() argument
91 if (mHasFullAccess == hasFullAccess) return; in setHasFullAccess()
92 mHasFullAccess = hasFullAccess; in setHasFullAccess()
DSlicePermissionManager.java146 public boolean hasFullAccess(String pkg, int userId) { in hasFullAccess() method in SlicePermissionManager
148 return getClient(pkgUser).hasFullAccess(); in hasFullAccess()
155 return client.hasFullAccess() in hasPermission()
DSliceFullAccessList.java52 public boolean hasFullAccess(String pkg, int userId) { in hasFullAccess() method in SliceFullAccessList
DSliceManagerService.java594 return mPermissions.hasFullAccess(pkg, userId); in isGrantedFullAccess()