Home
last modified time | relevance | path

Searched refs:Restricted (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/brightness/data/repository/
DFakeBrightnessPolicyRepository.kt35 PolicyRestriction.Restricted( in setCurrentUserRestricted()
43 _restrictionPolicy.value = PolicyRestriction.Restricted(RestrictedLockUtils.EnforcedAdmin()) in setBaseUserRestriction()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/domain/interactor/
DBrightnessPolicyEnforcementInteractorTest.kt74 PolicyRestriction.Restricted( in restriction()
83 assertThat(restriction).isEqualTo(PolicyRestriction.Restricted(EnforcedAdmin())) in restriction()
101 PolicyRestriction.Restricted(enforcedAdmin) in startRestrictionDialog()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/data/repository/
DBrightnessPolicyRepositoryImplTest.kt107 assertThat(restrictions).isEqualTo(PolicyRestriction.Restricted(enforcedAdmin)) in restrictDefaultUser()
137 assertThat(restrictions).isEqualTo(PolicyRestriction.Restricted(enforcedAdmin)) in restrictMainUser()
188 assertThat(restrictions).isEqualTo(PolicyRestriction.Restricted(enforcedAdmin)) in bothRestrictions_returnsSetEnforcedAdminFromCheck()
208 assertThat(restrictions).isEqualTo(PolicyRestriction.Restricted(EnforcedAdmin())) in brightnessBaseUserRestriction_flagOn_emptyRestriction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/data/repository/
DBrightnessPolicyRepository.kt70 ?.let { PolicyRestriction.Restricted(it) } in user()
79 PolicyRestriction.Restricted(RestrictedLockUtils.EnforcedAdmin()) in user()
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/ui/compose/
DBrightnessSlider.kt52 onRestrictedClick: (PolicyRestriction.Restricted) -> Unit, in <lambda>()
62 val isRestricted = restriction is PolicyRestriction.Restricted
83 if (restriction is PolicyRestriction.Restricted) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileViewModelUserInputTest.kt68 policy = QSTilePolicy.Restricted(listOf(ENABLED_RESTRICTION)) in <lambda>()
117 policy = QSTilePolicy.Restricted(listOf(DISABLED_RESTRICTION)) in disabledByPolicyUserInputIsSkipped()
144 QSTilePolicy.Restricted(listOf(ENABLED_RESTRICTION, DISABLED_RESTRICTION)) in disabledByPolicySecondRestriction_userInputIsSkipped()
174 QSTilePolicy.Restricted( in disabledByPolicySecondRestriction_onlyFirstIsTriggered()
DQSTileViewModelTest.kt64 policy = QSTilePolicy.Restricted(listOf("test_restriction")) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/utils/
DPolicyRestriction.kt29 data class Restricted(val admin: RestrictedLockUtils.EnforcedAdmin) : PolicyRestriction class
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/domain/interactor/
DBrightnessPolicyEnforcementInteractor.kt42 fun startAdminSupportDetailsDialog(restriction: PolicyRestriction.Restricted) { in startAdminSupportDetailsDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileConfig.kt73 data class Restricted(val userRestrictions: List<String>) : QSTilePolicy class
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/ui/viewmodel/
DBrightnessSliderViewModel.kt58 fun showPolicyRestrictionDialog(restriction: PolicyRestriction.Restricted) { in showPolicyRestrictionDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPolicyModule.kt175 QSTilePolicy.Restricted( in bindDndTile()
306 policy = QSTilePolicy.Restricted(listOf(DISALLOW_CAMERA_TOGGLE)), in bindDndTile()
348 policy = QSTilePolicy.Restricted(listOf(DISALLOW_MICROPHONE_TOGGLE)), in bindDndTile()
/frameworks/base/core/proto/android/service/
Drestricted_image.proto25 // Restricted Image proto is for collecting images from the user with their
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/base/viewmodel/
DQSTileViewModelImplTest.kt80 policy = QSTilePolicy.Restricted(listOf("test_restriction")) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/viewmodel/
DQSTileViewModelImpl.kt212 is QSTilePolicy.Restricted -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DConnectivityModule.kt151 policy = QSTilePolicy.Restricted(listOf(UserManager.DISALLOW_AIRPLANE_MODE)), in bindBluetoothTile()
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest_external.proto365 // Restricted pulled atoms
Dtest.proto365 // Restricted pulled atoms
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto929 // Action: Settings > Apps > AppInfo > Battery > Restricted
939 // Action: Settings > Battery > Restricted Apps > Unchecked
1103 // ACTION: Settings > System > Multi User > Restricted User > Remove user
1108 // ACTION: Settings > System > Multi User > Restricted User > Remove user
1113 // ACTION: Settings > System > Multi User > Restricted User > Remove user
1575 // ACTION: Settings > Battery > Battery Manager > Restricted apps
2242 // OPEN: Settings > Users > [Restricted profile app & content access]
3165 // OPEN: Settings > Battery > Smart Battery > Restricted apps
4049 // OPEN: Settings > Battery > Restricted Apps
Dtvsettings_enums.proto578 // Allowed apps (Restricted Profile)
582 // Change pin (Restricted Profile)
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto749 // OPEN: Settings > Users > [Restricted profile app & content access]
5376 // OPEN: Settings > Battery > Smart Battery > Restricted apps