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.java87 public static void setAdapterService(AdapterService adapterService) in setAdapterService() argument
91 Assert.assertNotNull(adapterService); in setAdapterService()
98 method.invoke(null, adapterService); in setAdapterService()
111 public static void clearAdapterService(AdapterService adapterService) in clearAdapterService() argument
114 + " supplied adapterService in this method", adapterService, in clearAdapterService()
116 Assert.assertNotNull(adapterService); in clearAdapterService()
120 method.invoke(null, adapterService); in clearAdapterService()
138 AdapterService adapterService = AdapterService.getAdapterService(); in startService() local
139 Assert.assertNotNull(adapterService); in startService()
141 + " 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.java175 HeadsetService headsetService, AdapterService adapterService, in HeadsetStateMachine() argument
186 mAdapterService = Objects.requireNonNull(adapterService, "AdapterService cannot be null"); in HeadsetStateMachine()
202 HeadsetService headsetService, AdapterService adapterService, in make() argument
205 new HeadsetStateMachine(device, looper, headsetService, adapterService, in make()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DJniCallbacks.java28 JniCallbacks(AdapterService adapterService, AdapterProperties adapterProperties) { in JniCallbacks() argument
29 mAdapterService = adapterService; in JniCallbacks()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java209 private SdpManager(AdapterService adapterService) { in SdpManager() argument
213 sAdapterService = adapterService; in SdpManager()
219 public static SdpManager init(AdapterService adapterService) { in init() argument
220 sSdpManager = new SdpManager(adapterService); in init()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java213 AdapterService adapterService = AdapterService.getAdapterService();
214 adapterService.enable(false);
893 AdapterService adapterService = AdapterService.getAdapterService(); in okToConnect() local
895 if (adapterService == null) { in okToConnect()
900 if (adapterService.isQuietModeEnabled() && mTargetDevice == null) { in okToConnect()
906 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.java123 AdapterService adapterService = new AdapterService(); in setupClass() local
124 adapterService.initNative(false /* is_restricted */, false /* is_common_criteria_mode */, in setupClass()
126 adapterService.cleanupNative(); in setupClass()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java983 AdapterService adapterService = AdapterService.getAdapterService(); in processConnectionEvent() local