Home
last modified time | relevance | path

Searched refs:getAudioRoute (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
DUiCallManagerTest.java249 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()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/livedata/
DAudioRouteLiveDataTest.java63 when(mMockUiCallManager.getAudioRoute(anyInt())).thenReturn(CallAudioState.ROUTE_EARPIECE); in setUp()
86 when(mMockUiCallManager.getAudioRoute(anyInt())).thenReturn(CallAudioState.ROUTE_BLUETOOTH); in callDetailChange_updateAudioRoute()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DAudioRouteLiveData.java65 int audioRoute = mUiCallManager.getAudioRoute(state); in updateOngoingCallAudioRoute()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/activecall/
DOngoingCallFragmentTest.java118 when(mockInCallViewModel.getAudioRoute()).thenReturn(new MutableLiveData<>(1)); in startFragment()
DOnGoingCallControllerBarFragmentTest.java223 when(mockInCallViewModel.getAudioRoute()).thenReturn(audioRouteLiveData); in addFragment()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DInCallViewModelTest.java130 mInCallViewModel.getAudioRoute().observeForever(s -> { }); in setup()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DUiCallManager.java170 public int getAudioRoute(int scoState) { in getAudioRoute() method in UiCallManager
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallViewModel.java280 public LiveData<Integer> getAudioRoute() { in getAudioRoute() method in InCallViewModel
DOnGoingCallControllerBarFragment.java159 mInCallViewModel.getAudioRoute().observe(this, this::updateViewBasedOnAudioRoute); in onCreate()
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivity.java278 final int audioRoute = getAudioRoute(); in setWindowFlags()
287 private static int getAudioRoute() { in getAudioRoute() method in InCallActivity