Home
last modified time | relevance | path

Searched refs:TYPE_BLUETOOTH (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/tests/integration/util/com/android/server/
DConnectivityServiceTestUtils.kt21 import android.net.ConnectivityManager.TYPE_BLUETOOTH
36 TRANSPORT_BLUETOOTH -> TYPE_BLUETOOTH in transportToLegacyType()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallEndpointControllerTest.java137 assertEquals(CallEndpoint.TYPE_BLUETOOTH, endpoint.getEndpointType()); in testCurrentEndpointChangedToBluetooth()
179 assertEquals(CallEndpoint.TYPE_BLUETOOTH, endpoint.getEndpointType()); in testCurrentEndpointChangedBetweenBluetooth()
201 .filter(e -> e.getEndpointType() == CallEndpoint.TYPE_BLUETOOTH) in testSwitchFromEarpieceToBluetooth()
230 .filter(e -> e.getEndpointType() == CallEndpoint.TYPE_BLUETOOTH) in testBtDeviceSwitch()
235 assertEquals(CallEndpoint.TYPE_BLUETOOTH, currentEndpoint.getEndpointType()); in testBtDeviceSwitch()
289 assertEquals(CallEndpoint.TYPE_BLUETOOTH, endpoint.getEndpointType()); in testAvailableBluetoothEndpointChanged()
DCallTest.java283 when(bluetooth.getEndpointType()).thenReturn(CallEndpoint.TYPE_BLUETOOTH); in testMultipleCachedAvailableEndpointChanges()
318 when(bluetooth.getEndpointType()).thenReturn(CallEndpoint.TYPE_BLUETOOTH); in testAllCachedCallbacks()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallEndpointController.java68 mRouteToTypeMap.put(CallAudioState.ROUTE_BLUETOOTH, CallEndpoint.TYPE_BLUETOOTH); in CallEndpointController()
75 mTypeToRouteMap.put(CallEndpoint.TYPE_BLUETOOTH, CallAudioState.ROUTE_BLUETOOTH); in CallEndpointController()
301 } else if (type == CallEndpoint.TYPE_BLUETOOTH) { in createAvailableCallEndpoints()
308 CallEndpoint.TYPE_BLUETOOTH); in createAvailableCallEndpoints()
408 case CallEndpoint.TYPE_BLUETOOTH: in getEndpointName()
/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/
DMyVoipCall.java113 if (endpoint != null && endpoint.getEndpointType() == CallEndpoint.TYPE_BLUETOOTH) { in onAvailableCallEndpointsChanged()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java19 import static android.net.ConnectivityManager.TYPE_BLUETOOTH;
107 sLegacyTypeToTransport.put(TYPE_BLUETOOTH, NetworkCapabilities.TRANSPORT_BLUETOOTH); in sLegacyTypeToTransport.put() argument
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java175 .setLegacyType(ConnectivityManager.TYPE_BLUETOOTH) in startNetwork()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkTemplate.java20 import static android.net.ConnectivityManager.TYPE_BLUETOOTH;
882 if (ident.mType == TYPE_BLUETOOTH) { in matchesBluetooth()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetNetworkFactoryTest.java393 ConnectivityManager.TYPE_BLUETOOTH); in testTransportOverrideIsCorrectlySet()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java665 public static final int TYPE_BLUETOOTH = 7; field in ConnectivityManager
781 TYPE_BLUETOOTH,
1292 case TYPE_BLUETOOTH: in getNetworkTypeName()
2325 sLegacyTypeToTransport.put(TYPE_BLUETOOTH, NetworkCapabilities.TRANSPORT_BLUETOOTH); in sLegacyTypeToTransport.put() argument
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetNetworkFactory.java300 ConnectivityManager.TYPE_BLUETOOTH); in sTransports.put() argument
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/
DCSTest.kt118 TRANSPORT_BLUETOOTH -> ConnectivityManager.TYPE_BLUETOOTH
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java223 ConnectivityManager.TYPE_BLUETOOTH, TRANSPORT_BLUETOOTH); in testNetworkCapabilitiesForTypeBluetooth()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java65 import static android.net.ConnectivityManager.TYPE_BLUETOOTH;
427 mNetworkTypes.add(TYPE_BLUETOOTH); in addSupportedNetworkTypes()
467 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_BLUETOOTH)); in testIsNetworkTypeValid()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt132 field @Deprecated public static final int TYPE_BLUETOOTH = 7; // 0x7
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java49 import static android.net.ConnectivityManager.TYPE_BLUETOOTH;
1154 addSupportedType(TYPE_BLUETOOTH); in loadSupportedTypes()
12807 return TYPE_BLUETOOTH;