Home
last modified time | relevance | path

Searched refs:newController (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DPlaybackViewModelTest.java206 MediaControllerCompat newController = mock(MediaControllerCompat.class); in testChangeMediaSource_consistentController() local
207 mBrowserToController.put(newMediaBrowser, newController); in testChangeMediaSource_consistentController()
211 doNothing().when(newController).registerCallback(newCallbackCaptor.capture()); in testChangeMediaSource_consistentController()
220 assertThat(mPlaybackViewModel.getMediaController()).isSameInstanceAs(newController); in testChangeMediaSource_consistentController()
232 assertThat(mPlaybackViewModel.getMediaController()).isSameInstanceAs(newController); in testChangeMediaSource_consistentController()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DWorkPolicyInfoPreferenceControllerTest.java137 return newController(); in newControllerWithFeatureDisabled()
143 return newController(); in newControllerWithFeatureEnabled()
146 private WorkPolicyInfoPreferenceController newController() { in newController() method in WorkPolicyInfoPreferenceControllerTest
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapper.java285 void updateMediaController(MediaController newController) { in updateMediaController() argument
286 if (newController == mMediaController) return; in updateMediaController()
288 mMediaController = newController; in updateMediaController()