Home
last modified time | relevance | path

Searched refs:denyPermissions (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java263 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 CrossProfileAppsServiceImplRoboTest
618 shadowOf(mContext).denyPermissions(Process.myPid(), CALLING_UID, permissions); in denyPermissions()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java206 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()
DBackupManagerServiceRoboTest.java1604 mShadowContext.denyPermissions(INTERACT_ACROSS_USERS_FULL); in setCallerAndGrantInteractUserPermission()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java164 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()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java3078 Collection<String> denyPermissions) { in setPermissionStates() argument
3082 for (String denyPermission : denyPermissions) { in setPermissionStates()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java5853 ArraySet<String> denyPermissions = new ArraySet<>();
5876 denyPermissions.add(readStringAttribute(in, ATTR_NAME));
5923 params.setPermissionStates(grantPermissions, denyPermissions);