Searched refs:leadDevice (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingUtils.java | 139 CachedBluetoothDevice leadDevice = getLeadDevice(devices); in buildOrderedConnectedLeadDevices() local 140 if (leadDevice == null) { in buildOrderedConnectedLeadDevices() 145 && !BluetoothUtils.hasConnectedBroadcastSource(leadDevice, localBtManager)) { in buildOrderedConnectedLeadDevices() 149 + leadDevice.getDevice().getAnonymizedAddress()); in buildOrderedConnectedLeadDevices() 152 orderedDevices.add(leadDevice); in buildOrderedConnectedLeadDevices() 195 CachedBluetoothDevice leadDevice = devices.get(0); in getLeadDevice() local 199 + leadDevice.getDevice().getAnonymizedAddress()); in getLeadDevice() 200 return leadDevice; in getLeadDevice()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioServiceTest.java | 2308 BluetoothDevice leadDevice; in testLeadGroupDeviceDisconnects() local 2315 leadDevice = mService.getConnectedGroupLeadDevice(groupId); in testLeadGroupDeviceDisconnects() 2316 if (Objects.equals(leadDevice, mLeftDevice)) { in testLeadGroupDeviceDisconnects() 2320 assertThat(mService.setActiveDevice(leadDevice)).isFalse(); in testLeadGroupDeviceDisconnects() 2332 assertThat(mService.setActiveDevice(leadDevice)).isTrue(); in testLeadGroupDeviceDisconnects() 2341 assertThat(mService.getActiveDevices().contains(leadDevice)).isTrue(); in testLeadGroupDeviceDisconnects() 2344 eq(leadDevice), any(), any(BluetoothProfileConnectionInfo.class)); in testLeadGroupDeviceDisconnects() 2348 injectAudioDeviceAdded(leadDevice, AudioDeviceInfo.TYPE_BLE_HEADSET, true, false, true); in testLeadGroupDeviceDisconnects() 2349 doReturn(BluetoothDevice.BOND_BONDED).when(mAdapterService).getBondState(leadDevice); in testLeadGroupDeviceDisconnects() 2350 injectNoVerifyDeviceDisconnected(leadDevice); in testLeadGroupDeviceDisconnects() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRouteController.java | 1247 BluetoothDevice leadDevice = getLeAudioService().getConnectedGroupLeadDevice(groupId); in isLeAudioNonLeadDeviceOrServiceUnavailable() local 1248 Log.i(this, "Lead device for device (%s) is %s.", device, leadDevice); in isLeAudioNonLeadDeviceOrServiceUnavailable() 1249 return leadDevice == null || !device.getAddress().equals(leadDevice.getAddress()); in isLeAudioNonLeadDeviceOrServiceUnavailable()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/ |
D | LeAudioService.java | 2298 BluetoothDevice leadDevice = getConnectedGroupLeadDevice(currentlyActiveGroupId); in getActiveDevices() local 2299 activeDevices.set(0, leadDevice); in getActiveDevices() 2303 if (Objects.equals(dev, leadDevice)) { in getActiveDevices() 5442 BluetoothDevice leadDevice = getConnectedGroupLeadDevice(groupId); in dump() local 5449 ProfileService.println(sb, " group lead: " + leadDevice); in dump()
|