/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingRequest.java | 49 final LocalBluetoothManager mBluetoothManager = Utils.getLocalBtManager(context); in onReceive() local 61 + mBluetoothManager.getCachedDeviceManager().isOngoingPairByCsip(device) in onReceive() 63 + mBluetoothManager.getCachedDeviceManager().isLateBonding(device)); in onReceive() 70 || (mBluetoothManager.getCachedDeviceManager().isOngoingPairByCsip(device) in onReceive() 71 && !mBluetoothManager.getCachedDeviceManager().isLateBonding(device)))) { in onReceive() 100 mBluetoothManager.getCachedDeviceManager().pairDeviceByCsip(device, groupId); in onReceive()
|
D | BluetoothPairingController.java | 61 LocalBluetoothManager mBluetoothManager; field in BluetoothPairingController 85 mBluetoothManager = Utils.getLocalBtManager(context); in BluetoothPairingController() 89 if (mBluetoothManager == null) { in BluetoothPairingController() 99 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController() 100 mPbapClientProfile = mBluetoothManager.getProfileManager().getPbapClientProfile(); in BluetoothPairingController() 102 mIsLateBonding = mBluetoothManager.getCachedDeviceManager().isLateBonding(mDevice); in BluetoothPairingController() 105 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()
|
/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 | 78 private final LocalBluetoothManager mBluetoothManager; field in PairedBluetoothDevices 86 mBluetoothManager = LocalBluetoothManager.getInstance(context, /* onInitCallback= */ null); in PairedBluetoothDevices() 113 mBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy(); in getQCItem() 116 Set<BluetoothDevice> bondedDevices = mBluetoothManager.getBluetoothAdapter() in getQCItem() 170 mBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy(); in onNotifyChange()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsActiveDeviceSummaryUpdater.java | 37 private final LocalBluetoothManager mBluetoothManager; field in AudioStreamsActiveDeviceSummaryUpdater 45 mBluetoothManager = Utils.getLocalBluetoothManager(context); in AudioStreamsActiveDeviceSummaryUpdater() 68 mBluetoothManager.getEventManager().registerCallback(this); in register() 70 mBluetoothManager.getEventManager().unregisterCallback(this); in register() 90 mBluetoothManager); in getSummary()
|
D | AudioStreamsHelper.java | 61 private final @Nullable LocalBluetoothManager mBluetoothManager; field in AudioStreamsHelper 65 mBluetoothManager = bluetoothManager; in AudioStreamsHelper() 66 mLeBroadcastAssistant = getLeBroadcastAssistant(mBluetoothManager); in AudioStreamsHelper() 84 mBluetoothManager, /* inSharingOnly= */ false)) { in addSource() 110 mBluetoothManager, /* inSharingOnly= */ true)) { in removeSource() 136 return getConnectedBluetoothDevices(mBluetoothManager, /* inSharingOnly= */ true).stream() in getAllConnectedSources() 340 getConnectedBluetoothDevices(mBluetoothManager, /* inSharingOnly= */ true); in startMediaService()
|
D | AudioStreamsProgressCategoryController.java | 100 private final @Nullable LocalBluetoothManager mBluetoothManager; field in AudioStreamsProgressCategoryController 111 mBluetoothManager = Utils.getLocalBtManager(mContext); in AudioStreamsProgressCategoryController() 112 mAudioStreamsHelper = new AudioStreamsHelper(mBluetoothManager); in AudioStreamsProgressCategoryController() 113 mMediaControlHelper = new MediaControlHelper(mContext, mBluetoothManager); in AudioStreamsProgressCategoryController() 131 if (mBluetoothManager != null) { in onStart() 132 mBluetoothManager.getEventManager().registerCallback(mBluetoothCallback); in onStart() 139 if (mBluetoothManager != null) { in onStop() 140 mBluetoothManager.getEventManager().unregisterCallback(mBluetoothCallback); in onStop() 459 AudioStreamsHelper.getCachedBluetoothDeviceInSharingOrLeConnected(mBluetoothManager) in init()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | SavedBluetoothDeviceUpdaterTest.java | 86 private LocalBluetoothManager mBluetoothManager; field in SavedBluetoothDeviceUpdaterTest 114 mBluetoothDeviceUpdater.mLocalManager = mBluetoothManager; in setUp() 120 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in setUp() 216 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_findCachedBluetoothDeviceIsMatched_addPreference() 234 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_findCachedBluetoothDeviceNotMatched_removePreference() 251 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_notFindCachedBluetoothDevice_doNothing() 266 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference() 289 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_deviceNotContain_removePreference() 308 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_deviceIsSubDevice_doesNothing() 326 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in update_notExclusivelyManagedDevice_addDevice() [all …]
|
D | BluetoothDetailsControllerTestBase.java | 55 protected BluetoothManager mBluetoothManager; field in BluetoothDetailsControllerTestBase 83 mBluetoothManager = mContext.getSystemService(BluetoothManager.class); in setUp() 84 mBluetoothAdapter = mBluetoothManager.getAdapter(); 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/framework/tests/bumble/src/android/bluetooth/ |
D | GattServerConnectWithoutScanTest.java | 61 private final BluetoothManager mBluetoothManager = field in GattServerConnectWithoutScanTest 63 private final BluetoothAdapter mBluetoothAdapter = mBluetoothManager.getAdapter(); 74 mBluetoothManager.openGattServer( in serverConnectToRandomAddress_withTransportAuto() 101 mBluetoothManager.openGattServer( in serverConnectToRandomAddress_withTransportLE() 127 mBluetoothManager.openGattServer( in serverConnectToPublicAddress_withTransportAuto() 149 mBluetoothManager.openGattServer( in serverConnectToPublicAddress_withTransportLE()
|
D | GattServerConnectWithScanTest.java | 75 private final BluetoothManager mBluetoothManager = field in GattServerConnectWithScanTest 77 private final BluetoothAdapter mBluetoothAdapter = mBluetoothManager.getAdapter(); 89 mBluetoothManager.openGattServer( in serverConnectToRandomAddress_withTransportAuto() 116 mBluetoothManager.openGattServer( in serverConnectToRandomAddress_withTransportLE() 145 mBluetoothManager.openGattServer( in serverConnectToPublicAddress_withTransportAuto() 169 mBluetoothManager.openGattServer( in serverConnectToPublicAddress_withTransportLE()
|
/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() 119 return mBluetoothManager.getConnectedDevices(BluetoothProfile.GATT_SERVER); in getConnectedDevices()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/ |
D | LeAudioTmapGattServer.java | 138 private final BluetoothManager mBluetoothManager; field in LeAudioTmapGattServer.BluetoothGattServerProxy 149 mBluetoothManager = context.getSystemService(BluetoothManager.class); in BluetoothGattServerProxy() 159 mBluetoothGattServer = mBluetoothManager.openGattServer(mContext, callback); in open() 204 return mBluetoothManager.getConnectedDevices(BluetoothProfile.GATT_SERVER); in getConnectedDevices()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/ |
D | BleDiscoveryAdvertiseProvider.java | 49 private BluetoothManager mBluetoothManager; field in BleDiscoveryAdvertiseProvider 81 mBluetoothManager = mContext.getSystemService(BluetoothManager.class); in BleDiscoveryAdvertiseProvider() 130 BluetoothAdapter adapter = mBluetoothManager.getAdapter(); in getBleAdvertiser()
|
D | BleDiscoveryScanProvider.java | 52 private BluetoothManager mBluetoothManager; field in BleDiscoveryScanProvider 85 mBluetoothManager = mContext.getSystemService(BluetoothManager.class); in BleDiscoveryScanProvider() 128 BluetoothAdapter adapter = mBluetoothManager.getAdapter(); in getBleScanner()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterPropertiesTest.java | 53 private BluetoothManager mBluetoothManager; field in AdapterPropertiesTest 72 mBluetoothManager = mTargetContext.getSystemService(BluetoothManager.class); in setUp() 74 .thenReturn(mBluetoothManager); in setUp()
|
/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/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | AudioRoutesManager.java | 56 private LocalBluetoothManager mBluetoothManager; field in AudioRoutesManager 104 mBluetoothManager = LocalBluetoothManager.getInstance(context, /* onInitCallback= */ null); in AudioRoutesManager() 148 mBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy().stream().toList(); in updateAudioRoutesList()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | SavedDeviceGroupControllerTest.java | 80 @Mock private BluetoothManager mBluetoothManager; field in SavedDeviceGroupControllerTest 120 when(mContext.getSystemService(BluetoothManager.class)).thenReturn(mBluetoothManager); in setUp() 121 when(mBluetoothManager.getAdapter()).thenReturn(mBluetoothAdapter); in setUp()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/ |
D | AudioRoutesManagerTest.java | 81 private LocalBluetoothManager mBluetoothManager; field in AudioRoutesManagerTest 187 when(LocalBluetoothManager.getInstance(any(), any())).thenReturn(mBluetoothManager); in initMocks() 188 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mCachedBluetoothDeviceManager); in initMocks()
|