/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/ |
D | BluetoothConstraintTest.java | 71 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/ |
D | BluetoothAirplaneModeListener.java | 47 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/ |
D | PeriodicAdvertisingManager.java | 61 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()
|
D | BluetoothLeAdvertiser.java | 64 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);
|
D | BluetoothLeScanner.java | 86 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/ |
D | BluetoothConstraint.java | 46 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/ |
D | CompanionDeviceDiscoveryService.java | 79 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/ |
D | InfoMediaManager.java | 76 private LocalBluetoothManager mBluetoothManager; field in InfoMediaManager 83 mBluetoothManager = localBluetoothManager; in InfoMediaManager() 493 mBluetoothManager.getCachedDeviceManager().findDevice(device); in addMediaDevice()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 12241 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…
|