/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 86 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/ |
D | HeadsetObjectsFactory.java | 74 HeadsetService headsetService, AdapterService adapterService, in makeStateMachine() argument 76 return HeadsetStateMachine.make(device, looper, headsetService, adapterService, in makeStateMachine()
|
D | HeadsetStateMachine.java | 170 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/ |
D | SdpManager.java | 206 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/ |
D | JniCallbacks.java | 26 JniCallbacks(AdapterService adapterService, AdapterProperties adapterProperties) { in JniCallbacks() argument 27 mAdapterService = adapterService; in JniCallbacks()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 204 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/ |
D | PeriodicScanManager.java | 50 PeriodicScanManager(AdapterService adapterService) { in PeriodicScanManager() argument 54 mAdapterService = adapterService; in PeriodicScanManager()
|
D | AdvertiseManager.java | 55 AdvertiseManager(GattService service, AdapterService adapterService) { in AdvertiseManager() argument 60 mAdapterService = adapterService; in AdvertiseManager()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 108 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/ |
D | HeadsetClientStateMachine.java | 887 AdapterService adapterService = AdapterService.getAdapterService(); in processConnectionEvent() local
|