Home
last modified time | relevance | path

Searched refs:grantPermissionAndAppOp (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java970 grantPermissionAndAppOp(READ_PHONE_STATE, AppOpsManager.OPSTR_READ_PHONE_STATE); in testGetLine1NumberWithReadPhoneStateTargetPreR()
980 grantPermissionAndAppOp(READ_PHONE_STATE, AppOpsManager.OPSTR_READ_PHONE_STATE); in testGetLine1NumberWithReadPhoneStateTargetR()
996 grantPermissionAndAppOp(READ_PHONE_NUMBERS, AppOpsManager.OPSTR_READ_PHONE_NUMBERS); in testGetLine1NumberWithReadPhoneNumbersTargetR()
1006 grantPermissionAndAppOp(READ_SMS, AppOpsManager.OPSTR_READ_SMS); in testGetLine1NumberWithReadSmsTargetR()
1058 private void grantPermissionAndAppOp(String permission, String appop) { in grantPermissionAndAppOp() method in TelecomServiceImplTest
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/model/
DPermissions.java216 boolean permissionOrAppOpChanged = grantPermissionAndAppOp(packageName, permission, in grantSingle()
312 private static boolean grantPermissionAndAppOp(@NonNull String packageName, in grantPermissionAndAppOp() method in Permissions