Searched refs:getAudioRoute (Results 1 – 10 of 10) sorted by relevance
249 assertThat(mUiCallManager.getAudioRoute(CallDetail.STATE_AUDIO_CONNECTED)).isEqualTo( in scoStateToAudioRoute()251 assertThat(mUiCallManager.getAudioRoute(CallDetail.STATE_AUDIO_CONNECTING)).isEqualTo( in scoStateToAudioRoute()253 assertThat(mUiCallManager.getAudioRoute(CallDetail.STATE_AUDIO_DISCONNECTED)).isEqualTo( in scoStateToAudioRoute()255 assertThat(mUiCallManager.getAudioRoute(CallDetail.STATE_AUDIO_ERROR)).isEqualTo( in scoStateToAudioRoute()
63 when(mMockUiCallManager.getAudioRoute(anyInt())).thenReturn(CallAudioState.ROUTE_EARPIECE); in setUp()86 when(mMockUiCallManager.getAudioRoute(anyInt())).thenReturn(CallAudioState.ROUTE_BLUETOOTH); in callDetailChange_updateAudioRoute()
65 int audioRoute = mUiCallManager.getAudioRoute(state); in updateOngoingCallAudioRoute()
118 when(mockInCallViewModel.getAudioRoute()).thenReturn(new MutableLiveData<>(1)); in startFragment()
223 when(mockInCallViewModel.getAudioRoute()).thenReturn(audioRouteLiveData); in addFragment()
130 mInCallViewModel.getAudioRoute().observeForever(s -> { }); in setup()
170 public int getAudioRoute(int scoState) { in getAudioRoute() method in UiCallManager
280 public LiveData<Integer> getAudioRoute() { in getAudioRoute() method in InCallViewModel
159 mInCallViewModel.getAudioRoute().observe(this, this::updateViewBasedOnAudioRoute); in onCreate()
278 final int audioRoute = getAudioRoute(); in setWindowFlags()287 private static int getAudioRoute() { in getAudioRoute() method in InCallActivity