Searched refs:PERMISSION_NAME (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/permission/src/android/permission/cts/ |
D | ActivityPermissionRationaleTest.java | 51 private static final String PERMISSION_NAME = Manifest.permission.READ_CONTACTS; field in ActivityPermissionRationaleTest 64 PermissionUtils.setPermissionFlags(PACKAGE_NAME, PERMISSION_NAME, flag, flag); in setUp() 89 PermissionUtils.setPermissionFlags(PACKAGE_NAME, PERMISSION_NAME, in clearData() 95 sUiAuto.grantRuntimePermission(PACKAGE_NAME, PERMISSION_NAME); in permissionGrantedNoRationale() 103 PermissionUtils.setPermissionFlags(PACKAGE_NAME, PERMISSION_NAME, flags, flags); in policyFixedNoRationale() 111 PermissionUtils.setPermissionFlags(PACKAGE_NAME, PERMISSION_NAME, flags, flags); in userFixedNoRationale() 118 PermissionUtils.setPermissionFlags(PACKAGE_NAME, PERMISSION_NAME, in notUserSetNoRationale() 127 PermissionUtils.setPermissionFlags(PACKAGE_NAME, PERMISSION_NAME, flags, flags); in userSetNeedRationale()
|
D | PermissionUpdateListenerTest.java | 49 private static final String PERMISSION_NAME = "android.permission.READ_CONTACTS"; field in PermissionUpdateListenerTest 95 sPm.revokeRuntimePermission(PACKAGE_NAME, PERMISSION_NAME, sContext.getUser()); in grantNotifiesListener() 97 sPm.grantRuntimePermission(PACKAGE_NAME, PERMISSION_NAME, sContext.getUser()); in grantNotifiesListener() 108 sPm.grantRuntimePermission(PACKAGE_NAME, PERMISSION_NAME, sContext.getUser()); in revokeNotifiesListener() 110 sPm.revokeRuntimePermission(PACKAGE_NAME, PERMISSION_NAME, sContext.getUser()); in revokeNotifiesListener() 123 sPm.updatePermissionFlags(PERMISSION_NAME, PACKAGE_NAME, flag, flag, in updateFlagsNotifiesListener()
|
/cts/tests/tests/permission/AppThatRunsRationaleTests/src/android/permission/cts/appthatrunsrationaletests/ |
D | TestActivity.java | 27 private static final String PERMISSION_NAME = Manifest.permission.READ_CONTACTS; field in TestActivity 35 boolean result = shouldShowRequestPermissionRationale(PERMISSION_NAME); in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/ |
D | V3RotationTest.java | 37 private static final String PERMISSION_NAME = "android.appsecurity.cts.tinyapp.perm"; field in V3RotationTest 121 assertTrue(PERMISSION_NAME + " not granted to " + COMPANION_PKG, in testHasPerm() 122 pm.checkPermission(PERMISSION_NAME, COMPANION_PKG) in testHasPerm() 128 assertFalse(PERMISSION_NAME + " granted to " + COMPANION_PKG, in testHasNoPerm() 129 pm.checkPermission(PERMISSION_NAME, COMPANION_PKG) in testHasNoPerm()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PermissionInfoTest.java | 29 private static final String PERMISSION_NAME = "android.permission.INTERNET"; field in PermissionInfoTest 40 PermissionInfo permissionInfo = pm.getPermissionInfo(PERMISSION_NAME, 0); in testPermissionInfo()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PackageDeviceInfo.java | 56 private static final String PERMISSION_NAME = "name"; field in PackageDeviceInfo 148 store.addResult(PERMISSION_NAME, permission); in collectPermissions()
|