Searched refs:TYPE_EARPIECE (Results 1 – 7 of 7) sorted by relevance
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | AudioRoute.java | 112 public static final int TYPE_EARPIECE = 1; field in AudioRoute 122 TYPE_EARPIECE, 154 DEVICE_TYPE_STRINGS.put(TYPE_EARPIECE, "TYPE_EARPIECE"); in DEVICE_TYPE_STRINGS.put() argument 168 TYPE_EARPIECE); in DEVICE_INFO_TYPETO_AUDIO_ROUTE_TYPE.put() argument 194 AUDIO_ROUTE_TYPE_TO_DEVICE_INFO_TYPE.put(TYPE_EARPIECE, earpieceDeviceInfoTypes); in AUDIO_ROUTE_TYPE_TO_DEVICE_INFO_TYPE.put() argument
|
D | CallEndpointController.java | 67 mRouteToTypeMap.put(CallAudioState.ROUTE_EARPIECE, CallEndpoint.TYPE_EARPIECE); in CallEndpointController() 74 mTypeToRouteMap.put(CallEndpoint.TYPE_EARPIECE, CallAudioState.ROUTE_EARPIECE); in CallEndpointController() 406 case CallEndpoint.TYPE_EARPIECE: in getEndpointName()
|
D | CallAudioRouteController.java | 70 ROUTE_MAP.put(AudioRoute.TYPE_EARPIECE, CallAudioState.ROUTE_EARPIECE); in ROUTE_MAP.put() argument 361 mEarpieceWiredRoute = mAudioRouteFactory.create(AudioRoute.TYPE_EARPIECE, null, in initialize() 366 mTypeRoutes.put(AudioRoute.TYPE_EARPIECE, mEarpieceWiredRoute); in initialize() 545 AudioRoute earpieceRoute = mTypeRoutes.get(AudioRoute.TYPE_EARPIECE); in handleWiredHeadsetDisconnected() 811 AudioRoute earpieceRoute = mTypeRoutes.get(AudioRoute.TYPE_EARPIECE); in handleSwitchEarpiece() 1059 if (skipEarpiece && defaultRoute.getType() == AudioRoute.TYPE_EARPIECE) { in getPreferredAudioRouteFromDefault()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallEndpointControllerTest.java | 205 assertEquals(CallEndpoint.TYPE_EARPIECE, in testSwitchFromEarpieceToBluetooth() 267 assertEquals(CallEndpoint.TYPE_EARPIECE, endpoint.getEndpointType()); in testAvailableEndpointChanged() 310 assertEquals(CallEndpoint.TYPE_EARPIECE, endpoint.getEndpointType()); in testMuteStateChanged() 329 assertEquals(CallEndpoint.TYPE_EARPIECE, endpoint.getEndpointType()); in testNotifyForcely()
|
D | CallTest.java | 249 when(earpiece.getEndpointType()).thenReturn(CallEndpoint.TYPE_EARPIECE); in testMultipleCachedCurrentEndpointChanges() 282 when(earpiece.getEndpointType()).thenReturn(CallEndpoint.TYPE_EARPIECE); in testMultipleCachedAvailableEndpointChanges() 317 when(earpiece.getEndpointType()).thenReturn(CallEndpoint.TYPE_EARPIECE); in testAllCachedCallbacks() 344 assertEquals(CallEndpoint.TYPE_EARPIECE, in testAllCachedCallbacks()
|
D | CallAudioRouteControllerTest.java | 169 mEarpieceRoute = new AudioRoute(AudioRoute.TYPE_EARPIECE, null, null); in setUp() 223 assertEquals(AudioRoute.TYPE_EARPIECE, pendingRoute.getDestRoute().getType()); in testNormalCallRouteToEarpiece() 241 assertEquals(AudioRoute.TYPE_EARPIECE, pendingRoute.getDestRoute().getType()); in testVideoCallHoldRouteToEarpiece()
|
/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/ |
D | MyVoipCall.java | 107 if (endpoint != null && endpoint.getEndpointType() == CallEndpoint.TYPE_EARPIECE) { in onAvailableCallEndpointsChanged()
|