Home
last modified time | relevance | path

Searched refs:deviceList (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h136 DeviceVector deviceList = in devicesSupportEncodedFormats() local
138 if (!deviceList.empty()) { in devicesSupportEncodedFormats()
139 return deviceList.itemAt(0)->hasCurrentEncodedFormat(); in devicesSupportEncodedFormats()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DSapProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
66 while (!deviceList.isEmpty()) { in onServiceConnected()
67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DPbapClientProfile.java63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
64 while (!deviceList.isEmpty()) { in onServiceConnected()
65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DHidProfile.java58 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
59 while (!deviceList.isEmpty()) { in onServiceConnected()
60 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DA2dpSinkProfile.java63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
64 while (!deviceList.isEmpty()) { in onServiceConnected()
65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DMapProfile.java66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
67 while (!deviceList.isEmpty()) { in onServiceConnected()
68 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DMapClientProfile.java67 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
68 while (!deviceList.isEmpty()) { in onServiceConnected()
69 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DHfpClientProfile.java67 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
68 while (!deviceList.isEmpty()) { in onServiceConnected()
69 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DHeadsetProfile.java68 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
69 while (!deviceList.isEmpty()) { in onServiceConnected()
70 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DHearingAidProfile.java61 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
62 while (!deviceList.isEmpty()) { in onServiceConnected()
63 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DHidDeviceProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
66 for (BluetoothDevice nextDevice : deviceList) { in onServiceConnected()
DA2dpProfile.java69 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
70 while (!deviceList.isEmpty()) { in onServiceConnected()
71 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java446 final List<BluetoothDevice> deviceList = mA2dp.getConnectedDevices(); in onA2dpProfileConnected() local
447 if (deviceList.isEmpty()) { in onA2dpProfileConnected()
450 final BluetoothDevice btDevice = deviceList.get(0); in onA2dpProfileConnected()
457 final List<BluetoothDevice> deviceList = profile.getConnectedDevices(); in onA2dpSinkProfileConnected() local
458 if (deviceList.isEmpty()) { in onA2dpSinkProfileConnected()
461 final BluetoothDevice btDevice = deviceList.get(0); in onA2dpSinkProfileConnected()
470 final List<BluetoothDevice> deviceList = mHearingAid.getConnectedDevices(); in onHearingAidProfileConnected() local
471 if (deviceList.isEmpty()) { in onHearingAidProfileConnected()
474 final BluetoothDevice btDevice = deviceList.get(0); in onHearingAidProfileConnected()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDeviceList.java205 WifiP2pDeviceList deviceList = new WifiP2pDeviceList();
209 deviceList.update((WifiP2pDevice)in.readParcelable(null));
211 return deviceList;
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java660 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
661 if (deviceList.size() > 0) {
662 mBluetoothHeadsetDevice = deviceList.get(0);
/frameworks/base/media/java/android/media/
DAudioManager.java4974 AudioDeviceInfo[] deviceList = new AudioDeviceInfo[numRecs]; in infoListFromPortList() local
4978 deviceList[slot++] = new AudioDeviceInfo(port); in infoListFromPortList()
4982 return deviceList; in infoListFromPortList()
5222 AudioDeviceInfo[] deviceList = in broadcastDeviceListChange_sync() local
5225 Message.obtain(handler, MSG_DEVICES_CALLBACK_REGISTERED, deviceList)); in broadcastDeviceListChange_sync()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp429 DeviceVector deviceList = mAvailableOutputDevices.getDevicesFromType(device); in handleDeviceConfigChange() local
430 if (deviceList.empty()) { in handleDeviceConfigChange()
434 sp<DeviceDescriptor> devDesc = deviceList.itemAt(0); in handleDeviceConfigChange()