Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java115 private Set<String> mGrantedPermissions = Sets.newHashSet(); field in ContactsActor
341 mGrantedPermissions, mGrantedUriPermissions) { in ContactsActor()
504 mGrantedPermissions.addAll(Arrays.asList(permissions)); in addPermissions()
508 mGrantedPermissions.removeAll(Arrays.asList(permissions)); in removePermissions()
543 private final Set<String> mGrantedPermissions; field in ContactsActor.RestrictionMockContext
555 mGrantedPermissions = grantedPermissions; in RestrictionMockContext()
607 if (mGrantedPermissions.contains(permission)) { in checkCallingPermission()
640 if (!mGrantedPermissions.contains(permission)) { in enforceCallingPermission()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DAutoGrantPermissionsNotifier.java97 private final ArrayList<String> mGrantedPermissions = new ArrayList<>(); field in AutoGrantPermissionsNotifier
133 if (mGrantedPermissions.isEmpty()) { in notifyOfAutoGrantPermissions()
222 mGrantedPermissions.add(permissionName); in onPermissionAutoGranted()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkControllerTest.java125 private Set<String> mGrantedPermissions; field in ThreadNetworkControllerTest
136 mGrantedPermissions = new HashSet<String>(); in setUp()
836 mGrantedPermissions.add(permission);
838 String[] allPermissions = new String[mGrantedPermissions.size()];
839 mGrantedPermissions.toArray(allPermissions);