Home
last modified time | relevance | path

Searched refs:isClearRestrictionAllowed (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DEnhancedConfirmationManagerTest.kt147 eventually { assertFalse(ecm.isClearRestrictionAllowed(APP_PACKAGE_NAME)) } in givenRestrictedAppThenClearRestrictionNotAllowedByDefault()
158 eventually { assertTrue(ecm.isClearRestrictionAllowed(APP_PACKAGE_NAME)) } in givenRestrictedAppWhenClearRestrictionThenNotRestrictedFromProtectedSetting()
189 assertTrue(isClearRestrictionAllowed(APP_PACKAGE_NAME)) in grantDialogBlocksRestrictedPermissionsOfSameGroupTogether()
197 assertTrue(isClearRestrictionAllowed(APP_PACKAGE_NAME)) in grantDialogBlocksRestrictedPermissionsOfSameGroupTogether()
217 assertTrue(isClearRestrictionAllowed(APP_PACKAGE_NAME)) in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedGroupsDespiteOutOfOrderRequest()
226 assertTrue(isClearRestrictionAllowed(APP_PACKAGE_NAME)) in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedGroupsDespiteOutOfOrderRequest()
244 assertTrue(isClearRestrictionAllowed(APP_PACKAGE_NAME)) in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedHighPriorityGroups()
262 assertTrue(isClearRestrictionAllowed(APP_PACKAGE_NAME)) in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedLowPriorityGroups()
265 private fun isClearRestrictionAllowed(packageName: String) = callWithShellPermissionIdentity { in <lambda>() method
266 ecm.isClearRestrictionAllowed(packageName) in <lambda>()
/packages/modules/Permission/framework-s/java/android/app/ecm/
DEnhancedConfirmationManager.java298 public boolean isClearRestrictionAllowed(@NonNull String packageName) in isClearRestrictionAllowed() method in EnhancedConfirmationManager
301 return mService.isClearRestrictionAllowed(packageName, in isClearRestrictionAllowed()
DIEnhancedConfirmationManager.aidl30 boolean isClearRestrictionAllowed(in String packageName, int userId); in isClearRestrictionAllowed() method
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppInfoSettingsMoreOptions.kt186 manager.isClearRestrictionAllowed(packageName) in shouldShowAccessRestrictedSettings()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ecm/
DEnhancedConfirmationDialogActivity.kt100 val wasClearRestrictionAllowed = ecm.isClearRestrictionAllowed(packageName) in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppInfoSettingsMoreOptionsTest.kt248 enhancedConfirmationManager.isClearRestrictionAllowed(PACKAGE_NAME) in shouldShowAccessRestrictedSettings()
/packages/modules/Permission/service/java/com/android/ecm/
DEnhancedConfirmationService.java195 public boolean isClearRestrictionAllowed(@NonNull String packageName, in isClearRestrictionAllowed() method in EnhancedConfirmationService.Stub
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragment.java546 .isClearRestrictionAllowed(getPackageName()); in shouldShowAccessRestrictedSettings()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsActivity.java579 return ecm.isClearRestrictionAllowed(packageName); in wasEcmDialogAlreadyShown()
/packages/modules/Permission/framework-s/api/
Dsystem-current.txt7 ….permission.MANAGE_ENHANCED_CONFIRMATION_STATES) public boolean isClearRestrictionAllowed(@NonNull…