Home
last modified time | relevance | path

Searched refs:DataUpdateTrigger (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/interactor/
DDataUpdateTrigger.kt20 sealed interface DataUpdateTrigger { interface
26 class UserInput<T>(val input: QSTileInput<T>) : DataUpdateTrigger
29 data object ForceUpdate : DataUpdateTrigger
32 data object InitialRequest : DataUpdateTrigger
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/rotation/domain/interactor/
DRotationLockTileDataInteractorTest.kt33 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
104 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_isRotationLockedMatchesRotationController()
125 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_cameraRotationMatchesBatteryController()
146 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_cameraRotationMatchesSensorPrivacyRepository()
167 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_cameraRotationMatchesAutoRotateRepository()
194 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_matchesPackageManagerPermissionDenied()
209 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_setConfigAllowRotationResolverToFalse_cameraRotationIsNotEnabled()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileDataInteractorTest.kt30 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
93 underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
104 collectLastValue(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
129 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
145 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
161 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
177 collectLastValue(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractorTest.kt37 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger in <lambda>()
162 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
183 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
219 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
248 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
270 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
292 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
314 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
336 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
357 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/base/interactor/
DFakeQSTileDataInteractor.kt33 private val mutableTriggers = mutableListOf<DataUpdateTrigger>()
34 val triggers: List<DataUpdateTrigger> = mutableTriggers
47 override fun tileData(user: UserHandle, triggers: Flow<DataUpdateTrigger>): Flow<T> { in emitData()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/interactor/
DFontScalingTileDataInteractorTest.kt25 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
44 collectValues(underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
54 collectLastValue(underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/interactor/
DFontScalingTileDataInteractor.kt20 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
32 triggers: Flow<DataUpdateTrigger>
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/work/domain/interactor/
DWorkModeTileDataInteractorTest.kt26 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
60 underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
79 underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileViewModelUserInputTest.kt26 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
99 .isInstanceOf(DataUpdateTrigger.UserInput::class.java) in userInputTriggersData()
128 .isNotInstanceOf(DataUpdateTrigger.UserInput::class.java) in disabledByPolicyUserInputIsSkipped()
157 .isNotInstanceOf(DataUpdateTrigger.UserInput::class.java) in disabledByPolicySecondRestriction_userInputIsSkipped()
192 .isNotInstanceOf(DataUpdateTrigger.UserInput::class.java) in disabledByPolicySecondRestriction_onlyFirstIsTriggered()
220 .isNotInstanceOf(DataUpdateTrigger.UserInput::class.java) in falsedUserInputIsSkipped()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/
DScreenRecordTileDataInteractor.kt20 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
37 triggers: Flow<DataUpdateTrigger>
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/
DAlarmTileDataInteractorTest.kt28 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
64 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
91 underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
110 underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/doman/interactor/
DBatterySaverTileDataInteractorTest.kt28 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
66 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_matchesBatteryControllerPowerSaving()
86 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_matchesBatteryControllerIsPluggedIn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/inversion/domain/interactor/
DColorInversionTileDataInteractor.kt21 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
38 triggers: Flow<DataUpdateTrigger> in tileData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/interactor/
DColorCorrectionTileDataInteractor.kt21 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
38 triggers: Flow<DataUpdateTrigger> in tileData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/airplane/domain/interactor/
DAirplaneModeTileDataInteractor.kt20 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
38 triggers: Flow<DataUpdateTrigger> in tileData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/location/domain/interactor/
DLocationTileDataInteractor.kt20 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
39 triggers: Flow<DataUpdateTrigger> in tileData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/work/domain/interactor/
DWorkModeTileDataInteractor.kt20 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger in <lambda>()
37 triggers: Flow<DataUpdateTrigger> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/onehanded/domain/
DOneHandedModeTileDataInteractor.kt21 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
39 triggers: Flow<DataUpdateTrigger> in tileData()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/flashlight/domain/interactor/
DFlashlightTileDataInteractorTest.kt27 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
75 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
100 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/
DDataSaverTileDataInteractor.kt21 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
39 triggers: Flow<DataUpdateTrigger> in tileData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/viewmodel/
DQSTileViewModelImpl.kt23 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger in <lambda>()
155 .map { DataUpdateTrigger.ForceUpdate } in <lambda>()
159 emit(DataUpdateTrigger.InitialRequest) in <lambda>()
188 private fun userInputFlow(user: UserHandle): Flow<DataUpdateTrigger> = in <lambda>()
200 DataUpdateTrigger.UserInput(QSTileInput(user, action, data)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/
DAlarmTileDataInteractor.kt21 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
41 triggers: Flow<DataUpdateTrigger> in tileData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/reducebrightness/domain/interactor/
DReduceBrightColorsTileDataInteractor.kt23 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
47 triggers: Flow<DataUpdateTrigger> in tileData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/flashlight/domain/interactor/
DFlashlightTileDataInteractor.kt21 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger
39 triggers: Flow<DataUpdateTrigger> in tileData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/domain/interactor/
DBatterySaverTileDataInteractor.kt21 import com.android.systemui.qs.tiles.base.interactor.DataUpdateTrigger in <lambda>()
47 triggers: Flow<DataUpdateTrigger> in <lambda>()

12