Searched refs:hasFullAccess (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceFullAccessListTest.java | 56 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 …]
|
D | SlicePermissionManagerTest.java | 102 if (!permissions.hasFullAccess("com.android.mypkg", 10)) { in testBackup()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceClientPermissions.java | 86 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()
|
D | SlicePermissionManager.java | 146 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()
|
D | SliceFullAccessList.java | 52 public boolean hasFullAccess(String pkg, int userId) { in hasFullAccess() method in SliceFullAccessList
|
D | SliceManagerService.java | 594 return mPermissions.hasFullAccess(pkg, userId); in isGrantedFullAccess()
|