Searched refs:disableFlags (Results 1 – 25 of 124) sorted by relevance
12345
54 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 …]
81 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 …]
36 val disableFlags: FakeDisableFlagsRepository constant50 disableFlags.disableFlags.value = in create()61 disableFlags.disableFlags.value = in disableFlags_notifAlertsDisabled_notifAlertsEnabledFalse()
101 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 …]
306 long disableFlags = SYSUI_STATE_SCREEN_PINNING in isAssistantGestureDisabled() local311 if ((sysuiStateFlags & disableFlags) != 0) { in isAssistantGestureDisabled()345 long disableFlags = SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING; in getBackGestureDisabledMask() local347 disableFlags |= SYSUI_STATE_NAV_BAR_HIDDEN; in getBackGestureDisabledMask()353 disableFlags |= SYSUI_STATE_NOTIFICATION_PANEL_EXPANDED; in getBackGestureDisabledMask()355 return disableFlags; in getBackGestureDisabledMask()
59 disableFlagsRepository.disableFlags in <lambda>()65 disableFlagsRepository.disableFlags in <lambda>()104 disableFlagsRepository.disableFlags, in <lambda>()109 ) { disableFlags, isShadeEnabled, isDozing, isUserSetup, isDeviceProvisioned -> in <lambda>() method115 disableFlags.isQuickSettingsEnabled() && in <lambda>()
58 mDisableFlagsRepository.disableFlags.value = in isExpansionEnabled_qsDisabled_false()73 mDisableFlagsRepository.disableFlags.value = in isExpansionEnabled_shadeDisabled_false()88 mDisableFlagsRepository.disableFlags.value = in isExpansionEnabled_qsAndShadeEnabled_true()
108 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()
110 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()
19 mSetFlagsRule.disableFlags(Flags.FLAG_QS_NEW_PIPELINE) in pipelineFlagDisabled()33 mSetFlagsRule.disableFlags(Flags.FLAG_QS_NEW_TILES) in tilesFlagDisabled()
39 val disableFlags: StateFlow<DisableFlagsModel> constant53 override val disableFlags: StateFlow<DisableFlagsModel> = constant
71 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()
84 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_KEYGUARD_BOTTOM_AREA_REFACTOR) in setUp()85 mSetFlagsRule.disableFlags(AConfigFlags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT) in setUp()
23 if (value) enableFlags(name) else disableFlags(name) in SetFlagsRule()
32 disableFlagsRepository.disableFlags.value.areNotificationAlertsEnabled()
212 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()
26 override val disableFlags = MutableStateFlow(DisableFlagsModel()) constant in com.android.systemui.statusbar.disableflags.data.repository.FakeDisableFlagsRepository
126 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()
50 mSetFlagsRule.disableFlags(FLAG_PSS_TASK_SWITCHER) in start_flagDisabled_doesNotStartCoordinator()
51 mSetFlagsRule.disableFlags(FLAG_ENABLE_WM_EXTENSIONS_FOR_ALL_FLAG); in testHasWindowExtensionsEnabled_flagDisabled()
155 mSetFlagsRule.disableFlags(NotificationIconContainerRefactor.FLAG_NAME); in testOnConnectReadStatusBarSetting()169 mSetFlagsRule.disableFlags(NotificationIconContainerRefactor.FLAG_NAME); in testOnStatusBarIconsBehaviorChanged()
136 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()
108 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()
251 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()
57 mSetFlagsRule.disableFlags(FLAG_BUNDLE_CLIENT_TRANSACTION_FLAG); in testPreExecute()