Lines Matching refs:mPermissionTable
62 private final HashSet<String> mPermissionTable = new HashSet<>(); field in TestContext
205 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()
229 mPermissionTable.remove(permission); in revokePermission()
235 synchronized (mPermissionTable) { in revokeAllPermissions()
236 mPermissionTable.clear(); in revokeAllPermissions()