Searched refs:mMediator (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/wm/taskview/ |
D | RootTaskMediatorTest.java | 54 private RootTaskMediator mMediator; field in RootTaskMediatorTest 91 mMediator = new RootTaskMediator(1, /* isLaunchRoot= */ true, /* embedHomeTask= */ false, in onTaskAppeared_setsRootTask() 96 mMediator.onTaskAppeared(taskInfo, null); in onTaskAppeared_setsRootTask() 98 assertThat(mMediator.getRootTask()).isEqualTo(taskInfo); in onTaskAppeared_setsRootTask() 103 mMediator = new RootTaskMediator(1, /* isLaunchRoot= */ true, /* embedHomeTask= */ false, in onTaskAppeared_withIsLaunchRoot_setsLaunchRootTask() 109 mMediator.onTaskAppeared(rootTaskInfo, null); in onTaskAppeared_withIsLaunchRoot_setsLaunchRootTask() 111 assertThat(mMediator.getRootTask()).isEqualTo(rootTaskInfo); in onTaskAppeared_withIsLaunchRoot_setsLaunchRootTask() 116 mMediator = new RootTaskMediator(1, /* isLaunchRoot= */ true, /* embedHomeTask= */ false, in onTaskAppeared_withIsLaunchRoot_callsCarActivityManager() 121 mMediator.onTaskAppeared(launchRootTask, null); in onTaskAppeared_withIsLaunchRoot_callsCarActivityManager() 124 mMediator.onTaskAppeared(taskInfo, null); in onTaskAppeared_withIsLaunchRoot_callsCarActivityManager() [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | CurrentPositionMediatorTest.java | 34 private TimeShiftManager.CurrentPositionMediator mMediator; field in CurrentPositionMediatorTest 40 mMediator = mActivity.getTimeShiftManager().mCurrentPositionMediator; in setUp() 47 mMediator.initialize(currentTimeMs); in testInitialize() 55 mMediator.onSeekRequested(seekToTimeMs); in testOnSeekRequested() 57 .that(mMediator.mSeekRequestTimeMs) in testOnSeekRequested() 60 .that(mMediator.mCurrentPositionMs) in testOnSeekRequested() 69 mMediator.onSeekRequested(seekToTimeMs); in testOnCurrentPositionChangedInvalidInput() 70 mMediator.onCurrentPositionChanged(newCurrentTimeMs); in testOnCurrentPositionChangedInvalidInput() 72 .that(mMediator.mSeekRequestTimeMs) in testOnCurrentPositionChangedInvalidInput() 75 .that(mMediator.mCurrentPositionMs) in testOnCurrentPositionChangedInvalidInput() [all …]
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | WatchdogBinderMediatorTest.cpp | 79 explicit WatchdogBinderMediatorPeer(WatchdogBinderMediator* mediator) : mMediator(mediator) {} in WatchdogBinderMediatorPeer() 83 mMediator->mWatchdogInternalHandler = watchdogInternalHandler; in setWatchdogInternalHandler() 87 WatchdogBinderMediator* mMediator; member in android::automotive::watchdog::internal::WatchdogBinderMediatorPeer
|