Home
last modified time | relevance | path

Searched refs:mBluetoothManager (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/
DBluetoothConstraintTest.java71 private BluetoothManager mBluetoothManager; field in BluetoothConstraintTest
84 doReturn(mBluetoothManager) in setUp()
98 doReturn(null).when(mBluetoothManager).getAdapter(); in testIsConnected_noBluetoothAdapter()
99 assertFalse(BluetoothConstraint.isBluetoothConnected(mBluetoothManager)); in testIsConnected_noBluetoothAdapter()
105 assertFalse(BluetoothConstraint.isBluetoothConnected(mBluetoothManager)); in testIsConnected_noConnectedDevice()
111 assertTrue(BluetoothConstraint.isBluetoothConnected(mBluetoothManager)); in testIsConnected_twoConnectedDevices()
143 when(mBluetoothManager.getAdapter().isEnabled()).thenReturn(enabled); in enableBluetooth()
144 when(mBluetoothManager.getConnectedDevices(eq(BluetoothProfile.GATT))) in enableBluetooth()
/frameworks/base/services/core/java/com/android/server/
DBluetoothAirplaneModeListener.java47 private final BluetoothManagerService mBluetoothManager; field in BluetoothAirplaneModeListener
54 mBluetoothManager = service; in BluetoothAirplaneModeListener()
125 mAirplaneHelper.onAirplaneModeChanged(mBluetoothManager); in handleAirplaneModeChange()
/frameworks/base/core/java/android/bluetooth/le/
DPeriodicAdvertisingManager.java61 private final IBluetoothManager mBluetoothManager; field in PeriodicAdvertisingManager
76 mBluetoothManager = mBluetoothAdapter.getBluetoothManager(); in PeriodicAdvertisingManager()
157 gatt = mBluetoothManager.getBluetoothGatt(); in registerSync()
199 gatt = mBluetoothManager.getBluetoothGatt(); in unregisterSync()
DBluetoothLeAdvertiser.java64 private final IBluetoothManager mBluetoothManager; field in BluetoothLeAdvertiser
83 mBluetoothManager = mBluetoothAdapter.getBluetoothManager(); in BluetoothLeAdvertiser()
438 gatt = mBluetoothManager.getBluetoothGatt();
490 gatt = mBluetoothManager.getBluetoothGatt();
610 advertiserId, mBluetoothManager, mAttributionSource);
DBluetoothLeScanner.java86 private final IBluetoothManager mBluetoothManager; field in BluetoothLeScanner
102 mBluetoothManager = mBluetoothAdapter.getBluetoothManager(); in BluetoothLeScanner()
256 gatt = mBluetoothManager.getBluetoothGatt(); in startScan()
326 gatt = mBluetoothManager.getBluetoothGatt(); in stopScan()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/deviceidle/
DBluetoothConstraint.java46 private final BluetoothManager mBluetoothManager; field in BluetoothConstraint
56 mBluetoothManager = mContext.getSystemService(BluetoothManager.class); in BluetoothConstraint()
101 final boolean connected = isBluetoothConnected(mBluetoothManager); in updateAndReportActiveLocked()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceDiscoveryService.java79 private BluetoothManager mBluetoothManager; field in CompanionDeviceDiscoveryService
138 mBluetoothManager = getSystemService(BluetoothManager.class); in onCreate()
139 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate()
187 mBluetoothManager.getConnectedDevices(BluetoothProfile.GATT))) { in startDiscovery()
191 mBluetoothManager.getConnectedDevices(BluetoothProfile.GATT_SERVER))) { in startDiscovery()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaManager.java76 private LocalBluetoothManager mBluetoothManager; field in InfoMediaManager
83 mBluetoothManager = localBluetoothManager; in InfoMediaManager()
493 mBluetoothManager.getCachedDeviceManager().findDevice(device); in addMediaDevice()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12241 Landroid/bluetooth/le/BluetoothLeAdvertiser;->mBluetoothManager:Landroid/bluetooth/IBluetoothManage…
12276 Landroid/bluetooth/le/BluetoothLeScanner;->mBluetoothManager:Landroid/bluetooth/IBluetoothManager;
12371 Landroid/bluetooth/le/PeriodicAdvertisingManager;->mBluetoothManager:Landroid/bluetooth/IBluetoothM…