Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java189 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testDestinationString_withoutPermission()
240 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testIsAppEligibleForBackup_withoutPermission()
296 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testFilterAppsEligibleForBackup_withoutPermission()
355 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testSelectBackupTransport_withoutPermission()
438 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testSelectBackupTransportAsync_withoutPermission()
507 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testGetCurrentTransportComponent_withoutPermission()
748 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testUpdateTransportAttributes_whenPermissionDenied_throwsSecurityException()
787 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testRequestBackup_whenPermissionDenied()
DBackupManagerServiceTest.java1606 mShadowContext.denyPermissions(INTERACT_ACROSS_USERS_FULL); in setCallerAndGrantInteractUserPermission()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java1049 ArraySet<String> denyPermissions = denyMap.get(packageName); in readPrivAppPermissions() local
1068 if (denyPermissions == null) { in readPrivAppPermissions()
1069 denyPermissions = new ArraySet<>(); in readPrivAppPermissions()
1071 denyPermissions.add(permName); in readPrivAppPermissions()
1075 if (denyPermissions != null) { in readPrivAppPermissions()
1076 denyMap.put(packageName, denyPermissions); in readPrivAppPermissions()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java156 mShadowApplication.denyPermissions(android.Manifest.permission.BACKUP); in testGetAvailableRestoreSets_withoutPermission()
451 mShadowApplication.denyPermissions(android.Manifest.permission.BACKUP); in testRestorePackage_whenCallerIsPackage()
509 mShadowApplication.denyPermissions(pid, uid, android.Manifest.permission.BACKUP); in testRestorePackage_whenCallerIsNotPackageAndPermissionDenied()