/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteTransitionTests.java | 400 CallAudioState.ROUTE_EARPIECE, // initialRoute in testParametersCollection() 401 CallAudioState.ROUTE_EARPIECE, // availableRoutes in testParametersCollection() 413 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // availableRoutes in testParametersCollection() 425 CallAudioState.ROUTE_EARPIECE, // availableRoutes in testParametersCollection() 441 CallAudioState.ROUTE_EARPIECE, // expectedRoute in testParametersCollection() 442 CallAudioState.ROUTE_EARPIECE, // expectedAvailableRoutes in testParametersCollection() 454 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection() 466 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection() 478 CallAudioState.ROUTE_EARPIECE, // expectedAvailableRoutes in testParametersCollection() 490 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection() [all …]
|
D | CallAudioRouteStateMachineTest.java | 177 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER); in testSpeakerPersistence() 216 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff() 226 CallAudioState.ROUTE_EARPIECE, in testUserBluetoothSwitchOff() 227 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff() 261 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOffAndOnAgain() 273 CallAudioState.ROUTE_EARPIECE, in testUserBluetoothSwitchOffAndOnAgain() 274 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() 294 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() 336 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testBluetoothRinging() 368 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testConnectBluetoothDuringRinging() [all …]
|
D | VideoCallTests.java | 142 verifyAudioRoute(CallAudioState.ROUTE_EARPIECE); in testNoAutoSpeakerphoneOnOutgoing() 157 verifyAudioRoute(CallAudioState.ROUTE_EARPIECE); in testNoAutoSpeakerphoneOnIncoming()
|
D | BasicCallTests.java | 619 mInCallServiceFixtureX.mInCallAdapter.setAudioRoute(CallAudioState.ROUTE_EARPIECE, null); in testAudioManagerOperations() 1088 == CallAudioState.ROUTE_EARPIECE; in testDisconnectSelfManaged()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRouteStateMachine.java | 99 public static final int ROUTE_EARPIECE = CallAudioState.ROUTE_EARPIECE; field in CallAudioRouteStateMachine 170 put(CallAudioState.ROUTE_EARPIECE, LogUtils.Events.AUDIO_ROUTE_EARPIECE); 275 removedRoutes |= ROUTE_EARPIECE; in processMessage() 283 addedRoutes |= ROUTE_EARPIECE; in processMessage() 363 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_EARPIECE, in enter() 504 return CallAudioState.ROUTE_EARPIECE; in getRouteCode() 582 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage() 660 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage() 820 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage() 923 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage() [all …]
|
D | CallAudioManager.java | 416 case CallAudioState.ROUTE_EARPIECE: in setAudioRoute()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailAudioManager.java | 93 newRoute = CallAudioState.ROUTE_EARPIECE; in onWiredHeadsetPluggedInChanged() 204 routeMask |= CallAudioState.ROUTE_EARPIECE; in calculateSupportedRoutes() 220 route = CallAudioState.ROUTE_EARPIECE; in selectWiredOrEarpiece() 237 } else if (this.callAudioState.getRoute() == CallAudioState.ROUTE_EARPIECE in setSystemAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/audiomode/ |
D | AudioModeProvider.java | 30 CallAudioState.ROUTE_EARPIECE 38 new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, SUPPORTED_AUDIO_ROUTE_ALL); 106 return CallAudioState.ROUTE_EARPIECE; in getApproximatedAudioRoute()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | UiCallManager.java | 190 audioRouteList.add(CallAudioState.ROUTE_EARPIECE); in getSupportedAudioRoute() 195 if ((supportedAudioRouteMask & CallAudioState.ROUTE_EARPIECE) != 0) { in getSupportedAudioRoute() 196 audioRouteList.add(CallAudioState.ROUTE_EARPIECE); in getSupportedAudioRoute() 237 return CallAudioState.ROUTE_EARPIECE; in getAudioRoute()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/ |
D | AudioRouteLiveDataTest.java | 73 when(mMockUiCallManager.getAudioRoute()).thenReturn(CallAudioState.ROUTE_EARPIECE); in setUp() 100 assertThat(mAudioRouteLiveData.getValue()).isEqualTo(CallAudioState.ROUTE_EARPIECE); in testOnBluetoothHfpStateChange() 101 assertThat(valueCaptor.getValue()).isEqualTo(CallAudioState.ROUTE_EARPIECE); in testOnBluetoothHfpStateChange()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | AudioSelectMenu.java | 65 initItem(earpieceButton, CallAudioState.ROUTE_EARPIECE, audioState); in AudioSelectMenu() 84 earpieceButton.setChecked(audioState.getRoute() == CallAudioState.ROUTE_EARPIECE); in setAudioState()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/ |
D | UiCallManagerTest.java | 242 assertThat(supportedAudioRoute.get(1)).isEqualTo(CallAudioState.ROUTE_EARPIECE); in testGetSupportedAudioRoute_isBluetoothCall() 266 .isEqualTo(CallAudioState.ROUTE_EARPIECE); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedCallListAdapter.java | 102 connection.setAudioRoute(CallAudioState.ROUTE_EARPIECE); 183 case CallAudioState.ROUTE_EARPIECE: in getView()
|
D | TestInCallUI.java | 257 case CallAudioState.ROUTE_EARPIECE: in updateCallAudioState()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragment.java | 66 .put(CallAudioState.ROUTE_EARPIECE, new AudioRouteInfo( 108 if (mAvailableRoutes.contains(CallAudioState.ROUTE_EARPIECE) in onCreate()
|
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | CarModeInCallUI.java | 183 case CallAudioState.ROUTE_EARPIECE: in updateCallAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/audioroute/ |
D | AudioRouteSelectorDialogFragment.java | 137 CallAudioState.ROUTE_EARPIECE, in onCreateView()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragmentTest.java | 170 mAudioRouteList.add(CallAudioState.ROUTE_EARPIECE); in testAudioRouteButtonView_withMultipleAudioRoutes()
|