Searched refs:TYPE_SPEAKER (Results 1 – 6 of 6) sorted by relevance
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | AudioRoute.java | 114 public static final int TYPE_SPEAKER = 3; field in AudioRoute 124 TYPE_SPEAKER, 156 DEVICE_TYPE_STRINGS.put(TYPE_SPEAKER, "TYPE_SPEAKER"); in DEVICE_TYPE_STRINGS.put() argument 169 DEVICE_INFO_TYPETO_AUDIO_ROUTE_TYPE.put(AudioDeviceInfo.TYPE_BUILTIN_SPEAKER, TYPE_SPEAKER); in DEVICE_INFO_TYPETO_AUDIO_ROUTE_TYPE.put() argument 206 AUDIO_ROUTE_TYPE_TO_DEVICE_INFO_TYPE.put(TYPE_SPEAKER, speakerDeviceInfoTypes); in AUDIO_ROUTE_TYPE_TO_DEVICE_INFO_TYPE.put() argument 266 } else if (mAudioRouteType == TYPE_SPEAKER) { in onDestRouteAsPendingRoute() 305 if (mAudioRouteType == TYPE_SPEAKER) { in onOrigRouteAsPendingRoute()
|
D | CallAudioRouteController.java | 21 import static com.android.server.telecom.AudioRoute.TYPE_SPEAKER; 72 ROUTE_MAP.put(AudioRoute.TYPE_SPEAKER, CallAudioState.ROUTE_SPEAKER); in ROUTE_MAP.put() argument 119 if (mCurrentRoute.getType() != AudioRoute.TYPE_SPEAKER) { 339 mSpeakerDockRoute = mAudioRouteFactory.create(AudioRoute.TYPE_SPEAKER, null, in initialize() 344 mTypeRoutes.put(AudioRoute.TYPE_SPEAKER, mSpeakerDockRoute); in initialize() 483 if (active && mPendingAudioRoute.getDestRoute().getType() == TYPE_SPEAKER) { in routeTo() 584 AudioRoute speakerRoute = mTypeRoutes.get(AudioRoute.TYPE_SPEAKER); in handleDockDisconnected() 907 } else if (mCurrentRoute.getType() == AudioRoute.TYPE_SPEAKER) { in handleSpeakerOff()
|
D | CallEndpointController.java | 70 mRouteToTypeMap.put(CallAudioState.ROUTE_SPEAKER, CallEndpoint.TYPE_SPEAKER); in CallEndpointController() 77 mTypeToRouteMap.put(CallEndpoint.TYPE_SPEAKER, CallAudioState.ROUTE_SPEAKER); in CallEndpointController() 412 case CallEndpoint.TYPE_SPEAKER: in getEndpointName()
|
/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/ |
D | MyVoipCall.java | 110 if (endpoint != null && endpoint.getEndpointType() == CallEndpoint.TYPE_SPEAKER) { in onAvailableCallEndpointsChanged()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteControllerTest.java | 170 mSpeakerRoute = new AudioRoute(AudioRoute.TYPE_SPEAKER, null, null); in setUp() 254 assertEquals(AudioRoute.TYPE_SPEAKER, pendingRoute.getDestRoute().getType()); in testVideoCallRouteToSpeaker()
|
D | CallTest.java | 250 when(speaker.getEndpointType()).thenReturn(CallEndpoint.TYPE_SPEAKER); in testMultipleCachedCurrentEndpointChanges() 266 assertEquals(CallEndpoint.TYPE_SPEAKER, in testMultipleCachedCurrentEndpointChanges()
|