Home
last modified time | relevance | path

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

/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/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/av/services/audiopolicy/
DAudioPolicyManager.cpp450 DeviceVector deviceList; in updateCallRouting() local
479 deviceList = mAvailableOutputDevices.getDevicesFromType(rxDevice); in updateCallRouting()
480 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting()
482 sp<DeviceDescriptor> rxSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
483 deviceList = mAvailableInputDevices.getDevicesFromType(AUDIO_DEVICE_IN_TELEPHONY_RX); in updateCallRouting()
484 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting()
486 sp<DeviceDescriptor> rxSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
522 deviceList = mAvailableInputDevices.getDevicesFromType(txDevice); in updateCallRouting()
523 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting()
525 sp<DeviceDescriptor> txSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
[all …]
/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/media/java/android/media/
DAudioService.java2731 List<BluetoothDevice> deviceList;
2736 deviceList = mA2dp.getConnectedDevices();
2737 if (deviceList.size() > 0) {
2738 btDevice = deviceList.get(0);
2756 deviceList = proxy.getConnectedDevices();
2757 if (deviceList.size() > 0) {
2758 btDevice = deviceList.get(0);
2776 deviceList = mBluetoothHeadset.getConnectedDevices();
2777 if (deviceList.size() > 0) {
2778 mBluetoothHeadsetDevice = deviceList.get(0);
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1862 List<BluetoothDevice> deviceList = mBtHeadset.getConnectedDevices(); in getCurrentBluetoothPingCount() local
1863 if (deviceList.size() > 0) { in getCurrentBluetoothPingCount()
1864 return mBtHeadset.getBatteryUsageHint(deviceList.get(0)); in getCurrentBluetoothPingCount()