HomeSort by relevance Sort by last modified time
    Searched full:devicelist (Results 1 - 25 of 50) sorted by null

1 2

  /cts/tests/tests/media/src/android/media/cts/
EnumDevicesTest.java 50 AudioDeviceInfo[] deviceList;
53 deviceList = mAudioManager.getDevices(0);
54 assertTrue(deviceList != null);
55 assertTrue(deviceList.length == 0);
60 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
61 assertTrue(deviceList != null);
62 numOutputDevices = deviceList.length;
67 assertTrue(deviceList[index].isSink());
74 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS);
75 assertTrue(deviceList != null)
    [all...]
RoutingTest.java 88 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
89 for (int index = 0; index < deviceList.length; index++) {
90 assertTrue(audioTrack.setPreferredDevice(deviceList[index]));
91 assertTrue(audioTrack.getPreferredDevice() == deviceList[index]);
213 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS);
214 for (int index = 0; index < deviceList.length; index++) {
215 assertTrue(audioRecord.setPreferredDevice(deviceList[index]));
216 assertTrue(audioRecord.getPreferredDevice() == deviceList[index]);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
UsbMicrophoneTester.java 35 HashMap<String, UsbDevice> devicelist = manager.getDeviceList(); local
36 for(UsbDevice usbDevice : devicelist.values()) {
55 HashMap<String, UsbDevice> devicelist = manager.getDeviceList(); local
56 for(UsbDevice usbDevice : devicelist.values()) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
HeadsetProfile.java 66 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) {
MapProfile.java 66 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)
SapProfile.java 65 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)
HidProfile.java 58 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)
A2dpProfile.java 63 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
64 while (!deviceList.isEmpty()) {
65 BluetoothDevice nextDevice = deviceList.remove(0);
  /packages/services/Telecomm/src/com/android/server/telecom/
BluetoothManager.java 144 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
146 if (deviceList.size() > 0) {
148 for (int i = 0; i < deviceList.size(); i++) {
149 BluetoothDevice device = deviceList.get(i);
168 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
170 if (deviceList.isEmpty()) {
173 for (int i = 0; i < deviceList.size(); i++) {
174 BluetoothDevice device = deviceList.get(i);
264 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
266 if (deviceList.size() > 0)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
usbrpmif.h 67 PUSBRPM_DEVICE_LIST *DeviceList);
af_irda.h 133 typedef WINDOWS_DEVICELIST DEVICELIST,*PDEVICELIST,*LPDEVICELIST;
  /external/skia/tools/skpdiff/
skpdiff_main.cpp 78 cl::vector<cl::Device> deviceList;
79 platform.getDevices(CL_DEVICE_TYPE_ALL, &deviceList);
80 SkDebugf("The number of devices is %u\n", deviceList.size());
83 *device = deviceList[0];
90 *context = cl::Context(deviceList, NULL, error_notify, NULL, &contextErr);
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
HwModule.cpp 342 DeviceVector deviceList =
344 if (!deviceList.isEmpty()) {
345 return deviceList.itemAt(0);
347 deviceList = hwModule->mDeclaredDevices.getDevicesFromType(device);
348 if (!deviceList.isEmpty()) {
349 return deviceList.itemAt(0);
DeviceDescriptor.cpp 134 DeviceVector deviceList;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
RenderPreviewList.java 89 void load(Collection<Device> deviceList) throws IOException {
92 load(file, deviceList);
116 void load(File file, Collection<Device> deviceList) throws IOException {
127 mProject, element, deviceList);
  /frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pDeviceList.java 203 WifiP2pDeviceList deviceList = new WifiP2pDeviceList();
207 deviceList.update((WifiP2pDevice)in.readParcelable(null));
209 return deviceList;
  /frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
ScoAudioTest.java 660 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
661 if (deviceList.size() > 0) {
662 mBluetoothHeadsetDevice = deviceList.get(0);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigurationDescription.java 165 * @param deviceList list of available devices
172 @NonNull Collection<Device> deviceList) {
225 for (Device d : deviceList) {
  /frameworks/base/docs/html/distribute/tools/promote/
device-art.jd 411 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/
host.jd 267 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/av/services/audiopolicy/managerdefault/
AudioPolicyManager.cpp 303 DeviceVector deviceList;
335 deviceList = mAvailableOutputDevices.getDevicesFromType(rxDevice);
336 ALOG_ASSERT(!deviceList.isEmpty(),
338 sp<DeviceDescriptor> rxSinkDeviceDesc = deviceList.itemAt(0);
339 deviceList = mAvailableInputDevices.getDevicesFromType(AUDIO_DEVICE_IN_TELEPHONY_RX);
340 ALOG_ASSERT(!deviceList.isEmpty(),
342 sp<DeviceDescriptor> rxSourceDeviceDesc = deviceList.itemAt(0);
378 deviceList = mAvailableInputDevices.getDevicesFromType(txDevice);
379 ALOG_ASSERT(!deviceList.isEmpty(),
381 sp<DeviceDescriptor> txSourceDeviceDesc = deviceList.itemAt(0)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
A2dpSinkStateMachine.java 660 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>();
672 deviceList.add(device);
676 return deviceList;
    [all...]
A2dpStateMachine.java 692 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>();
704 deviceList.add(device);
708 return deviceList;
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/sap/
SapService.java 519 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>();
531 deviceList.add(device);
536 return deviceList;
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapService.java 491 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>();
503 deviceList.add(device);
508 return deviceList;
    [all...]

Completed in 824 milliseconds

1 2