Searched refs:btDevice (Results 1 – 10 of 10) 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()145 final BluetoothDevice btDevice = mConnectedDevices.get(i); in setupPreferenceEntries() local146 mediaOutputs[i] = btDevice.getAlias(); in setupPreferenceEntries()147 mediaValues[i] = btDevice.getAddress(); in setupPreferenceEntries()148 if (btDevice.equals(activeDevice)) { in setupPreferenceEntries()
112 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()113 if (btDevice != null) { in findActiveHearingAidDevice()114 return btDevice; in findActiveHearingAidDevice()
280 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()281 if (btDevice != null && mConnectedDevices.contains(btDevice)) { in findActiveHearingAidDevice()284 return btDevice; in findActiveHearingAidDevice()
102 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()103 if (btDevice != null) { in findActiveHearingAidDevice()104 return btDevice; in findActiveHearingAidDevice()
251 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()252 if (btDevice != null && mConnectedDevices.contains(btDevice)) { in findActiveHearingAidDevice()255 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()404 device.btDevice = btDevice; in onReceive()493 if (matcher.isMatchingDevice(device.btDevice)) { in sendDeviceAdded()510 if (d.btDevice.getAddress().equals(device.btDevice.getAddress())) { in sendDeviceChanged()525 if (d.btDevice.getAddress().equals(device.btDevice.getAddress())) { in sendDeviceRemoved()
173 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()174 if (btDevice != null) { in findActiveHearingAidDevice()175 return btDevice; in findActiveHearingAidDevice()
167 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()168 if (btDevice != null) { in findActiveHearingAidDevice()169 return btDevice; in findActiveHearingAidDevice()
153 Log.d(TAG, "Adding device: " + device.btDevice.getAddress());155 onDeviceFound(device.btDevice);161 Log.d(TAG, "Device lost: " + device.btDevice.getAddress());163 onDeviceLost(device.btDevice);