/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/analytics/ |
D | QSTileAnalytics.kt | 23 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/ |
D | QSTileLogger.kt | 28 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/ |
D | QSTileUserAction.kt | 21 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/ |
D | QSTileLoggerTest.kt | 30 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/ |
D | QSTileInputTestKtx.kt | 21 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/ |
D | QSTileViewModelImpl.kt | 33 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/ |
D | QRCodeScannerTileUserActionInteractor.kt | 23 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/ |
D | OneHandedModeTileUserActionInteractor.kt | 26 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/ |
D | WorkModeTileUserActionInteractor.kt | 25 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/ |
D | ReduceBrightColorsTileUserActionInteractor.kt | 26 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/ |
D | ColorCorrectionUserActionInteractor.kt | 26 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/ |
D | RotationLockTileUserActionInteractor.kt | 25 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/ |
D | BatterySaverTileUserActionInteractor.kt | 25 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/ |
D | ColorInversionUserActionInteractor.kt | 26 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/ |
D | AlarmTileUserActionInteractor.kt | 25 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/ |
D | AirplaneModeTileUserActionInteractor.kt | 26 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/ |
D | UiModeNightTileUserActionInteractor.kt | 27 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/ |
D | QSTileInput.kt | 20 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/ |
D | QSTileAnalyticsTest.kt | 27 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/ |
D | InternetTileUserActionInteractor.kt | 27 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/ |
D | NightDisplayTileUserActionInteractor.kt | 30 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/ |
D | LocationTileUserActionInteractor.kt | 28 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/ |
D | SensorPrivacyToggleTileUserActionInteractor.kt | 30 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/ |
D | FontScalingTileUserActionInteractor.kt | 31 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/ |
D | FlashlightTileUserActionInteractor.kt | 23 import com.android.systemui.qs.tiles.viewmodel.QSTileUserAction 37 is QSTileUserAction.Click -> { in handleInput()
|