Home
last modified time | relevance | path

Searched refs:mBluetoothAdapter (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsBT/src/com/android/framework/externalsharedpermsbttestapp/
DExternalSharedPermsBTTest.java32 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunBluetooth() local
34 if ((mBluetoothAdapter != null) && (!mBluetoothAdapter.isEnabled())) { in testRunBluetooth()
35 mBluetoothAdapter.getName(); in testRunBluetooth()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
DExternalSharedPermsTest.java48 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunLocationAndBluetooth() local
50 if ((mBluetoothAdapter != null) && (!mBluetoothAdapter.isEnabled())) { in testRunLocationAndBluetooth()
51 mBluetoothAdapter.getName(); in testRunLocationAndBluetooth()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
DExternalSharedPermsDiffKeyTest.java46 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunBluetoothAndFineLocation() local
48 if ((mBluetoothAdapter != null) && (!mBluetoothAdapter.isEnabled())) { in testRunBluetoothAndFineLocation()
49 mBluetoothAdapter.getName(); in testRunBluetoothAndFineLocation()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeAdvertiser.java61 private BluetoothAdapter mBluetoothAdapter; field in BluetoothLeAdvertiser
77 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothLeAdvertiser()
113 BluetoothLeUtils.checkAdapterStateOn(mBluetoothAdapter); in startAdvertising()
346 BluetoothLeUtils.checkAdapterStateOn(mBluetoothAdapter);
361 boolean supportCodedPhy = mBluetoothAdapter.isLeCodedPhySupported();
362 boolean support2MPhy = mBluetoothAdapter.isLe2MPhySupported();
374 int maxData = mBluetoothAdapter.getLeMaximumAdvertisingDataLength();
387 boolean supportPeriodic = mBluetoothAdapter.isLePeriodicAdvertisingSupported();
400 && !mBluetoothAdapter.isLePeriodicAdvertisingSupported()) {
522 if (data.getIncludeDeviceName() && mBluetoothAdapter.getName() != null) {
[all …]
DBluetoothLeScanner.java84 private BluetoothAdapter mBluetoothAdapter; field in BluetoothLeScanner
95 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothLeScanner()
210 BluetoothLeUtils.checkAdapterStateOn(mBluetoothAdapter); in startScan()
266 BluetoothLeUtils.checkAdapterStateOn(mBluetoothAdapter); in stopScan()
287 BluetoothLeUtils.checkAdapterStateOn(mBluetoothAdapter); in stopScan()
305 BluetoothLeUtils.checkAdapterStateOn(mBluetoothAdapter); in flushPendingScanResults()
562 if (mBluetoothAdapter.isOffloadedFilteringSupported()) { in isSettingsConfigAllowedForScan()
597 return (mBluetoothAdapter.isOffloadedFilteringSupported() in isHardwareResourcesAvailableForScan()
598 && mBluetoothAdapter.isHardwareTrackingFiltersAvailable()); in isHardwareResourcesAvailableForScan()
DPeriodicAdvertisingManager.java56 private BluetoothAdapter mBluetoothAdapter; field in PeriodicAdvertisingManager
70 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in PeriodicAdvertisingManager()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceDiscoveryService.java82 private BluetoothAdapter mBluetoothAdapter; field in DeviceDiscoveryService
138 mBluetoothAdapter = getSystemService(BluetoothManager.class).getAdapter(); in onCreate()
139 mBLEScanner = mBluetoothAdapter.getBluetoothLeScanner(); in onCreate()
179 for (BluetoothDevice dev : emptyIfNull(mBluetoothAdapter.getBondedDevices())) { in startDiscovery()
190 mBluetoothAdapter.startDiscovery(); in startDiscovery()
242 mBluetoothAdapter.cancelDiscovery(); in stopScan()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt13042 Landroid/bluetooth/le/BluetoothLeAdvertiser;->mBluetoothAdapter:Landroid/bluetooth/BluetoothAdapter;
13079 Landroid/bluetooth/le/BluetoothLeScanner;->mBluetoothAdapter:Landroid/bluetooth/BluetoothAdapter;
13186 Landroid/bluetooth/le/PeriodicAdvertisingManager;->mBluetoothAdapter:Landroid/bluetooth/BluetoothAd…