Home
last modified time | relevance | path

Searched refs:BLUETOOTH_SERVICE (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DAdapterPropertiesTest.java73 when(mAdapterService.getSystemService(Context.BLUETOOTH_SERVICE)) in setUp()
76 .thenReturn(Context.BLUETOOTH_SERVICE); in setUp()
86 verify(mAdapterService, times(1)).getSystemService(Context.BLUETOOTH_SERVICE); in setUp()
DRemoteDevicesTest.java75 when(mAdapterService.getSystemService(Context.BLUETOOTH_SERVICE)) in setUp()
78 .thenReturn(Context.BLUETOOTH_SERVICE); in setUp()
81 verify(mAdapterService, times(1)).getSystemService(Context.BLUETOOTH_SERVICE); in setUp()
DBondStateMachineTest.java94 when(mAdapterService.getSystemService(Context.BLUETOOTH_SERVICE)) in setUp()
97 .thenReturn(Context.BLUETOOTH_SERVICE); in setUp()
DAdapterServiceTest.java282 mockGetSystemService(Context.BLUETOOTH_SERVICE, BluetoothManager.class, mBluetoothManager); in setUp()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarFeatureTest.java37 private static final String BLUETOOTH_SERVICE = "car_bluetooth"; field in CarFeatureTest
61 BLUETOOTH_SERVICE,
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionServiceTest.java69 .getSystemService(Context.BLUETOOTH_SERVICE))
124 doReturn(Context.BLUETOOTH_SERVICE) in setUp()
129 .getSystemService(Context.BLUETOOTH_SERVICE); in setUp()
DHfpClientCallTest.java38 .getSystemService(Context.BLUETOOTH_SERVICE))
DHeadsetClientServiceInterfaceTest.java50 .getSystemService(Context.BLUETOOTH_SERVICE))
/packages/modules/Bluetooth/android/pandora/server/src/
DAvrcp.kt35 context.getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager
DHid.kt39 context.getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager
DL2cap.kt54 context.getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager
DAsha.kt59 context.getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothFrameworkInitializer.java101 Context.BLUETOOTH_SERVICE, in registerServiceWrappers()
DBluetoothManager.java49 @SystemService(Context.BLUETOOTH_SERVICE)
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DBluetoothGattServerProxy.java47 mBluetoothManager = (BluetoothManager) context.getSystemService(Context.BLUETOOTH_SERVICE); in BluetoothGattServerProxy()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/
DBluetoothWiFiResetPreferenceControllerTest.kt57 on { getSystemService(Context.BLUETOOTH_SERVICE) } doReturn mockBluetoothManager in <lambda>()
/packages/services/Car/service/src/com/android/car/
DCarFeatureController.java70 private static final String BLUETOOTH_SERVICE = "car_bluetooth"; field in CarFeatureController
93 BLUETOOTH_SERVICE,
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkConfirmFragment.java106 context.getSystemService(Context.BLUETOOTH_SERVICE); in resetNetwork()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattServer.java83 Service.BLUETOOTH_SERVICE); in GattServer()
/packages/apps/Settings/src/com/android/settings/network/
DResetNetworkOperationBuilder.java192 attachSystemServiceWork(Context.BLUETOOTH_SERVICE, in resetBluetoothManager()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetNetworkConfirmFragmentTest.java116 when(mContext.getSystemService(Context.BLUETOOTH_SERVICE)).thenReturn( in setUp()