Home
last modified time | relevance | path

Searched refs:audioRoutes (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
DUiCallManagerTest.java192 List<Integer> audioRoutes = mUiCallManager.getSupportedAudioRoute(null); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll() local
193 assertThat(audioRoutes.size()).isEqualTo(3); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll()
194 assertThat(audioRoutes.contains(CallAudioState.ROUTE_EARPIECE)).isTrue(); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll()
195 assertThat(audioRoutes.contains(CallAudioState.ROUTE_SPEAKER)).isTrue(); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll()
196 assertThat(audioRoutes.contains(CallAudioState.ROUTE_BLUETOOTH)).isTrue(); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll()
206 List<Integer> audioRoutes = mUiCallManager.getSupportedAudioRoute(null); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker() local
207 assertThat(audioRoutes.size()).isEqualTo(1); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker()
208 assertThat(audioRoutes.get(0)).isEqualTo(CallAudioState.ROUTE_SPEAKER); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragment.java140 mAudioRoutes.observe(this, audioRoutes -> { in onCreate()
141 mAvailableRoutes = audioRoutes; in onCreate()
143 for (Integer audioRoute : audioRoutes) { in onCreate()
209 mAudioRoutes.observe(this, audioRoutes -> { in onCreateView()
210 if (audioRoutes.size() > 1) { in onCreateView()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DSupportedAudioRoutesLiveData.java66 List<Integer> audioRoutes = mUiCallManager.getSupportedAudioRoute(phoneAccountHandle); in updateOngoingCallSupportedAudioRoutes() local
67 setValue(audioRoutes); in updateOngoingCallSupportedAudioRoutes()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java378 List<Integer> audioRoutes = new LinkedList<>();
388 audioRoutes.add(mInCallServiceFixtureX.mCallAudioState.getRoute());
398 audioRoutes.add(CallAudioState.ROUTE_SPEAKER);
405 for (int route : audioRoutes) {
/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java2055 void setSupportedAudioRoutes(int audioRoutes) { in setSupportedAudioRoutes() argument
2056 if (mSupportedAudioRoutes != audioRoutes) { in setSupportedAudioRoutes()
2057 mSupportedAudioRoutes = audioRoutes; in setSupportedAudioRoutes()