Home
last modified time | relevance | path

Searched refs:ROUTE_EARPIECE (Results 1 – 17 of 17) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteTransitionTests.java426 CallAudioState.ROUTE_EARPIECE, // initialRoute in testParametersCollection()
427 CallAudioState.ROUTE_EARPIECE, // availableRoutes in testParametersCollection()
439 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // availableRoutes in testParametersCollection()
451 CallAudioState.ROUTE_EARPIECE, // availableRoutes in testParametersCollection()
467 CallAudioState.ROUTE_EARPIECE, // expectedRoute in testParametersCollection()
468 CallAudioState.ROUTE_EARPIECE, // expectedAvailableRoutes in testParametersCollection()
480 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection()
492 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection()
504 CallAudioState.ROUTE_EARPIECE, // expectedAvailableRoutes in testParametersCollection()
516 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection()
[all …]
DCallAudioRouteControllerTest.java225 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testNormalCallRouteToEarpiece()
226 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER, null, in testNormalCallRouteToEarpiece()
259 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER, null, in testVideoCallRouteToSpeaker()
283 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH in testActiveDeactivateBluetoothDevice()
290 expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testActiveDeactivateBluetoothDevice()
291 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH in testActiveDeactivateBluetoothDevice()
309 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH in testSwitchFocusForBluetoothDeviceSupportInbandRinging()
342 expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testConnectAndDisconnectWiredHeadset()
343 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER, null, in testConnectAndDisconnectWiredHeadset()
355 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER, null, in testConnectAndDisconnectDock()
[all …]
DCallAudioRouteStateMachineTest.java201 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testTrackedCallsReceiveAudioRouteChange()
202 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER); in testTrackedCallsReceiveAudioRouteChange()
208 CallAudioRouteStateMachine.ROUTE_EARPIECE); in testTrackedCallsReceiveAudioRouteChange()
250 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testSystemAudioStateIsNotUpdatedFlagOff()
251 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER); in testSystemAudioStateIsNotUpdatedFlagOff()
257 CallAudioRouteStateMachine.ROUTE_EARPIECE); in testSystemAudioStateIsNotUpdatedFlagOff()
303 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testSystemAudioStateIsUpdatedFlagOn()
304 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER); in testSystemAudioStateIsUpdatedFlagOn()
310 CallAudioRouteStateMachine.ROUTE_EARPIECE); in testSystemAudioStateIsUpdatedFlagOn()
351 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER); in testStreamRingMuteChange()
[all …]
DCallEndpointControllerTest.java71 CallAudioState.ROUTE_EARPIECE, CallAudioState.ROUTE_ALL, null, availableBluetooth1);
82 CallAudioState.ROUTE_EARPIECE, CallAudioState.ROUTE_ALL, null, availableBluetooth1);
84 CallAudioState.ROUTE_EARPIECE, CallAudioState.ROUTE_EARPIECE, null,
89 CallAudioState.ROUTE_EARPIECE, CallAudioState.ROUTE_ALL, bluetoothDevice1,
349 verify(mCallAudioManager).setAudioRoute(eq(CallAudioState.ROUTE_EARPIECE), eq(null)); in testEndpointChangeRequest()
DVideoCallTests.java144 verifyAudioRoute(CallAudioState.ROUTE_EARPIECE); in testNoAutoSpeakerphoneOnOutgoing()
159 verifyAudioRoute(CallAudioState.ROUTE_EARPIECE); in testNoAutoSpeakerphoneOnIncoming()
DBasicCallTests.java699 mInCallServiceFixtureX.mInCallAdapter.setAudioRoute(CallAudioState.ROUTE_EARPIECE, null); in testAudioManagerOperations()
1178 == CallAudioState.ROUTE_EARPIECE; in testDisconnectSelfManaged()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java109 public static final int ROUTE_EARPIECE = CallAudioState.ROUTE_EARPIECE; field in CallAudioRouteStateMachine
130 put(CallAudioState.ROUTE_EARPIECE, LogUtils.Events.AUDIO_ROUTE_EARPIECE);
196 removedRoutes |= ROUTE_EARPIECE; in processMessage()
204 addedRoutes |= ROUTE_EARPIECE; in processMessage()
288 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_EARPIECE, in enter()
455 return CallAudioState.ROUTE_EARPIECE; in getRouteCode()
542 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
637 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
818 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
941 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
[all …]
DCallEndpointController.java67 mRouteToTypeMap.put(CallAudioState.ROUTE_EARPIECE, CallEndpoint.TYPE_EARPIECE); in CallEndpointController()
74 mTypeToRouteMap.put(CallEndpoint.TYPE_EARPIECE, CallAudioState.ROUTE_EARPIECE); in CallEndpointController()
DCallAudioRouteController.java70 ROUTE_MAP.put(AudioRoute.TYPE_EARPIECE, CallAudioState.ROUTE_EARPIECE); in ROUTE_MAP.put() argument
359 } else if ((supportMask & CallAudioState.ROUTE_EARPIECE) != 0) { in initialize()
1089 routeMask |= CallAudioState.ROUTE_EARPIECE; in calculateSupportedRouteMaskInit()
DCallAudioManager.java482 case CallAudioState.ROUTE_EARPIECE: in setAudioRoute()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java93 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/
DAudioModeProvider.java30 CallAudioState.ROUTE_EARPIECE
38 new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, SUPPORTED_AUDIO_ROUTE_ALL);
107 return CallAudioState.ROUTE_EARPIECE; in getApproximatedAudioRoute()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DAudioSelectMenu.java65 initItem(earpieceButton, CallAudioState.ROUTE_EARPIECE, audioState); in AudioSelectMenu()
84 earpieceButton.setChecked(audioState.getRoute() == CallAudioState.ROUTE_EARPIECE); in setAudioState()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java102 connection.setAudioRoute(CallAudioState.ROUTE_EARPIECE);
185 case CallAudioState.ROUTE_EARPIECE: in getView()
DTestInCallUI.java305 case CallAudioState.ROUTE_EARPIECE: in updateCallAudioState()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeInCallUI.java183 case CallAudioState.ROUTE_EARPIECE: in updateCallAudioState()
/packages/apps/Dialer/java/com/android/incallui/audioroute/
DAudioRouteSelectorDialogFragment.java137 CallAudioState.ROUTE_EARPIECE, in onCreateView()