/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothPreferenceController.java | 50 protected final LocalBluetoothManager mBluetoothManager; field in BluetoothPreferenceController 56 mBluetoothManager = BluetoothUtils.getLocalBtManager(context); in BluetoothPreferenceController() 65 mBluetoothManager = localBluetoothManager; in BluetoothPreferenceController() 80 return mBluetoothManager; in getBluetoothManager() 98 mBluetoothManager.getEventManager().registerCallback(this); in onStartInternal() 104 mBluetoothManager.getEventManager().unregisterCallback(this); in onStopInternal()
|
D | BluetoothPairingController.java | 55 private LocalBluetoothManager mBluetoothManager; field in BluetoothPairingController 72 mBluetoothManager = BluetoothUtils.getLocalBtManager(context); in BluetoothPairingController() 76 if (mBluetoothManager == null) { in BluetoothPairingController() 84 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController() 85 mPbapClientProfile = mBluetoothManager.getProfileManager().getPbapClientProfile(); in BluetoothPairingController()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | PairedBluetoothDevicesWorker.java | 35 private final LocalBluetoothManager mBluetoothManager; field in PairedBluetoothDevicesWorker 39 mBluetoothManager = LocalBluetoothManager.getInstance(context, /* onInitCallback= */ null); in PairedBluetoothDevicesWorker() 44 mBluetoothManager.getEventManager().registerCallback(this); in onQCItemSubscribe() 49 mBluetoothManager.getEventManager().unregisterCallback(this); in onQCItemUnsubscribe() 54 mBluetoothManager.getEventManager().unregisterCallback(this); in close()
|
D | PairedBluetoothDevices.java | 75 private final LocalBluetoothManager mBluetoothManager; field in PairedBluetoothDevices 80 mBluetoothManager = LocalBluetoothManager.getInstance(context, /* onInitCallback= */ null); in PairedBluetoothDevices() 105 mBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy(); in getQCItem() 108 Set<BluetoothDevice> bondedDevices = mBluetoothManager.getBluetoothAdapter() in getQCItem() 160 mBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy(); in onNotifyChange()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | SavedBluetoothDeviceUpdaterTest.java | 73 private LocalBluetoothManager mBluetoothManager; field in SavedBluetoothDeviceUpdaterTest 98 mBluetoothDeviceUpdater.mLocalManager = mBluetoothManager; in setUp() 104 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in setUp() 199 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_findCachedBluetoothDeviceIsMatched_addPreference() 217 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_findCachedBluetoothDeviceNotMatched_removePreference() 234 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_notFindCachedBluetoothDevice_doNothing() 249 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference() 272 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_deviceNotContain_removePreference() 291 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_deviceIsSubDevice_doesNothing()
|
D | BluetoothDetailsControllerTestBase.java | 51 protected BluetoothManager mBluetoothManager; field in BluetoothDetailsControllerTestBase 79 mBluetoothManager = mContext.getSystemService(BluetoothManager.class); in setUp() 80 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()
|
D | BluetoothDetailsHeaderControllerTest.java | 60 private LocalBluetoothManager mBluetoothManager; field in BluetoothDetailsHeaderControllerTest 71 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); in setUp() 75 mBluetoothManager); in setUp()
|
D | BluetoothSummaryUpdaterTest.java | 60 private LocalBluetoothManager mBluetoothManager; field in BluetoothSummaryUpdaterTest 83 mSummaryUpdater = new BluetoothSummaryUpdater(mContext, mListener, mBluetoothManager); in setUp() 101 verify(mBluetoothManager.getEventManager()).registerCallback(mSummaryUpdater); in register_true_shouldRegisterListener() 108 verify(mBluetoothManager.getEventManager()).unregisterCallback(mSummaryUpdater); in register_false_shouldUnregisterListener()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/ |
D | BluetoothGattServerProxy.java | 42 private BluetoothManager mBluetoothManager; field in BluetoothGattServerProxy 47 mBluetoothManager = (BluetoothManager) context.getSystemService(Context.BLUETOOTH_SERVICE); in BluetoothGattServerProxy() 51 mBluetoothGattServer = mBluetoothManager.openGattServer(mContext, callback); in open() 93 return mBluetoothManager.getConnectedDevices(BluetoothProfile.GATT_SERVER); in getConnectedDevices()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingController.java | 60 LocalBluetoothManager mBluetoothManager; field in BluetoothPairingController 83 mBluetoothManager = Utils.getLocalBtManager(context); in BluetoothPairingController() 87 if (mBluetoothManager == null) { in BluetoothPairingController() 97 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController() 98 mPbapClientProfile = mBluetoothManager.getProfileManager().getPbapClientProfile(); in BluetoothPairingController() 102 mBluetoothManager.getCachedDeviceManager().findDevice(mDevice); in BluetoothPairingController()
|
D | BluetoothSummaryUpdater.java | 42 private final LocalBluetoothManager mBluetoothManager; field in BluetoothSummaryUpdater 47 mBluetoothManager = bluetoothManager; in BluetoothSummaryUpdater() 68 mBluetoothManager.getEventManager().registerCallback(this); in register() 70 mBluetoothManager.getEventManager().unregisterCallback(this); in register()
|
D | BluetoothPairingRequest.java | 48 final LocalBluetoothManager mBluetoothManager = Utils.getLocalBtManager(context); in onReceive() local 61 || mBluetoothManager.getCachedDeviceManager().isOngoingPairByCsip(device))) { in onReceive() 90 mBluetoothManager.getCachedDeviceManager().pairDeviceByCsip(device, groupId); in onReceive()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | PeriodicAdvertisingManager.java | 67 private final IBluetoothManager mBluetoothManager; field in PeriodicAdvertisingManager 82 mBluetoothManager = mBluetoothAdapter.getBluetoothManager(); in PeriodicAdvertisingManager() 163 gatt = mBluetoothManager.getBluetoothGatt(); in registerSync() 206 gatt = mBluetoothManager.getBluetoothGatt(); in unregisterSync() 235 gatt = mBluetoothManager.getBluetoothGatt(); in transferSync() 281 gatt = mBluetoothManager.getBluetoothGatt(); in transferSetInfo()
|
D | BluetoothLeAdvertiser.java | 69 private final IBluetoothManager mBluetoothManager; field in BluetoothLeAdvertiser 88 mBluetoothManager = mBluetoothAdapter.getBluetoothManager(); in BluetoothLeAdvertiser() 444 gatt = mBluetoothManager.getBluetoothGatt(); 498 gatt = mBluetoothManager.getBluetoothGatt(); 623 advertiserId, mBluetoothManager, mAttributionSource);
|
D | BluetoothLeScanner.java | 91 private final IBluetoothManager mBluetoothManager; field in BluetoothLeScanner 107 mBluetoothManager = mBluetoothAdapter.getBluetoothManager(); in BluetoothLeScanner() 260 gatt = mBluetoothManager.getBluetoothGatt(); in startScan() 332 gatt = mBluetoothManager.getBluetoothGatt(); in stopScan()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/ |
D | LeAudioTmapGattServer.java | 144 private final BluetoothManager mBluetoothManager; field in LeAudioTmapGattServer.BluetoothGattServerProxy 154 mBluetoothManager = context.getSystemService(BluetoothManager.class); in BluetoothGattServerProxy() 163 mBluetoothGattServer = mBluetoothManager.openGattServer(mContext, callback); in open() 207 return mBluetoothManager.getConnectedDevices(BluetoothProfile.GATT_SERVER); in getConnectedDevices()
|
/packages/modules/Bluetooth/service/java/com/android/server/bluetooth/ |
D | BluetoothAirplaneModeListener.java | 86 private final BluetoothManagerService mBluetoothManager; field in BluetoothAirplaneModeListener 96 mBluetoothManager = service; in BluetoothAirplaneModeListener() 211 mAirplaneHelper.onAirplaneModeChanged(mBluetoothManager); in handleAirplaneModeChange()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java | 58 private BluetoothManager mBluetoothManager; field in BluetoothMaxConnectedAudioDevicesPreferenceControllerTest 71 doReturn(mBluetoothManager).when(mSpyContext).getSystemService(BluetoothManager.class); in setup() 72 doReturn(mBluetoothAdapter).when(mBluetoothManager).getAdapter(); in setup()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattServer.java | 48 private BluetoothManager mBluetoothManager; field in GattServer 82 mBluetoothManager = (BluetoothManager) context.getSystemService( in GattServer() 114 mGattServer = mBluetoothManager.openGattServer(mContext, mGattServerCallBack); in startGattServer()
|
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/src/android/nearby/fastpair/provider/bluetooth/ |
D | BluetoothGattServerHelper.java | 74 private final BluetoothManager mBluetoothManager; field in BluetoothGattServerHelper 101 mBluetoothManager = bluetoothManager; in BluetoothGattServerHelper() 114 mBluetoothManager.openGattServer(mContext, mGattServerCallback); in open() 203 mBluetoothManager.getConnectionState(bluetoothDevice, BluetoothProfile.GATT); in closeConnection()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | PairedBluetoothDevicesTest.java | 88 private LocalBluetoothManager mBluetoothManager; field in PairedBluetoothDevicesTest 100 when(LocalBluetoothManager.getInstance(any(), any())).thenReturn(mBluetoothManager); in setUp() 101 when(mBluetoothManager.getBluetoothAdapter()).thenReturn(mLocalBluetoothAdapter); in setUp() 105 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(deviceManager); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityHearingAidPreferenceControllerTest.java | 77 private BluetoothManager mBluetoothManager; field in AccessibilityHearingAidPreferenceControllerTest 253 mBluetoothManager = mContext.getSystemService(BluetoothManager.class); in setupBluetoothEnvironment() 254 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setupBluetoothEnvironment()
|
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/ |
D | Gatt.kt | 52 private val mBluetoothManager = context.getSystemService(BluetoothManager::class.java)!! constant in com.android.pandora.Gatt 53 private val mBluetoothAdapter = mBluetoothManager.adapter 55 private val serverManager by lazy { GattServerManager(mBluetoothManager, context, mScope) } in <lambda>()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | FastPairGattServer.java | 109 private final BluetoothManager mBluetoothManager; field in FastPairGattServer 385 mBluetoothManager = context.getSystemService(BluetoothManager.class); in FastPairGattServer() 386 mBluetoothAdapter = mBluetoothManager.getAdapter(); in FastPairGattServer() 473 mBluetoothGattServer = mBluetoothManager in start()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceRestartTest.java | 124 private BluetoothManager mBluetoothManager; field in AdapterServiceRestartTest 222 mBluetoothManager = InstrumentationRegistry.getTargetContext() in setUp() 263 .thenReturn(mBluetoothManager); in setUp()
|