Searched refs:audioRoutes (Results 1 – 5 of 5) sorted by relevance
192 List<Integer> audioRoutes = mUiCallManager.getSupportedAudioRoute(null); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll() local193 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() local207 assertThat(audioRoutes.size()).isEqualTo(1); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker()208 assertThat(audioRoutes.get(0)).isEqualTo(CallAudioState.ROUTE_SPEAKER); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker()
140 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()
66 List<Integer> audioRoutes = mUiCallManager.getSupportedAudioRoute(phoneAccountHandle); in updateOngoingCallSupportedAudioRoutes() local67 setValue(audioRoutes); in updateOngoingCallSupportedAudioRoutes()
378 List<Integer> audioRoutes = new LinkedList<>();388 audioRoutes.add(mInCallServiceFixtureX.mCallAudioState.getRoute());398 audioRoutes.add(CallAudioState.ROUTE_SPEAKER);405 for (int route : audioRoutes) {
2055 void setSupportedAudioRoutes(int audioRoutes) { in setSupportedAudioRoutes() argument2056 if (mSupportedAudioRoutes != audioRoutes) { in setSupportedAudioRoutes()2057 mSupportedAudioRoutes = audioRoutes; in setSupportedAudioRoutes()