Home
last modified time | relevance | path

Searched refs:OnTriggeredResult (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DFakeKeyguardQuickAffordanceConfig.kt21 … com.android.systemui.keyguard.data.quickaffordance.KeyguardQuickAffordanceConfig.OnTriggeredResult
33 var onTriggeredResult: OnTriggeredResult = OnTriggeredResult.Handled
46 ): OnTriggeredResult { in pickerName()
DHomeControlsKeyguardQuickAffordanceConfigTest.kt27 … com.android.systemui.keyguard.data.quickaffordance.KeyguardQuickAffordanceConfig.OnTriggeredResult
108 assertThat(onClickedResult).isInstanceOf(OnTriggeredResult.StartActivity::class.java) in <lambda>()
109 assertThat((onClickedResult as OnTriggeredResult.StartActivity).canShowWhileLocked).isTrue() in <lambda>()
118 assertThat(onClickedResult).isInstanceOf(OnTriggeredResult.StartActivity::class.java) in <lambda>()
119 assertThat((onClickedResult as OnTriggeredResult.StartActivity).canShowWhileLocked) in <lambda>()
DDoNotDisturbQuickAffordanceConfigTest.kt154 assertEquals(KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled, result) in onTriggered_dndModeIsNotZEN_MODE_OFF_setToZEN_MODE_OFF()
179 assertEquals(KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled, result) in onTriggered_dndModeIsZEN_MODE_OFF_settingFOREVER_setZenWithoutCondition()
204 assertEquals(KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled, result) in onTriggered_dndZEN_MODE_OFF_settingNotFOREVERorPROMPT_zenWithCondition()
225 assertTrue(result is KeyguardQuickAffordanceConfig.OnTriggeredResult.ShowDialog) in onTriggered_dndModeIsZEN_MODE_OFF_settingIsPROMPT_showDialog()
228 (result as KeyguardQuickAffordanceConfig.OnTriggeredResult.ShowDialog).expandable in onTriggered_dndModeIsZEN_MODE_OFF_settingIsPROMPT_showDialog()
DMuteQuickAffordanceConfigTest.kt125 assertEquals(KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled, result) in <lambda>()
141 assertEquals(KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled, result) in <lambda>()
DQrCodeScannerKeyguardQuickAffordanceConfigTest.kt24 … com.android.systemui.keyguard.data.quickaffordance.KeyguardQuickAffordanceConfig.OnTriggeredResult
131 OnTriggeredResult.StartActivity( in onQuickAffordanceTriggered()
DCameraQuickAffordanceConfigTest.kt84 assertEquals(KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled, result) in affordanceTriggered_cameraLaunchCalled()
DQuickAccessWalletKeyguardQuickAffordanceConfigTest.kt166 .isEqualTo(KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceConfig.kt63 fun onTriggered(expandable: Expandable?): OnTriggeredResult in pickerName()
137 sealed class OnTriggeredResult { class
142 object Handled : OnTriggeredResult()
152 ) : OnTriggeredResult()
162 ) : OnTriggeredResult()
DDoNotDisturbQuickAffordanceConfig.kt153 ): KeyguardQuickAffordanceConfig.OnTriggeredResult { in <lambda>()
155 !isAvailable -> KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in <lambda>()
158 KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in <lambda>()
161 KeyguardQuickAffordanceConfig.OnTriggeredResult.ShowDialog( in <lambda>()
167 KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in <lambda>()
171 KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in <lambda>()
DGlanceableHubQuickAffordanceConfig.kt62 ): KeyguardQuickAffordanceConfig.OnTriggeredResult { in onTriggered()
64 return KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in onTriggered()
DVideoCameraQuickAffordanceConfig.kt96 ): KeyguardQuickAffordanceConfig.OnTriggeredResult { in onTriggered()
97 return KeyguardQuickAffordanceConfig.OnTriggeredResult.StartActivity( in onTriggered()
DCameraQuickAffordanceConfig.kt87 ): KeyguardQuickAffordanceConfig.OnTriggeredResult { in onTriggered()
91 return KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in onTriggered()
DQrCodeScannerKeyguardQuickAffordanceConfig.kt89 ): KeyguardQuickAffordanceConfig.OnTriggeredResult { in onTriggered()
90 return KeyguardQuickAffordanceConfig.OnTriggeredResult.StartActivity( in onTriggered()
DFlashlightQuickAffordanceConfig.kt128 ): KeyguardQuickAffordanceConfig.OnTriggeredResult { in onTriggered()
132 return KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in onTriggered()
DMuteQuickAffordanceConfig.kt105 ): KeyguardQuickAffordanceConfig.OnTriggeredResult { in <lambda>()
120 return KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in <lambda>()
DQuickAccessWalletKeyguardQuickAffordanceConfig.kt152 ): KeyguardQuickAffordanceConfig.OnTriggeredResult { in <lambda>()
158 return KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in <lambda>()
DHomeControlsKeyguardQuickAffordanceConfig.kt127 ): KeyguardQuickAffordanceConfig.OnTriggeredResult { in <lambda>()
128 return KeyguardQuickAffordanceConfig.OnTriggeredResult.StartActivity( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfig.kt37 … com.android.systemui.keyguard.data.quickaffordance.KeyguardQuickAffordanceConfig.OnTriggeredResult in <lambda>()
144 override fun onTriggered(expandable: Expandable?): OnTriggeredResult { in <lambda>()
146 return OnTriggeredResult.Handled in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractor.kt177 is KeyguardQuickAffordanceConfig.OnTriggeredResult.StartActivity -> in <lambda>()
183 is KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled -> Unit in <lambda>()
184 is KeyguardQuickAffordanceConfig.OnTriggeredResult.ShowDialog -> in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorSceneContainerTest.kt357 KeyguardQuickAffordanceConfig.OnTriggeredResult.StartActivity( in onQuickAffordanceTriggered()
362 KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in onQuickAffordanceTriggered()
DKeyguardQuickAffordanceInteractorParameterizedTest.kt357 KeyguardQuickAffordanceConfig.OnTriggeredResult.StartActivity( in onQuickAffordanceTriggered()
362 KeyguardQuickAffordanceConfig.OnTriggeredResult.Handled in onQuickAffordanceTriggered()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardBottomAreaViewModelTest.kt690 KeyguardQuickAffordanceConfig.OnTriggeredResult.StartActivity( in setUpQuickAffordanceModel()
DKeyguardQuickAffordancesCombinedViewModelTest.kt752 KeyguardQuickAffordanceConfig.OnTriggeredResult.StartActivity( in setUpQuickAffordanceModel()