/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | SapProfile.java | 65 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()
|
D | MapProfile.java | 66 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()
|
D | HeadsetProfile.java | 66 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()
|
D | HidProfile.java | 58 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()
|
D | HfpClientProfile.java | 67 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 68 while (!deviceList.isEmpty()) { in onServiceConnected() 69 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
D | PbapClientProfile.java | 65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 66 while (!deviceList.isEmpty()) { in onServiceConnected() 67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
D | MapClientProfile.java | 67 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 68 while (!deviceList.isEmpty()) { in onServiceConnected() 69 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
D | A2dpSinkProfile.java | 63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 64 while (!deviceList.isEmpty()) { in onServiceConnected() 65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
D | A2dpProfile.java | 72 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 73 while (!deviceList.isEmpty()) { in onServiceConnected() 74 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | HwModule.cpp | 310 DeviceVector deviceList = declaredDevices.getDevicesFromTypeAddr(device, address); in getDeviceDescriptor() local 311 if (!deviceList.isEmpty()) { in getDeviceDescriptor() 312 return deviceList.itemAt(0); in getDeviceDescriptor() 315 deviceList = declaredDevices.getDevicesFromType(device); in getDeviceDescriptor() 316 if (!deviceList.isEmpty()) { in getDeviceDescriptor() 317 return deviceList.itemAt(0); in getDeviceDescriptor()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pDeviceList.java | 203 WifiP2pDeviceList deviceList = new WifiP2pDeviceList(); 207 deviceList.update((WifiP2pDevice)in.readParcelable(null)); 209 return deviceList;
|
/frameworks/base/core/java/com/android/internal/alsa/ |
D | AlsaCardsParser.java | 270 static private void LogDevices(String caption, ArrayList<AlsaCardRecord> deviceList) { in LogDevices() argument 273 for (AlsaCardRecord device : deviceList) { in LogDevices()
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
D | ScoAudioTest.java | 660 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices(); 661 if (deviceList.size() > 0) { 662 mBluetoothHeadsetDevice = deviceList.get(0);
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 392 DeviceVector deviceList; in updateCallRouting() local 428 deviceList = mAvailableOutputDevices.getDevicesFromType(rxDevice); in updateCallRouting() 429 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting() 431 sp<DeviceDescriptor> rxSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting() 432 deviceList = mAvailableInputDevices.getDevicesFromType(AUDIO_DEVICE_IN_TELEPHONY_RX); in updateCallRouting() 433 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting() 435 sp<DeviceDescriptor> rxSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting() 471 deviceList = mAvailableInputDevices.getDevicesFromType(txDevice); in updateCallRouting() 472 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting() 474 sp<DeviceDescriptor> txSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioManager.java | 4295 AudioDeviceInfo[] deviceList = new AudioDeviceInfo[numRecs]; in infoListFromPortList() local 4299 deviceList[slot++] = new AudioDeviceInfo(port); in infoListFromPortList() 4303 return deviceList; in infoListFromPortList() 4425 AudioDeviceInfo[] deviceList = in broadcastDeviceListChange() local 4428 Message.obtain(handler, MSG_DEVICES_CALLBACK_REGISTERED, deviceList)); in broadcastDeviceListChange()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 3388 List<BluetoothDevice> deviceList; 3394 deviceList = mA2dp.getConnectedDevices(); 3395 if (deviceList.size() > 0) { 3396 btDevice = deviceList.get(0); 3414 deviceList = proxy.getConnectedDevices(); 3415 if (deviceList.size() > 0) { 3416 btDevice = deviceList.get(0); 3434 deviceList = mBluetoothHeadset.getConnectedDevices(); 3435 if (deviceList.size() > 0) { 3436 mBluetoothHeadsetDevice = deviceList.get(0);
|