Searched refs:mPermissionTable (Results 1 – 1 of 1) sorted by relevance
62 private final HashSet<String> mPermissionTable = new HashSet<>(); field in TestContext205 synchronized (mPermissionTable) { in checkPermission()206 if (mPermissionTable.contains(permission) in checkPermission()207 || mPermissionTable.contains(STUB_PERMISSION_ENABLE_ALL)) { in checkPermission()218 synchronized (mPermissionTable) { in grantPermission()219 if (mPermissionTable != null && permission != null) { in grantPermission()220 mPermissionTable.remove(STUB_PERMISSION_ENABLE_ALL); in grantPermission()221 mPermissionTable.add(permission); in grantPermission()227 synchronized (mPermissionTable) { in revokePermission()228 if (mPermissionTable != null && permission != null) { in revokePermission()[all …]