Searched refs:denyPermissions (Results 1 – 6 of 6) sorted by relevance
263 denyPermissions( in setInteractAcrossProfilesAppOp_noPermissions_throwsSecurityException()278 denyPermissions( in setInteractAcrossProfilesAppOp_missingInteractAcrossUsersAndFull_throwsSecurityException()298 denyPermissions( in setInteractAcrossProfilesAppOp_configureInteractAcrossProfilesPermissionWithoutAppOpsPermissions_setsAppOp()313 denyPermissions(Manifest.permission.CONFIGURE_INTERACT_ACROSS_PROFILES); in setInteractAcrossProfilesAppOp_appOpsPermissionsWithoutConfigureInteractAcrossProfilesPermission_setsAppOp()327 denyPermissions(Manifest.permission.INTERACT_ACROSS_USERS_FULL); in setInteractAcrossProfilesAppOp_setsAppOpWithUsersAndWithoutFull()336 denyPermissions(Manifest.permission.INTERACT_ACROSS_USERS); in setInteractAcrossProfilesAppOp_setsAppOpWithFullAndWithoutUsers()617 private void denyPermissions(String... permissions) { in denyPermissions() method in CrossProfileAppsServiceImplRoboTest618 shadowOf(mContext).denyPermissions(Process.myPid(), CALLING_UID, permissions); in denyPermissions()
206 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testDestinationString_withoutPermission()257 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testIsAppEligibleForBackup_withoutPermission()313 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testFilterAppsEligibleForBackup_withoutPermission()392 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testSelectBackupTransport_withoutPermission()475 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testSelectBackupTransportAsync_withoutPermission()544 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testGetCurrentTransportComponent_withoutPermission()556 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testExcludeKeysFromRestore_withoutPermission()802 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testUpdateTransportAttributes_whenPermissionDenied_throwsSecurityException()841 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testRequestBackup_whenPermissionDenied()
1604 mShadowContext.denyPermissions(INTERACT_ACROSS_USERS_FULL); in setCallerAndGrantInteractUserPermission()
164 mShadowApplication.denyPermissions(android.Manifest.permission.BACKUP); in testGetAvailableRestoreSets_withoutPermission()460 mShadowApplication.denyPermissions(android.Manifest.permission.BACKUP); in testRestorePackage_whenCallerIsPackage()518 mShadowApplication.denyPermissions(pid, uid, android.Manifest.permission.BACKUP); in testRestorePackage_whenCallerIsNotPackageAndPermissionDenied()
3078 Collection<String> denyPermissions) { in setPermissionStates() argument3082 for (String denyPermission : denyPermissions) { in setPermissionStates()
5853 ArraySet<String> denyPermissions = new ArraySet<>();5876 denyPermissions.add(readStringAttribute(in, ATTR_NAME));5923 params.setPermissionStates(grantPermissions, denyPermissions);