Home
last modified time | relevance | path

Searched refs:connectedDeviceIndex (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DHandsFreeProfileOutputPreferenceController.java62 final int connectedDeviceIndex = getConnectedDeviceIndex(address); in onPreferenceChange() local
63 if (connectedDeviceIndex == INVALID_INDEX) { in onPreferenceChange()
66 final BluetoothDevice btDevice = mConnectedDevices.get(connectedDeviceIndex); in onPreferenceChange()
67 mSelectedIndex = connectedDeviceIndex; in onPreferenceChange()
/packages/apps/Settings/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceController.java62 final int connectedDeviceIndex = getConnectedDeviceIndex(address); in onPreferenceChange() local
63 if (connectedDeviceIndex == INVALID_INDEX) { in onPreferenceChange()
66 final BluetoothDevice btDevice = mConnectedDevices.get(connectedDeviceIndex); in onPreferenceChange()
67 mSelectedIndex = connectedDeviceIndex; in onPreferenceChange()