Home
last modified time | relevance | path

Searched refs:desktopModeEventLogger (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeLoggerTransitionObserverTest.kt97 private lateinit var desktopModeEventLogger: DesktopModeEventLogger variable in com.android.wm.shell.desktopmode.DesktopModeLoggerTransitionObserverTest
103 desktopModeEventLogger = mock(DesktopModeEventLogger::class.java) in setup()
107 context, mockShellInit, transitions, desktopModeEventLogger) in setup()
129 verify(desktopModeEventLogger, never()).logSessionEnter(any(), any()) in transitOpen_notFreeformWindow_doesNotLogTaskAddedOrSessionEnter()
130 verify(desktopModeEventLogger, never()).logTaskAdded(any(), any()) in transitOpen_notFreeformWindow_doesNotLogTaskAddedOrSessionEnter()
142 verify(desktopModeEventLogger, times(1)) in transitOpen_logTaskAddedAndEnterReasonAppFreeformIntent()
144 verify(desktopModeEventLogger, times(1)).logTaskAdded(eq(sessionId), any()) in transitOpen_logTaskAddedAndEnterReasonAppFreeformIntent()
145 verifyZeroInteractions(desktopModeEventLogger) in transitOpen_logTaskAddedAndEnterReasonAppFreeformIntent()
161 verify(desktopModeEventLogger, times(1)) in transitEndDragToDesktop_logTaskAddedAndEnterReasonAppHandleDrag()
163 verify(desktopModeEventLogger, times(1)).logTaskAdded(eq(sessionId), any()) in transitEndDragToDesktop_logTaskAddedAndEnterReasonAppHandleDrag()
[all …]
DDesktopModeEventLoggerTest.kt36 private val desktopModeEventLogger = DesktopModeEventLogger() constant in com.android.wm.shell.desktopmode.DesktopModeEventLoggerTest
45 desktopModeEventLogger.logSessionEnter(sessionId = SESSION_ID, EnterReason.UNKNOWN_ENTER) in <lambda>()
64 desktopModeEventLogger.logSessionExit(sessionId = SESSION_ID, ExitReason.UNKNOWN_EXIT) in <lambda>()
83 desktopModeEventLogger.logTaskAdded(sessionId = SESSION_ID, TASK_UPDATE) in <lambda>()
108 desktopModeEventLogger.logTaskRemoved(sessionId = SESSION_ID, TASK_UPDATE) in <lambda>()
133 desktopModeEventLogger.logTaskInfoChanged(sessionId = SESSION_ID, TASK_UPDATE) in logTaskInfoChanged_taskUpdate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeLoggerTransitionObserver.kt64 private val desktopModeEventLogger: DesktopModeEventLogger in <lambda>() constant
248 desktopModeEventLogger.logSessionExit( in <lambda>()
261 desktopModeEventLogger.logSessionEnter( in <lambda>()
295 desktopModeEventLogger.logTaskAdded(sessionId, buildTaskUpdateForTask(taskInfo)) in <lambda>()
302 desktopModeEventLogger.logTaskRemoved(sessionId, buildTaskUpdateForTask(taskInfo)) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/
DWMShellModule.java616 DesktopModeEventLogger desktopModeEventLogger) { in provideDesktopModeLoggerTransitionObserver() argument
618 context, shellInit, transitions, desktopModeEventLogger); in provideDesktopModeLoggerTransitionObserver()