Searched refs:newController (Results 1 – 3 of 3) sorted by relevance
206 MediaControllerCompat newController = mock(MediaControllerCompat.class); in testChangeMediaSource_consistentController() local207 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()
137 return newController(); in newControllerWithFeatureDisabled()143 return newController(); in newControllerWithFeatureEnabled()146 private WorkPolicyInfoPreferenceController newController() { in newController() method in WorkPolicyInfoPreferenceControllerTest
285 void updateMediaController(MediaController newController) { in updateMediaController() argument286 if (newController == mMediaController) return; in updateMediaController()288 mMediaController = newController; in updateMediaController()