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

1 2 3 4 5 6 7 8

  /cts/tests/tests/media/src/android/media/cts/
EnumDevicesTest.java 54 AudioDeviceInfo[] deviceList;
57 deviceList = mAudioManager.getDevices(0);
58 assertTrue(deviceList != null);
59 assertTrue(deviceList.length == 0);
68 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
69 assertTrue(deviceList != null);
71 numOutputDevices = deviceList.length;
84 assertTrue(deviceList[index].isSink());
91 deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS);
92 assertTrue(deviceList != null)
    [all...]
RoutingTest.java 128 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
129 for (int index = 0; index < deviceList.length; index++) {
130 assertTrue(audioTrack.setPreferredDevice(deviceList[index]));
131 assertTrue(audioTrack.getPreferredDevice() == deviceList[index]);
181 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
182 for (int index = 0; index < deviceList.length; index++) {
183 if (deviceList[index].getType() == AudioDeviceInfo.TYPE_TELEPHONY) {
184 telephonyDevice = deviceList[index];
404 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS);
405 for (int index = 0; index < deviceList.length; index++)
    [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) {
  /tools/tradefederation/core/src/com/android/tradefed/util/clockwork/
ClockworkUtils.java 32 * @param deviceList device list to fill
36 Map<ITestDevice, IBuildInfo> deviceInfos, List<ITestDevice> deviceList) {
47 deviceList.add(entry.getKey());
  /tools/tradefederation/core/tests/src/com/android/tradefed/device/
DeviceUtilStatsMonitorLoadTest.java 66 List<DeviceDescriptor> deviceList = new ArrayList<>(NUM_DEVICES);
69 deviceList.add(device);
71 EasyMock.expect(mMockDeviceManager.listAllDevices()).andStubReturn(deviceList);
DeviceUtilStatsMonitorTest.java 146 List<DeviceDescriptor> deviceList = new ArrayList<>(states.length);
149 deviceList.add(device);
151 return deviceList;
  /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);
120 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
122 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);
131 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
132 if (!deviceList.isEmpty()) {
133 for (BluetoothDevice dev : deviceList) {
150 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
151 if (!deviceList.isEmpty()){
152 for (BluetoothDevice dev : deviceList) {
MapProfile.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() && deviceList.get(0).equals(device)) {
139 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
142 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);
130 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
131 if (!deviceList.isEmpty() && deviceList.get(0).equals(device)) {
143 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
145 return !deviceList.isEmpty() && deviceList.get(0).equals(device)
HidDeviceProfile.java 71 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
72 for (BluetoothDevice nextDevice : deviceList) {
133 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
135 return !deviceList.isEmpty() && deviceList.contains(device)
MapClientProfile.java 67 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
68 while (!deviceList.isEmpty()) {
69 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);
HearingAidProfile.java 64 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
65 while (!deviceList.isEmpty()) {
66 BluetoothDevice nextDevice = deviceList.remove(0);
HfpClientProfile.java 67 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
68 while (!deviceList.isEmpty()) {
69 BluetoothDevice nextDevice = deviceList.remove(0);
  /tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
ListDevicesOp.java 78 List<DeviceDescriptor> deviceList = new ArrayList<DeviceDescriptor>();
91 deviceList.add(new DeviceDescriptor(serial, isStubDevice, DeviceAllocationState
101 return 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/av/services/audiopolicy/common/managerdefinitions/src/
HwModule.cpp 291 DeviceVector deviceList = declaredDevices.getDevicesFromTypeAddr(device, address);
292 if (!deviceList.isEmpty()) {
293 return deviceList.itemAt(0);
296 deviceList = declaredDevices.getDevicesFromType(device);
297 if (!deviceList.isEmpty()) {
298 return deviceList.itemAt(0);
  /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);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothA2dpSinkFacade.java 197 List<BluetoothDevice> deviceList = sA2dpSinkProfile.getConnectedDevices();
200 device = BluetoothFacade.getDevice(deviceList, deviceID);
BluetoothPbapClientFacade.java 210 List<BluetoothDevice> deviceList =
214 device = BluetoothFacade.getDevice(deviceList, deviceID);
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
MapClientTest.java 86 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
87 for (BluetoothDevice d : deviceList) {
  /packages/apps/TV/tuner/src/com/android/tv/tuner/
DvbDeviceAccessor.java 128 List<DvbDeviceInfoWrapper> deviceList = getDvbDeviceList();
133 .setMaxConcurrentTunedSessions(deviceList.size())
134 .setMaxConcurrentSessionsOfAllTypes(deviceList.size() + 1)

Completed in 1061 milliseconds

1 2 3 4 5 6 7 8