Home
last modified time | relevance | path

Searched refs:disableFlags (Results 1 – 25 of 124) sorted by relevance

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchControllerTest.java54 mSetFlagsRule.disableFlags(Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT); in testInit_viewAlreadyAttached()
63 mSetFlagsRule.disableFlags(Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT); in testInit_viewNotYetAttached()
81 mSetFlagsRule.disableFlags(Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT); in testInitSubControllers()
89 mSetFlagsRule.disableFlags(Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT); in testInit_viewDetached()
104 mSetFlagsRule.disableFlags(Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT); in testPluginPassesStatusBarState()
119 mSetFlagsRule.disableFlags(Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT); in testSmartspaceEnabledRemovesKeyguardStatusArea()
129 mSetFlagsRule.disableFlags(Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT); in onLocaleListChangedRebuildsSmartspaceView()
141 mSetFlagsRule.disableFlags(Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT); in onLocaleListChanged_rebuildsSmartspaceViews_whenDecouplingEnabled()
156 mSetFlagsRule.disableFlags(Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT); in testSmartspaceDisabledShowsKeyguardStatusArea()
166 mSetFlagsRule.disableFlags(Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT); in testRefresh()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/disableflags/data/repository/
DDisableFlagsRepositoryTest.kt81 assertThat(underTest.disableFlags.value) in disableFlags_initialValue_none()
95 assertThat(underTest.disableFlags.value.areNotificationAlertsEnabled()).isTrue() in disableFlags_notifAlertsNotDisabled_notifAlertsEnabledTrue()
109 assertThat(underTest.disableFlags.value.areNotificationAlertsEnabled()).isFalse() in disableFlags_notifAlertsDisabled_notifAlertsEnabledFalse()
126 assertThat(underTest.disableFlags.value.areNotificationAlertsEnabled()).isTrue() in disableFlags_notifAlertsDisabled_differentDisplay_notifAlertsEnabledTrue()
135 assertThat(underTest.disableFlags.value.isShadeEnabled()).isTrue() in disableFlags_shadeNotDisabled_shadeEnabledTrue()
149 assertThat(underTest.disableFlags.value.isShadeEnabled()).isFalse() in disableFlags_shadeDisabled_shadeEnabledFalse()
166 assertThat(underTest.disableFlags.value.isShadeEnabled()).isTrue() in disableFlags_shadeDisabled_differentDisplay_shadeEnabledTrue()
175 assertThat(underTest.disableFlags.value.isQuickSettingsEnabled()).isTrue() in disableFlags_quickSettingsNotDisabled_quickSettingsEnabledTrue()
189 assertThat(underTest.disableFlags.value.isQuickSettingsEnabled()).isFalse() in disableFlags_quickSettingsDisabled_quickSettingsEnabledFalse()
206 assertThat(underTest.disableFlags.value.isQuickSettingsEnabled()).isTrue() in disableFlags_quickSettingsDisabled_differentDisplay_quickSettingsEnabledTrue()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/domain/interactor/
DNotificationAlertsInteractorTest.kt36 val disableFlags: FakeDisableFlagsRepository constant
50 disableFlags.disableFlags.value = in create()
61 disableFlags.disableFlags.value = in disableFlags_notifAlertsDisabled_notifAlertsEnabledFalse()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorImplTest.kt101 disableFlagsRepository.disableFlags.value = in isShadeEnabled_matchesDisableFlagsRepo()
105 disableFlagsRepository.disableFlags.value = DisableFlagsModel(disable2 = DISABLE2_NONE) in isShadeEnabled_matchesDisableFlagsRepo()
139 disableFlagsRepository.disableFlags.value = in isExpandToQsEnabled_shadeNotEnabled_false()
155 disableFlagsRepository.disableFlags.value = in isExpandToQsEnabled_quickSettingsNotEnabled_false()
169 disableFlagsRepository.disableFlags.value = in isExpandToQsEnabled_dozing_false()
186 disableFlagsRepository.disableFlags.value = in isExpandToQsEnabled_userSetup_true()
203 disableFlagsRepository.disableFlags.value = in isExpandToQsEnabled_notSimpleUserSwitcher_true()
220 disableFlagsRepository.disableFlags.value = in isExpandToQsEnabled_respondsToDozingUpdates()
248 disableFlagsRepository.disableFlags.value = in isExpandToQsEnabled_respondsToDisableUpdates()
259 disableFlagsRepository.disableFlags.value = in isExpandToQsEnabled_respondsToDisableUpdates()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DQuickStepContract.java306 long disableFlags = SYSUI_STATE_SCREEN_PINNING in isAssistantGestureDisabled() local
311 if ((sysuiStateFlags & disableFlags) != 0) { in isAssistantGestureDisabled()
345 long disableFlags = SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING; in getBackGestureDisabledMask() local
347 disableFlags |= SYSUI_STATE_NAV_BAR_HIDDEN; in getBackGestureDisabledMask()
353 disableFlags |= SYSUI_STATE_NOTIFICATION_PANEL_EXPANDED; in getBackGestureDisabledMask()
355 return disableFlags; in getBackGestureDisabledMask()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorImpl.kt59 disableFlagsRepository.disableFlags in <lambda>()
65 disableFlagsRepository.disableFlags in <lambda>()
104 disableFlagsRepository.disableFlags, in <lambda>()
109 ) { disableFlags, isShadeEnabled, isDozing, isUserSetup, isDeviceProvisioned -> in <lambda>() method
115 disableFlags.isQuickSettingsEnabled() && in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DQuickSettingsControllerImplWithCoroutinesTest.kt58 mDisableFlagsRepository.disableFlags.value = in isExpansionEnabled_qsDisabled_false()
73 mDisableFlagsRepository.disableFlags.value = in isExpansionEnabled_shadeDisabled_false()
88 mDisableFlagsRepository.disableFlags.value = in isExpansionEnabled_qsAndShadeEnabled_true()
/frameworks/base/services/tests/servicestests/src/com/android/server/contentprotection/
DContentProtectionConsentManagerTest.java108 mSetFlagsRule.disableFlags(FLAG_MANAGE_DEVICE_POLICY_ENABLED); in isConsentGranted_policyFlagDisabled_packageVerifierNotGranted()
134 mSetFlagsRule.disableFlags(FLAG_MANAGE_DEVICE_POLICY_ENABLED); in isConsentGranted_policyFlagDisabled_contentProtectionNotGranted()
147 mSetFlagsRule.disableFlags(FLAG_MANAGE_DEVICE_POLICY_ENABLED); in isConsentGranted_policyFlagDisabled_packageVerifierGranted_userNotManaged()
160 mSetFlagsRule.disableFlags(FLAG_MANAGE_DEVICE_POLICY_ENABLED); in isConsentGranted_policyFlagDisabled_packageVerifierGranted_userManaged()
285 mSetFlagsRule.disableFlags(FLAG_MANAGE_DEVICE_POLICY_ENABLED); in isConsentGranted_policyFlagDisabled_packageVerifierDefault()
311 mSetFlagsRule.disableFlags(FLAG_MANAGE_DEVICE_POLICY_ENABLED); in isConsentGranted_policyFlagDisabled_contentProtectionDefault()
324 mSetFlagsRule.disableFlags(FLAG_MANAGE_DEVICE_POLICY_ENABLED); in contentObserver_policyFlagDisabled_packageVerifier()
370 mSetFlagsRule.disableFlags(FLAG_MANAGE_DEVICE_POLICY_ENABLED); in contentObserver_policyFlagDisabled_contentProtection()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DDefaultDeviceEntrySectionTest.kt110 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT) in addViewsConditionally_migrateFlagOff()
111 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_KEYGUARD_BOTTOM_AREA_REFACTOR) in addViewsConditionally_migrateFlagOff()
112 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_DEVICE_ENTRY_UDFPS_REFACTOR) in addViewsConditionally_migrateFlagOff()
120 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_DEVICE_ENTRY_UDFPS_REFACTOR) in applyConstraints_udfps_refactor_off()
145 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_DEVICE_ENTRY_UDFPS_REFACTOR) in testCenterIcon_udfps_refactor_off()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/shared/
DQSPipelineFlagsRepositoryTest.kt19 mSetFlagsRule.disableFlags(Flags.FLAG_QS_NEW_PIPELINE) in pipelineFlagDisabled()
33 mSetFlagsRule.disableFlags(Flags.FLAG_QS_NEW_TILES) in tilesFlagDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/disableflags/data/repository/
DDisableFlagsRepository.kt39 val disableFlags: StateFlow<DisableFlagsModel> constant
53 override val disableFlags: StateFlow<DisableFlagsModel> = constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DAodBurnInViewModelTest.kt71 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT) in setUp()
72 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_COMPOSE_LOCKSCREEN) in setUp()
172 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT) in translationAndScale_whenFullyDozing_MigrationFlagOff_staysOutOfTopInset()
396 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT) in translationAndScale_composeFlagOff_weatherLargeClock()
402 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_COMPOSE_LOCKSCREEN) in translationAndScale_composeFlagOff_weatherLargeClock()
DKeyguardIndicationAreaViewModelTest.kt84 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_KEYGUARD_BOTTOM_AREA_REFACTOR) in setUp()
85 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT) in setUp()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/
DSetFlagsRuleExtensions.kt23 if (value) enableFlags(name) else disableFlags(name) in SetFlagsRule()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/
DNotificationAlertsInteractor.kt32 disableFlagsRepository.disableFlags.value.areNotificationAlertsEnabled()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DServiceBindingOomAdjPolicyTest.java212 mSetFlagsRule.disableFlags(Flags.FLAG_SERVICE_BINDING_OOM_ADJ_POLICY); in testServiceSelfBindingOomAdj()
275 mSetFlagsRule.disableFlags(Flags.FLAG_SERVICE_BINDING_OOM_ADJ_POLICY); in testServiceDistinctBindingOomAdjMoreImportant()
306 mSetFlagsRule.disableFlags(Flags.FLAG_SERVICE_BINDING_OOM_ADJ_POLICY); in testServiceDistinctBindingOomAdjLessImportant()
349 mSetFlagsRule.disableFlags(Flags.FLAG_SERVICE_BINDING_OOM_ADJ_POLICY); in testServiceDistinctBindingOomAdjWaivePriority()
382 mSetFlagsRule.disableFlags(Flags.FLAG_SERVICE_BINDING_OOM_ADJ_POLICY); in testServiceDistinctBindingOomAdjNoIncludeCapabilities()
414 mSetFlagsRule.disableFlags(Flags.FLAG_SERVICE_BINDING_OOM_ADJ_POLICY); in testServiceDistinctBindingOomAdjWithIncludeCapabilities()
444 mSetFlagsRule.disableFlags(Flags.FLAG_SERVICE_BINDING_OOM_ADJ_POLICY); in testServiceDistinctBindingOomAdjFreezeCaller()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/disableflags/data/repository/
DFakeDisableFlagsRepository.kt26 override val disableFlags = MutableStateFlow(DisableFlagsModel()) constant in com.android.systemui.statusbar.disableflags.data.repository.FakeDisableFlagsRepository
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/mediator/
DScreenOnCoordinatorTest.kt126 setFlagsRule.disableFlags(Flags.FLAG_ENABLE_BACKGROUND_KEYGUARD_ONDRAWN_CALLBACK) in testUnfoldTransitionDisabledDrawnTasksReady_onScreenTurningOn_callsDrawnCallback()
140 setFlagsRule.disableFlags(Flags.FLAG_ENABLE_BACKGROUND_KEYGUARD_ONDRAWN_CALLBACK) in testUnfoldTransitionDisabledDrawnTasksReady_onScreenTurningOn_usesMainHandler()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/
DMediaProjectionTaskSwitcherCoreStartableTest.kt50 mSetFlagsRule.disableFlags(FLAG_PSS_TASK_SWITCHER) in start_flagDisabled_doesNotStartCoordinator()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowManagerTests.java51 mSetFlagsRule.disableFlags(FLAG_ENABLE_WM_EXTENSIONS_FOR_ALL_FLAG); in testHasWindowExtensionsEnabled_flagDisabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationListenerTest.java155 mSetFlagsRule.disableFlags(NotificationIconContainerRefactor.FLAG_NAME); in testOnConnectReadStatusBarSetting()
169 mSetFlagsRule.disableFlags(NotificationIconContainerRefactor.FLAG_NAME); in testOnStatusBarIconsBehaviorChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarViewTest.kt136 mSetFlagsRule.disableFlags(Flags.FLAG_TRUNCATED_STATUS_BAR_ICONS_FIX) in onAttachedToWindow_flagDisabled_doesNotUpdateWindowHeight()
166 mSetFlagsRule.disableFlags(Flags.FLAG_TRUNCATED_STATUS_BAR_ICONS_FIX) in onConfigurationChanged_flagDisabled_doesNotUpdateWindowHeight()
175 mSetFlagsRule.disableFlags(Flags.FLAG_TRUNCATED_STATUS_BAR_ICONS_FIX) in onConfigurationChanged_multipleCalls_flagDisabled_doesNotUpdateWindowHeight()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthRippleControllerTest.kt108 mSetFlagsRule.disableFlags(Flags.FLAG_DEVICE_ENTRY_UDFPS_REFACTOR) in setUp()
257 mSetFlagsRule.disableFlags(FLAG_LIGHT_REVEAL_MIGRATION) in testAnimatorRunWhenWakeAndUnlock_fingerprint()
278 mSetFlagsRule.disableFlags(FLAG_LIGHT_REVEAL_MIGRATION) in testAnimatorRunWhenWakeAndUnlock_faceUdfpsFingerDown()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java251 mSetFlagsRule.disableFlags(FLAG_BUNDLE_CLIENT_TRANSACTION_FLAG); in testTransactionResolution()
287 mSetFlagsRule.disableFlags(FLAG_BUNDLE_CLIENT_TRANSACTION_FLAG); in testDoNotLaunchDestroyedActivity()
332 mSetFlagsRule.disableFlags(FLAG_BUNDLE_CLIENT_TRANSACTION_FLAG); in testActivityResultRequiredStateResolution()
498 mSetFlagsRule.disableFlags(FLAG_BUNDLE_CLIENT_TRANSACTION_FLAG); in testActivityItemNullRecordThrowsException()
523 mSetFlagsRule.disableFlags(FLAG_BUNDLE_CLIENT_TRANSACTION_FLAG); in testActivityItemExecute()
DClientTransactionTests.java57 mSetFlagsRule.disableFlags(FLAG_BUNDLE_CLIENT_TRANSACTION_FLAG); in testPreExecute()

12345