Searched refs:revokePermissions (Results 1 – 2 of 2) sorted by relevance
63 revokePermissions(new String[] {Manifest.permission.WRITE_CALENDAR}, true); in testCompatRevoked_part1()152 revokePermissions(new String[] {Manifest.permission.WRITE_CALENDAR}, true); in testRevokePropagatedOnUpgradeOldToNewModel_part1()
351 revokePermissions(new String[] {permission}, false); in revokePermission()354 protected void revokePermissions(String[] permissions, boolean legacyApp) throws Exception { in revokePermissions() method in BasePermissionsTest