Home
last modified time | relevance | path

Searched refs:QSTileUserAction (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/analytics/
DQSTileAnalytics.kt23 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
34 fun trackUserAction(config: QSTileConfig, action: QSTileUserAction) { in trackUserAction()
38 private fun logAction(config: QSTileConfig, action: QSTileUserAction) { in logAction()
47 private fun QSTileUserAction.getQSEvent(): QSEvent = in getQSEvent() method
49 is QSTileUserAction.Click -> QSEvent.QS_ACTION_CLICK in getQSEvent()
50 is QSTileUserAction.LongClick -> QSEvent.QS_ACTION_LONG_PRESS in getQSEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/logging/
DQSTileLogger.kt28 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
47 userAction: QSTileUserAction, in logUserAction()
74 userAction: QSTileUserAction, in logUserActionRejectedByFalsing()
89 userAction: QSTileUserAction, in logUserActionRejectedByPolicy()
108 userAction: QSTileUserAction, in logUserActionPipeline()
222 private fun QSTileUserAction.toLogString(): String = in toLogString() method
224 is QSTileUserAction.Click -> "click" in toLogString()
225 is QSTileUserAction.LongClick -> "long click" in toLogString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileUserAction.kt21 sealed interface QSTileUserAction { interface
25 class Click(override val expandable: Expandable?) : QSTileUserAction
26 class LongClick(override val expandable: Expandable?) : QSTileUserAction
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/base/logging/
DQSTileLoggerTest.kt30 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
66 QSTileUserAction.Click(null), in testChattyLog()
70 QSTileUserAction.Click(null), in testChattyLog()
82 QSTileUserAction.Click(null), in testLogUserAction()
95 QSTileUserAction.Click(null), in testLogUserActionRejectedByFalsing()
105 QSTileUserAction.Click(null), in testLogUserActionRejectedByPolicy()
117 QSTileUserAction.Click(null), in testLogUserActionPipeline()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/base/interactor/
DQSTileInputTestKtx.kt21 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
29 ): QSTileInput<T> = QSTileInput(user, QSTileUserAction.Click(expandable), data)
35 ): QSTileInput<T> = QSTileInput(user, QSTileUserAction.LongClick(expandable), data)
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/viewmodel/
DQSTileViewModelImpl.kt33 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction in <lambda>()
89 private val userInputs: MutableSharedFlow<QSTileUserAction> = MutableSharedFlow() in <lambda>()
127 override fun onActionPerformed(userAction: QSTileUserAction) { in <lambda>()
208 private fun Flow<QSTileUserAction>.filterByPolicy(user: UserHandle): Flow<QSTileUserAction> = in <lambda>()
226 private fun Flow<QSTileUserAction>.filterFalseActions(): Flow<QSTileUserAction> = in <lambda>()
230 is QSTileUserAction.Click -> in <lambda>()
232 is QSTileUserAction.LongClick -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/qr/domain/interactor/
DQRCodeScannerTileUserActionInteractor.kt23 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
36 is QSTileUserAction.Click -> { in handleInput()
47 is QSTileUserAction.LongClick -> {} // no-op in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/onehanded/domain/
DOneHandedModeTileUserActionInteractor.kt26 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
40 is QSTileUserAction.Click -> { in handleInput()
46 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/work/domain/interactor/
DWorkModeTileUserActionInteractor.kt25 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
39 is QSTileUserAction.Click -> { in handleInput()
44 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/reducebrightness/domain/interactor/
DReduceBrightColorsTileUserActionInteractor.kt26 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
40 is QSTileUserAction.Click -> { in handleInput()
45 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/interactor/
DColorCorrectionUserActionInteractor.kt26 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
40 is QSTileUserAction.Click -> { in handleInput()
46 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/domain/interactor/
DRotationLockTileUserActionInteractor.kt25 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
40 is QSTileUserAction.Click -> { in handleInput()
43 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/domain/interactor/
DBatterySaverTileUserActionInteractor.kt25 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
40 is QSTileUserAction.Click -> { in handleInput()
45 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/inversion/domain/interactor/
DColorInversionUserActionInteractor.kt26 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
40 is QSTileUserAction.Click -> { in handleInput()
46 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/
DAlarmTileUserActionInteractor.kt25 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
37 is QSTileUserAction.Click -> { in handleInput()
51 is QSTileUserAction.LongClick -> {} in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/airplane/domain/interactor/
DAirplaneModeTileUserActionInteractor.kt26 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
41 is QSTileUserAction.Click -> { in handleInput()
54 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/interactor/
DUiModeNightTileUserActionInteractor.kt27 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
44 is QSTileUserAction.Click -> { in handleInput()
51 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/interactor/
DQSTileInput.kt20 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
25 val action: QSTileUserAction,
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/base/analytics/
DQSTileAnalyticsTest.kt27 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
53 underTest.trackUserAction(config, QSTileUserAction.Click(null)) in testClickIsLogged()
66 underTest.trackUserAction(config, QSTileUserAction.LongClick(null)) in testLongClickIsLogged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileUserActionInteractor.kt27 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
46 is QSTileUserAction.Click -> { in handleInput()
56 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/night/domain/interactor/
DNightDisplayTileUserActionInteractor.kt30 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
44 is QSTileUserAction.Click -> { in handleInput()
52 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/location/domain/interactor/
DLocationTileUserActionInteractor.kt28 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
51 is QSTileUserAction.Click -> { in handleInput()
65 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/sensorprivacy/domain/
DSensorPrivacyToggleTileUserActionInteractor.kt30 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
58 is QSTileUserAction.Click -> { in create()
72 is QSTileUserAction.LongClick -> { in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/interactor/
DFontScalingTileUserActionInteractor.kt31 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
54 is QSTileUserAction.Click -> { in handleInput()
86 is QSTileUserAction.LongClick -> { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/flashlight/domain/interactor/
DFlashlightTileUserActionInteractor.kt23 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction
37 is QSTileUserAction.Click -> { in handleInput()

12