Home
last modified time | relevance | path

Searched defs:permission (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DProviderPermissionTest.java60 public void assertWritingContentUriRequiresPermission(Uri uri, String permission, in assertWritingContentUriRequiresPermission()
104 final String permission = android.Manifest.permission.WRITE_SETTINGS; in testWriteSettings() local
DAppOpsTest.java264 private void testPermissionMapping(String permission, String opStr) { in testPermissionMapping()
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java334 private int numberOfSystemAppsWithPermission(String permission) { in numberOfSystemAppsWithPermission()
383 private void grantPermission(String permission) { in grantPermission()
385 .grantRuntimePermission(mContext.getPackageName(), permission); in grantPermission() local
388 private void revokePermission(String permission) { in revokePermission()
390 .revokeRuntimePermission(mContext.getPackageName(), permission); in revokePermission() local
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DBasePermissionsTest.java312 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()
/cts/tests/tests/permission2/src/android/permission2/cts/
DPrivappPermissionsTest.java91 String permission = requestedPermissions[i]; in testPrivappPermissionsEnforcement() local
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DShellCommandBuilder.java63 public ShellCommandBuilder grantPermission(String packageName, String permission) { in grantPermission()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DEnterprisePrivacyTestListActivity.java115 String permission) { in buildAdminGrantedPermissionTest()
/cts/tests/tests/content/src/android/content/cts/
DContentProviderTest.java281 public void setReadPermissionWrapper(String permission) { in setReadPermissionWrapper()
285 public void setWritePermissionWrapper(String permission) { in setWritePermissionWrapper()