Searched refs:isClearRestrictionAllowed (Results 1 – 10 of 10) sorted by relevance
147 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 in android.permissionui.cts.EnhancedConfirmationManagerTest266 ecm.isClearRestrictionAllowed(packageName) in <lambda>()
298 public boolean isClearRestrictionAllowed(@NonNull String packageName) in isClearRestrictionAllowed() method in EnhancedConfirmationManager301 return mService.isClearRestrictionAllowed(packageName, in isClearRestrictionAllowed()
30 boolean isClearRestrictionAllowed(in String packageName, int userId); in isClearRestrictionAllowed() method
186 manager.isClearRestrictionAllowed(packageName) in shouldShowAccessRestrictedSettings()
100 val wasClearRestrictionAllowed = ecm.isClearRestrictionAllowed(packageName) in <lambda>()
248 enhancedConfirmationManager.isClearRestrictionAllowed(PACKAGE_NAME) in shouldShowAccessRestrictedSettings()
195 public boolean isClearRestrictionAllowed(@NonNull String packageName, in isClearRestrictionAllowed() method in EnhancedConfirmationService.Stub
546 .isClearRestrictionAllowed(getPackageName()); in shouldShowAccessRestrictedSettings()
579 return ecm.isClearRestrictionAllowed(packageName); in wasEcmDialogAlreadyShown()
7 ….permission.MANAGE_ENHANCED_CONFIRMATION_STATES) public boolean isClearRestrictionAllowed(@NonNull…