Searched refs:deviceList (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DHidProfile.java58 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
59 while (!deviceList.isEmpty()) {
60 BluetoothDevice nextDevice = deviceList.remove(0);
115 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
117 return !deviceList.isEmpty() && deviceList.get(0).equals(device)
H A DHeadsetProfile.java66 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
67 while (!deviceList.isEmpty()) {
68 BluetoothDevice nextDevice = deviceList.remove(0);
126 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
127 if (!deviceList.isEmpty()) {
128 for (BluetoothDevice dev : deviceList) {
145 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
146 if (!deviceList.isEmpty()){
147 for (BluetoothDevice dev : deviceList) {
H A DMapProfile.java66 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
67 while (!deviceList.isEmpty()) {
68 BluetoothDevice nextDevice = deviceList.remove(0);
121 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
122 if (!deviceList.isEmpty() && deviceList.get(0).equals(device)) {
134 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
137 return !deviceList.isEmpty() && deviceList.get(0).equals(device)
H A DSapProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
66 while (!deviceList.isEmpty()) {
67 BluetoothDevice nextDevice = deviceList.remove(0);
125 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
126 if (!deviceList.isEmpty() && deviceList.get(0).equals(device)) {
138 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
140 return !deviceList.isEmpty() && deviceList.get(0).equals(device)
H A DA2dpSinkProfile.java63 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
64 while (!deviceList.isEmpty()) {
65 BluetoothDevice nextDevice = deviceList.remove(0);
H A DMapClientProfile.java67 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
68 while (!deviceList.isEmpty()) {
69 BluetoothDevice nextDevice = deviceList.remove(0);
H A DPbapClientProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
66 while (!deviceList.isEmpty()) {
67 BluetoothDevice nextDevice = deviceList.remove(0);
H A DA2dpProfile.java72 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
73 while (!deviceList.isEmpty()) {
74 BluetoothDevice nextDevice = deviceList.remove(0);
H A DHfpClientProfile.java67 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
68 while (!deviceList.isEmpty()) {
69 BluetoothDevice nextDevice = deviceList.remove(0);
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pDeviceList.java203 WifiP2pDeviceList deviceList = new WifiP2pDeviceList();
207 deviceList.update((WifiP2pDevice)in.readParcelable(null));
209 return deviceList;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DHwModule.cpp310 DeviceVector deviceList = declaredDevices.getDevicesFromTypeAddr(device, address); local
311 if (!deviceList.isEmpty()) {
312 return deviceList.itemAt(0);
315 deviceList = declaredDevices.getDevicesFromType(device);
316 if (!deviceList.isEmpty()) {
317 return deviceList.itemAt(0);
/frameworks/base/core/java/com/android/internal/alsa/
H A DAlsaCardsParser.java270 static public void LogDevices(String caption, ArrayList<AlsaCardRecord> deviceList) { argument
273 for (AlsaCardRecord device : deviceList) {
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java660 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
661 if (deviceList.size() > 0) {
662 mBluetoothHeadsetDevice = deviceList.get(0);
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp387 DeviceVector deviceList; local
423 deviceList = mAvailableOutputDevices.getDevicesFromType(rxDevice);
424 ALOG_ASSERT(!deviceList.isEmpty(),
426 sp<DeviceDescriptor> rxSinkDeviceDesc = deviceList.itemAt(0);
427 deviceList = mAvailableInputDevices.getDevicesFromType(AUDIO_DEVICE_IN_TELEPHONY_RX);
428 ALOG_ASSERT(!deviceList.isEmpty(),
430 sp<DeviceDescriptor> rxSourceDeviceDesc = deviceList.itemAt(0);
466 deviceList = mAvailableInputDevices.getDevicesFromType(txDevice);
467 ALOG_ASSERT(!deviceList.isEmpty(),
469 sp<DeviceDescriptor> txSourceDeviceDesc = deviceList
4968 DeviceVector deviceList; local
5075 DeviceVector deviceList = mAvailableInputDevices.getDevicesFromType(device); local
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java4263 AudioDeviceInfo[] deviceList = new AudioDeviceInfo[numRecs];
4267 deviceList[slot++] = new AudioDeviceInfo(port);
4271 return deviceList;
4393 AudioDeviceInfo[] deviceList =
4396 Message.obtain(handler, MSG_DEVICES_CALLBACK_REGISTERED, deviceList));
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java3244 List<BluetoothDevice> deviceList;
3250 deviceList = mA2dp.getConnectedDevices();
3251 if (deviceList.size() > 0) {
3252 btDevice = deviceList.get(0);
3270 deviceList = proxy.getConnectedDevices();
3271 if (deviceList.size() > 0) {
3272 btDevice = deviceList.get(0);
3290 deviceList = mBluetoothHeadset.getConnectedDevices();
3291 if (deviceList.size() > 0) {
3292 mBluetoothHeadsetDevice = deviceList
[all...]

Completed in 1456 milliseconds