Home
last modified time | relevance | path

Searched refs:btDevice (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DHandsFreeProfileOutputPreferenceController.java66 final BluetoothDevice btDevice = mConnectedDevices.get(connectedDeviceIndex); in onPreferenceChange() local
68 setActiveBluetoothDevice(btDevice); in onPreferenceChange()
69 listPreference.setSummary(btDevice.getAlias()); in onPreferenceChange()
77 final BluetoothDevice btDevice = mConnectedDevices.get(i); in getConnectedDeviceIndex() local
78 if (TextUtils.equals(btDevice.getAddress(), hardwareAddress)) { in getConnectedDeviceIndex()
145 final BluetoothDevice btDevice = mConnectedDevices.get(i); in setupPreferenceEntries() local
146 mediaOutputs[i] = btDevice.getAlias(); in setupPreferenceEntries()
147 mediaValues[i] = btDevice.getAddress(); in setupPreferenceEntries()
148 if (btDevice.equals(activeDevice)) { in setupPreferenceEntries()
DMediaOutputPreferenceController.java112 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()
113 if (btDevice != null) { in findActiveHearingAidDevice()
114 return btDevice; in findActiveHearingAidDevice()
DAudioSwitchPreferenceController.java280 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()
281 if (btDevice != null && mConnectedDevices.contains(btDevice)) { in findActiveHearingAidDevice()
284 return btDevice; in findActiveHearingAidDevice()
/packages/apps/Settings/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceController.java66 final BluetoothDevice btDevice = mConnectedDevices.get(connectedDeviceIndex); in onPreferenceChange() local
68 setActiveBluetoothDevice(btDevice); in onPreferenceChange()
69 listPreference.setSummary(btDevice.getAlias()); in onPreferenceChange()
77 final BluetoothDevice btDevice = mConnectedDevices.get(i); in getConnectedDeviceIndex() local
78 if (TextUtils.equals(btDevice.getAddress(), hardwareAddress)) { in getConnectedDeviceIndex()
145 final BluetoothDevice btDevice = mConnectedDevices.get(i); in setupPreferenceEntries() local
146 mediaOutputs[i] = btDevice.getAlias(); in setupPreferenceEntries()
147 mediaValues[i] = btDevice.getAddress(); in setupPreferenceEntries()
148 if (btDevice.equals(activeDevice)) { in setupPreferenceEntries()
DMediaOutputPreferenceController.java102 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()
103 if (btDevice != null) { in findActiveHearingAidDevice()
104 return btDevice; in findActiveHearingAidDevice()
DAudioSwitchPreferenceController.java251 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()
252 if (btDevice != null && mConnectedDevices.contains(btDevice)) { in findActiveHearingAidDevice()
255 return btDevice; in findActiveHearingAidDevice()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothScanner.java47 public BluetoothDevice btDevice; field in BluetoothScanner.Device
234 if (matcher.isMatchingDevice(target.btDevice)) { in startListening()
370 BluetoothDevice btDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local
371 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()
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorSlice.java173 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()
174 if (btDevice != null) { in findActiveHearingAidDevice()
175 return btDevice; in findActiveHearingAidDevice()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/media/
DMediaOutputIndicatorSlice.java167 for (BluetoothDevice btDevice : activeDevices) { in findActiveHearingAidDevice()
168 if (btDevice != null) { in findActiveHearingAidDevice()
169 return btDevice; in findActiveHearingAidDevice()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java153 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);