Searched refs:btDevice (Results 1 – 8 of 8) sorted by relevance
66 final BluetoothDevice btDevice = mConnectedDevices.get(connectedDeviceIndex); in onPreferenceChange() local68 setActiveBluetoothDevice(btDevice); in onPreferenceChange()69 listPreference.setSummary(btDevice.getAlias()); in onPreferenceChange()77 final BluetoothDevice btDevice = mConnectedDevices.get(i); in getConnectedDeviceIndex() local78 if (TextUtils.equals(btDevice.getAddress(), hardwareAddress)) { in getConnectedDeviceIndex()146 final BluetoothDevice btDevice = mConnectedDevices.get(i); in setupPreferenceEntries() local147 mediaOutputs[i] = btDevice.getAlias(); in setupPreferenceEntries()148 mediaValues[i] = btDevice.getAddress(); in setupPreferenceEntries()149 if (btDevice.equals(activeDevice)) { in setupPreferenceEntries()
307 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()308 if (btDevice != null && mConnectedDevices.contains(btDevice)) { in findActiveHearingAidDevice()311 return btDevice; in findActiveHearingAidDevice()
225 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()226 if (btDevice != null) { in findActiveHearingAidDevice()227 return btDevice; in findActiveHearingAidDevice()
47 public BluetoothDevice btDevice; field in BluetoothScanner.Device234 if (matcher.isMatchingDevice(target.btDevice)) { in startListening()370 BluetoothDevice btDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local371 final String address = btDevice.getAddress(); in onReceive()372 String name = btDevice.getName(); in onReceive()389 device.btDevice = btDevice; in onReceive()470 if (matcher.isMatchingDevice(device.btDevice)) { in updateDeviceInClient()519 if (d.btDevice.getAddress().equals(device.btDevice.getAddress())) { in sendDeviceRemoved()
123 BluetoothDevice btDevice) { in setCommunicationDevice() argument128 return processSetCommunicationDevice(audioDeviceType, btDevice); in setCommunicationDevice()137 BluetoothDevice btDevice) { in processSetCommunicationDevice() argument141 audioDeviceType, isBtDevice, btDevice); in processSetCommunicationDevice()144 boolean handleLeAudioDeviceSwitch = btDevice != null in processSetCommunicationDevice()145 && !btDevice.getAddress().equals(mBtAudioDevice); in processSetCommunicationDevice()
163 if (AccessoryUtils.isKnownDevice(mContext, device.btDevice)) {167 Log.d(TAG, "Adding device: " + device.btDevice.getAddress());169 onDeviceFound(device.btDevice);175 Log.d(TAG, "Device lost: " + device.btDevice.getAddress());177 onDeviceLost(device.btDevice);
797 BluetoothDevice btDevice = device_type == AudioDeviceInfo.TYPE_BLE_HEADSET in assertClearHearingAidOrLeCommunicationDevice() local799 mCommunicationDeviceTracker.setCommunicationDevice(device_type, btDevice); in assertClearHearingAidOrLeCommunicationDevice()
1524 AudioDeviceAttributes btDevice = allDevices.get(0); in loadAudioZones_withPrimaryZoneAndDynamicAudioDevices() local1525 expectWithMessage("BT all audio config type").that(btDevice.getType()) in loadAudioZones_withPrimaryZoneAndDynamicAudioDevices()