Home
last modified time | relevance | path

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

/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()
125 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in disconnect()
126 if (!deviceList.isEmpty() && deviceList.get(0).equals(device)) { in disconnect()
138 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus()
140 return !deviceList.isEmpty() && deviceList.get(0).equals(device) in getConnectionStatus()
DMapProfile.java66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
67 while (!deviceList.isEmpty()) { in onServiceConnected()
68 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
121 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in disconnect()
122 if (!deviceList.isEmpty() && deviceList.get(0).equals(device)) { in disconnect()
134 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus()
137 return !deviceList.isEmpty() && deviceList.get(0).equals(device) in getConnectionStatus()
DHeadsetProfile.java66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
67 while (!deviceList.isEmpty()) { in onServiceConnected()
68 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
126 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in disconnect()
127 if (!deviceList.isEmpty()) { in disconnect()
128 for (BluetoothDevice dev : deviceList) { in disconnect()
145 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus()
146 if (!deviceList.isEmpty()){ in getConnectionStatus()
147 for (BluetoothDevice dev : deviceList) { in getConnectionStatus()
DHidProfile.java58 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
59 while (!deviceList.isEmpty()) { in onServiceConnected()
60 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
115 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus() local
117 return !deviceList.isEmpty() && deviceList.get(0).equals(device) in getConnectionStatus()
DA2dpProfile.java63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
64 while (!deviceList.isEmpty()) { in onServiceConnected()
65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp342 DeviceVector deviceList = in getDeviceDescriptor() local
344 if (!deviceList.isEmpty()) { in getDeviceDescriptor()
345 return deviceList.itemAt(0); in getDeviceDescriptor()
347 deviceList = hwModule->mDeclaredDevices.getDevicesFromType(device); in getDeviceDescriptor()
348 if (!deviceList.isEmpty()) { in getDeviceDescriptor()
349 return deviceList.itemAt(0); in getDeviceDescriptor()
DDeviceDescriptor.cpp134 DeviceVector deviceList; in loadDevicesFromType() local
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDeviceList.java203 WifiP2pDeviceList deviceList = new WifiP2pDeviceList();
207 deviceList.update((WifiP2pDevice)in.readParcelable(null));
209 return deviceList;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp303 DeviceVector deviceList; in updateCallRouting() local
335 deviceList = mAvailableOutputDevices.getDevicesFromType(rxDevice); in updateCallRouting()
336 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting()
338 sp<DeviceDescriptor> rxSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
339 deviceList = mAvailableInputDevices.getDevicesFromType(AUDIO_DEVICE_IN_TELEPHONY_RX); in updateCallRouting()
340 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting()
342 sp<DeviceDescriptor> rxSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
378 deviceList = mAvailableInputDevices.getDevicesFromType(txDevice); in updateCallRouting()
379 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting()
381 sp<DeviceDescriptor> txSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
[all …]
/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.java3794 AudioDeviceInfo[] deviceList = new AudioDeviceInfo[numRecs]; in infoListFromPortList() local
3798 deviceList[slot++] = new AudioDeviceInfo(port); in infoListFromPortList()
3802 return deviceList; in infoListFromPortList()
3922 AudioDeviceInfo[] deviceList = in broadcastDeviceListChange() local
3925 Message.obtain(handler, MSG_DEVICES_CALLBACK_REGISTERED, deviceList)); in broadcastDeviceListChange()
/frameworks/base/docs/html/distribute/tools/promote/
Ddevice-art.jd411 var deviceList = '.device-list.primary';
420 deviceList = '.device-list.archive';
422 deviceList = '.device-list.hidden';
440 .appendTo(deviceList)
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Dhost.jd267 HashMap&lt;String, UsbDevice&gt; deviceList = manager.getDeviceList();
268 UsbDevice device = deviceList.get("deviceName");
276 HashMap&lt;String, UsbDevice&gt; deviceList = manager.getDeviceList();
277 Iterator&lt;UsbDevice&gt; deviceIterator = deviceList.values().iterator();
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2960 List<BluetoothDevice> deviceList;
2966 deviceList = mA2dp.getConnectedDevices();
2967 if (deviceList.size() > 0) {
2968 btDevice = deviceList.get(0);
2985 deviceList = proxy.getConnectedDevices();
2986 if (deviceList.size() > 0) {
2987 btDevice = deviceList.get(0);
3005 deviceList = mBluetoothHeadset.getConnectedDevices();
3006 if (deviceList.size() > 0) {
3007 mBluetoothHeadsetDevice = deviceList.get(0);