Searched refs:grantPermissionAndAppOp (Results 1 – 2 of 2) sorted by relevance
970 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
216 boolean permissionOrAppOpChanged = grantPermissionAndAppOp(packageName, permission, in grantSingle()312 private static boolean grantPermissionAndAppOp(@NonNull String packageName, in grantPermissionAndAppOp() method in Permissions