Home
last modified time | relevance | path

Searched refs:adapterService (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DInteropUtil.java55 AdapterService adapterService = AdapterService.getAdapterService(); in interopMatchAddr() local
56 if (adapterService == null) { in interopMatchAddr()
70 boolean matched = adapterService.interopMatchAddr(feature, address); in interopMatchAddr()
84 AdapterService adapterService = AdapterService.getAdapterService(); in interopMatchName() local
85 if (adapterService == null) { in interopMatchName()
99 boolean matched = adapterService.interopMatchName(feature, name); in interopMatchName()
114 AdapterService adapterService = AdapterService.getAdapterService(); in interopMatchAddrOrName() local
115 if (adapterService == null) { in interopMatchAddrOrName()
129 boolean matched = adapterService.interopMatchAddrOrName(feature, address); in interopMatchAddrOrName()
144 AdapterService adapterService = AdapterService.getAdapterService(); in interopDatabaseAddAddr() local
[all …]
DBluetoothQualityReportNativeInterface.java119 AdapterService adapterService = AdapterService.getAdapterService(); in bqrDeliver() local
120 if (adapterService == null) { in bqrDeliver()
124 int status = adapterService.bluetoothQualityReportReadyCallback(device, bqr); in bqrDeliver()
DJniCallbacks.java29 JniCallbacks(AdapterService adapterService, AdapterProperties adapterProperties) { in JniCallbacks() argument
30 mAdapterService = adapterService; in JniCallbacks()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanObjectsFactory.java79 AdapterService adapterService, in createScanManager() argument
82 return new ScanManager(context, scanHelper, adapterService, bluetoothAdapterProxy, looper); in createScanManager()
85 public PeriodicScanManager createPeriodicScanManager(AdapterService adapterService) { in createPeriodicScanManager() argument
86 return new PeriodicScanManager(adapterService); in createPeriodicScanManager()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DTestUtils.java93 public static void setAdapterService(AdapterService adapterService) { in setAdapterService() argument
98 Assert.assertNotNull("Adapter service should not be null", adapterService); in setAdapterService()
101 AdapterService.setAdapterService(adapterService); in setAdapterService()
110 public static void clearAdapterService(AdapterService adapterService) { in clearAdapterService() argument
114 adapterService, in clearAdapterService()
116 Assert.assertNotNull("Adapter service should not be null", adapterService); in clearAdapterService()
117 AdapterService.clearAdapterService(adapterService); in clearAdapterService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHfpClientConnectionService.java143 AdapterService adapterService = AdapterService.getAdapterService(); in onConnectionStateChangedInternal() local
144 if (adapterService != null && adapterService.getRemoteDevices() != null) { in onConnectionStateChangedInternal()
145 adapterService in onConnectionStateChangedInternal()
149 adapterService.notifyProfileConnectionStateChangeToGatt( in onConnectionStateChangedInternal()
155 if (adapterService != null) { in onConnectionStateChangedInternal()
156 adapterService.updateProfileConnectionAdapterProperties( in onConnectionStateChangedInternal()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattObjectsFactory.java64 AdapterService adapterService) { in createDistanceMeasurementManager() argument
65 return new DistanceMeasurementManager(adapterService); in createDistanceMeasurementManager()
DDistanceMeasurementManager.java60 DistanceMeasurementManager(AdapterService adapterService) { in DistanceMeasurementManager() argument
61 mAdapterService = adapterService; in DistanceMeasurementManager()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetObjectsFactory.java75 AdapterService adapterService, in makeStateMachine() argument
79 device, looper, headsetService, adapterService, nativeInterface, systemInterface); in makeStateMachine()
DHeadsetService.java166 public HeadsetService(AdapterService adapterService) { in HeadsetService() argument
167 this(adapterService, HeadsetNativeInterface.getInstance(), null); in HeadsetService()
171 HeadsetService(AdapterService adapterService, HeadsetNativeInterface nativeInterface) { in HeadsetService() argument
172 this(adapterService, nativeInterface, null); in HeadsetService()
177 AdapterService adapterService, HeadsetNativeInterface nativeInterface, Looper looper) { in HeadsetService() argument
178 super(requireNonNull(adapterService)); in HeadsetService()
179 mAdapterService = adapterService; in HeadsetService()
DHeadsetStateMachine.java188 AdapterService adapterService, in HeadsetStateMachine() argument
201 mAdapterService = requireNonNull(adapterService); in HeadsetStateMachine()
202 mDatabaseManager = requireNonNull(adapterService.getDatabase()); in HeadsetStateMachine()
234 AdapterService adapterService, in make() argument
242 adapterService, in make()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassObjectsFactory.java76 AdapterService adapterService, in makeStateMachine() argument
78 return BassClientStateMachine.make(device, svc, adapterService, looper); in makeStateMachine()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppServiceCleanupTest.java50 AdapterService adapterService = new AdapterService(mTargetContext); in testStopAndCleanup() local
62 BluetoothOppService service = new BluetoothOppService(adapterService); in testStopAndCleanup()
DBluetoothOppServiceTest.java83 AdapterService adapterService = new AdapterService(mTargetContext); in setUp() local
84 mService = new BluetoothOppService(adapterService); in setUp()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sdp/
DSdpManager.java184 public SdpManager(AdapterService adapterService) { in SdpManager() argument
185 this(adapterService, Looper.myLooper()); in SdpManager()
188 public SdpManager(AdapterService adapterService, Looper looper) { in SdpManager() argument
189 mAdapterService = adapterService; in SdpManager()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java341 AdapterService adapterService = AdapterService.getAdapterService(); in onConnectionStateChanged() local
342 if (adapterService != null) { in onConnectionStateChanged()
343 adapterService.updateProfileConnectionAdapterProperties( in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java462 AdapterService adapterService = AdapterService.getAdapterService(); in handleNotificationTask() local
463 if (adapterService != null) { in handleNotificationTask()
464 pce_version = adapterService.getRemotePbapPceVersion(remoteDevice.getAddress()); in handleNotificationTask()
773 AdapterService adapterService = AdapterService.getAdapterService(); in start() local
774 if (adapterService != null) { in start()
776 adapterService.pbapPseDynamicVersionUpgradeIsEnabled(); in start()
DPbapStateMachine.java163 AdapterService adapterService = AdapterService.getAdapterService(); in broadcastConnectionState() local
164 if (adapterService != null) { in broadcastConnectionState()
165 adapterService.updateProfileConnectionAdapterProperties( in broadcastConnectionState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java115 public HapClientService(AdapterService adapterService) { in HapClientService() argument
116 this(adapterService, new HapClientNativeInterface()); in HapClientService()
120 HapClientService(AdapterService adapterService, HapClientNativeInterface nativeInterface) { in HapClientService() argument
121 super(adapterService); in HapClientService()
122 mAdapterService = Objects.requireNonNull(adapterService); in HapClientService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpService.java125 public A2dpService(AdapterService adapterService) { in A2dpService() argument
126 this(adapterService, A2dpNativeInterface.getInstance(), Looper.getMainLooper()); in A2dpService()
130 A2dpService(AdapterService adapterService, A2dpNativeInterface nativeInterface, Looper looper) { in A2dpService() argument
131 super(requireNonNull(adapterService)); in A2dpService()
132 mAdapterService = adapterService; in A2dpService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidDeviceService.java877 AdapterService adapterService = AdapterService.getAdapterService(); in setAndBroadcastConnectionState() local
878 if (adapterService != null) { in setAndBroadcastConnectionState()
879 adapterService.updateProfileConnectionAdapterProperties( in setAndBroadcastConnectionState()
DHidHostService.java139 public HidHostService(AdapterService adapterService) { in HidHostService() argument
140 super(adapterService); in HidHostService()
142 mAdapterService = requireNonNull(adapterService); in HidHostService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java1381 AdapterService adapterService = AdapterService.getAdapterService(); in broadcastConnectionStateChanged() local
1382 if (adapterService != null) { in broadcastConnectionStateChanged()
1383 adapterService.updateProfileConnectionAdapterProperties( in broadcastConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMceStateMachine.java298 AdapterService adapterService = AdapterService.getAdapterService(); in onConnectionStateChanged() local
299 if (adapterService != null) { in onConnectionStateChanged()
300 adapterService.updateProfileConnectionAdapterProperties( in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppService.java212 public BluetoothOppService(AdapterService adapterService) { in BluetoothOppService() argument
213 super(adapterService); in BluetoothOppService()
215 mAdapterService = adapterService; in BluetoothOppService()

12