Searched defs:permission (Results 1 – 8 of 8) sorted by relevance
60 public void assertWritingContentUriRequiresPermission(Uri uri, String permission, in assertWritingContentUriRequiresPermission()104 final String permission = android.Manifest.permission.WRITE_SETTINGS; in testWriteSettings() local
264 private void testPermissionMapping(String permission, String opStr) { in testPermissionMapping()
334 private int numberOfSystemAppsWithPermission(String permission) { in numberOfSystemAppsWithPermission()383 private void grantPermission(String permission) { in grantPermission()385 .grantRuntimePermission(mContext.getPackageName(), permission); in grantPermission() local388 private void revokePermission(String permission) { in revokePermission()390 .revokeRuntimePermission(mContext.getPackageName(), permission); in revokePermission() local
312 protected void grantPermission(String permission) throws Exception { in grantPermission()320 protected void revokePermission(String permission) throws Exception { in revokePermission()423 private String getPermissionLabel(String permission) throws Exception { in getPermissionLabel()
91 String permission = requestedPermissions[i]; in testPrivappPermissionsEnforcement() local
63 public ShellCommandBuilder grantPermission(String packageName, String permission) { in grantPermission()
115 String permission) { in buildAdminGrantedPermissionTest()
281 public void setReadPermissionWrapper(String permission) { in setReadPermissionWrapper()285 public void setWritePermissionWrapper(String permission) { in setWritePermissionWrapper()