Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java86 public static void setAdapterService(AdapterService adapterService) in setAdapterService() argument
90 Assert.assertNotNull(adapterService); in setAdapterService()
97 method.invoke(null, adapterService); in setAdapterService()
110 public static void clearAdapterService(AdapterService adapterService) in clearAdapterService() argument
113 + " supplied adapterService in this method", adapterService, in clearAdapterService()
115 Assert.assertNotNull(adapterService); in clearAdapterService()
119 method.invoke(null, adapterService); in clearAdapterService()
137 AdapterService adapterService = AdapterService.getAdapterService(); in startService() local
138 Assert.assertNotNull(adapterService); in startService()
140 + " before calling this method", MockUtil.isMock(adapterService)); in startService()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetObjectsFactory.java74 HeadsetService headsetService, AdapterService adapterService, in makeStateMachine() argument
76 return HeadsetStateMachine.make(device, looper, headsetService, adapterService, in makeStateMachine()
DHeadsetStateMachine.java170 HeadsetService headsetService, AdapterService adapterService, in HeadsetStateMachine() argument
181 mAdapterService = Objects.requireNonNull(adapterService, "AdapterService cannot be null"); in HeadsetStateMachine()
197 HeadsetService headsetService, AdapterService adapterService, in make() argument
200 new HeadsetStateMachine(device, looper, headsetService, adapterService, in make()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java206 private SdpManager(AdapterService adapterService) { in SdpManager() argument
210 sAdapterService = adapterService; in SdpManager()
216 public static SdpManager init(AdapterService adapterService) { in init() argument
217 sSdpManager = new SdpManager(adapterService); in init()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DJniCallbacks.java26 JniCallbacks(AdapterService adapterService, AdapterProperties adapterProperties) { in JniCallbacks() argument
27 mAdapterService = adapterService; in JniCallbacks()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java204 AdapterService adapterService = AdapterService.getAdapterService();
205 adapterService.enable(false);
878 AdapterService adapterService = AdapterService.getAdapterService(); in okToConnect() local
880 if (adapterService == null) { in okToConnect()
885 if (adapterService.isQuietModeEnabled() && mTargetDevice == null) { in okToConnect()
891 int bondState = adapterService.getBondState(device); in okToConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DPeriodicScanManager.java50 PeriodicScanManager(AdapterService adapterService) { in PeriodicScanManager() argument
54 mAdapterService = adapterService; in PeriodicScanManager()
DAdvertiseManager.java55 AdvertiseManager(GattService service, AdapterService adapterService) { in AdvertiseManager() argument
60 mAdapterService = adapterService; in AdvertiseManager()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java108 AdapterService adapterService = new AdapterService(); in setupClass() local
109 adapterService.initNative(false /* is_restricted */, false /* is_niap_mode */, in setupClass()
111 adapterService.cleanupNative(); in setupClass()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java887 AdapterService adapterService = AdapterService.getAdapterService(); in processConnectionEvent() local