Searched refs:deviceList (Results 1 – 14 of 14) sorted by relevance
65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local66 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()
66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local67 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()
66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local67 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()
58 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local59 while (!deviceList.isEmpty()) { in onServiceConnected()60 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()115 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus() local117 return !deviceList.isEmpty() && deviceList.get(0).equals(device) in getConnectionStatus()
63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local64 while (!deviceList.isEmpty()) { in onServiceConnected()65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
342 DeviceVector deviceList = in getDeviceDescriptor() local344 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()
134 DeviceVector deviceList; in loadDevicesFromType() local
203 WifiP2pDeviceList deviceList = new WifiP2pDeviceList();207 deviceList.update((WifiP2pDevice)in.readParcelable(null));209 return deviceList;
303 DeviceVector deviceList; in updateCallRouting() local335 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 …]
660 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();661 if (deviceList.size() > 0) {662 mBluetoothHeadsetDevice = deviceList.get(0);
3794 AudioDeviceInfo[] deviceList = new AudioDeviceInfo[numRecs]; in infoListFromPortList() local3798 deviceList[slot++] = new AudioDeviceInfo(port); in infoListFromPortList()3802 return deviceList; in infoListFromPortList()3922 AudioDeviceInfo[] deviceList = in broadcastDeviceListChange() local3925 Message.obtain(handler, MSG_DEVICES_CALLBACK_REGISTERED, deviceList)); in broadcastDeviceListChange()
411 var deviceList = '.device-list.primary';420 deviceList = '.device-list.archive';422 deviceList = '.device-list.hidden';440 .appendTo(deviceList)
267 HashMap<String, UsbDevice> deviceList = manager.getDeviceList();268 UsbDevice device = deviceList.get("deviceName");276 HashMap<String, UsbDevice> deviceList = manager.getDeviceList();277 Iterator<UsbDevice> deviceIterator = deviceList.values().iterator();
2960 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);