HomeSort by relevance Sort by last modified time
    Searched refs:deviceList (Results 1 - 25 of 131) sorted by null

1 2 3 4 5 6

  /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...]
AudioPlayRoutingNative.java 108 AudioDeviceInfo[] deviceList;
109 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
110 assertTrue(deviceList != null);
111 for (AudioDeviceInfo devInfo : deviceList) {
AudioRecordRoutingNative.java 118 AudioDeviceInfo[] deviceList;
119 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS);
120 assertTrue(deviceList != null);
121 for (AudioDeviceInfo devInfo : deviceList) {
RoutingTest.java 94 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
95 for (int index = 0; index < deviceList.length; index++) {
96 assertTrue(audioTrack.setPreferredDevice(deviceList[index]));
97 assertTrue(audioTrack.getPreferredDevice() == deviceList[index]);
310 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS);
311 for (int index = 0; index < deviceList.length; index++) {
312 assertTrue(audioRecord.setPreferredDevice(deviceList[index]));
313 assertTrue(audioRecord.getPreferredDevice() == deviceList[index]);
  /packages/services/Telecomm/src/com/android/server/telecom/
BluetoothManager.java 210 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
212 if (deviceList.size() > 0) {
214 for (int i = 0; i < deviceList.size(); i++) {
215 BluetoothDevice device = deviceList.get(i);
235 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
237 if (deviceList.isEmpty()) {
240 for (int i = 0; i < deviceList.size(); i++) {
241 BluetoothDevice device = deviceList.get(i);
361 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
363 if (deviceList.size() > 0)
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
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)
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)
A2dpProfile.java 63 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
64 while (!deviceList.isEmpty()) {
65 BluetoothDevice nextDevice = deviceList.remove(0);
PbapClientProfile.java 65 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
66 while (!deviceList.isEmpty()) {
67 BluetoothDevice nextDevice = deviceList.remove(0);
A2dpSinkProfile.java 63 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
64 while (!deviceList.isEmpty()) {
65 BluetoothDevice nextDevice = deviceList.remove(0);
HfpClientProfile.java 67 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
68 while (!deviceList.isEmpty()) {
69 BluetoothDevice nextDevice = deviceList.remove(0);
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/
DvbDeviceAccessor.java 130 List<DvbDeviceInfoWrapper> deviceList = getDvbDeviceList();
135 .setMaxConcurrentTunedSessions(deviceList.size())
136 .setMaxConcurrentSessionsOfAllTypes(deviceList.size() + 1)
143 List<DvbDeviceInfoWrapper> deviceList = getDvbDeviceList();
146 if (deviceList.size() > 0) {
149 .setTunerCount(deviceList.size())
  /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;
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothA2dpSinkFacade.java 121 List<BluetoothDevice> deviceList = sA2dpSinkProfile.getConnectedDevices();
124 device = BluetoothFacade.getDevice(deviceList, deviceID);
BluetoothHfpClientFacade.java 129 List<BluetoothDevice> deviceList = sHfpClientProfile.getConnectedDevices();
132 device = BluetoothFacade.getDevice(deviceList, deviceID);
BluetoothHspFacade.java 121 List<BluetoothDevice> deviceList = sHspProfile.getConnectedDevices();
124 device = BluetoothFacade.getDevice(deviceList, deviceID);
BluetoothHidFacade.java 120 List<BluetoothDevice> deviceList = sHidProfile.getConnectedDevices();
123 device = BluetoothFacade.getDevice(deviceList, deviceID);
  /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/av/services/audiopolicy/common/managerdefinitions/src/
HwModule.cpp 310 DeviceVector deviceList = declaredDevices.getDevicesFromTypeAddr(device, address);
311 if (!deviceList.isEmpty()) {
312 return deviceList.itemAt(0);
315 deviceList = declaredDevices.getDevicesFromType(device);
316 if (!deviceList.isEmpty()) {
317 return deviceList.itemAt(0);
  /packages/apps/TV/src/com/android/usbtuner/
UsbInputController.java 137 Map<String, UsbDevice> deviceList = manager.getDeviceList();
138 for (UsbDevice device : deviceList.values()) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
PbapClientService.java 290 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>();
295 deviceList.add(currentDevice);
299 return deviceList;
  /cts/common/util/src/com/android/compatibility/common/util/
ResultHandler.java 127 String deviceList = parser.getAttributeValue(NS, DEVICES_ATTR);
128 for (String device : deviceList.split(",")) {
267 StringBuilder deviceList = new StringBuilder();
273 deviceList.append(",");
275 deviceList.append(device);
277 serializer.attribute(NS, DEVICES_ATTR, deviceList.toString());
  /frameworks/base/core/java/com/android/internal/alsa/
AlsaCardsParser.java 270 static public void LogDevices(String caption, ArrayList<AlsaCardRecord> deviceList) {
273 for (AlsaCardRecord device : deviceList) {

Completed in 908 milliseconds

1 2 3 4 5 6