Home
last modified time | relevance | path

Searched refs:devices (Results 1 – 25 of 39) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationTest.java23 import com.android.sdklib.devices.Device;
24 import com.android.sdklib.devices.DeviceManager;
25 import com.android.sdklib.devices.Screen;
57 Collection<Device> devices = deviceManager.getDevices(DeviceManager.DeviceFilter.DEFAULT); in test() local
58 assertNotNull(devices); in test()
59 assertTrue(devices.size() > 0); in test()
60 configuration.setDevice(devices.iterator().next(), false); in test()
117 …List<Device> devices = Lists.newArrayList(deviceManager.getDevices(DeviceManager.DeviceFilter.DEFA… in testCopy() local
118 assertNotNull(devices); in testCopy()
119 assertTrue(devices.size() > 0); in testCopy()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DDeviceMenuListener.java30 import com.android.sdklib.devices.Device;
112 List<Device> devices; in show() local
119 devices = manufacturers.get(device.getManufacturer()); in show()
121 devices = new ArrayList<Device>(); in show()
122 manufacturers.put(device.getManufacturer(), devices); in show() local
124 devices.add(device); in show()
127 for (List<Device> devices : manufacturers.values()) { in show()
131 item.setText(devices.get(0).getManufacturer()); in show()
135 for (final Device device : devices) { in show()
147 for (List<Device> devices : manufacturers.values()) { in show()
[all …]
DVaryingConfiguration.java26 import com.android.sdklib.devices.Device;
27 import com.android.sdklib.devices.Hardware;
28 import com.android.sdklib.devices.Screen;
29 import com.android.sdklib.devices.State;
237 Collection<Device> devices = mConfigChooser.getDevices(); in getDevice() local
252 for (Device d : devices) { in getDevice()
278 for (Device d : devices) { in getDevice()
DOrientationMenuAction.java23 import com.android.sdklib.devices.Device;
24 import com.android.sdklib.devices.State;
DNestedConfiguration.java24 import com.android.sdklib.devices.Device;
25 import com.android.sdklib.devices.State;
DConfigurationMatcher.java45 import com.android.sdklib.devices.Device;
46 import com.android.sdklib.devices.State;
251 Collection<Device> devices = mConfigChooser.getDevices(); in findAndSetCompatibleConfig() local
303 for (Device device : devices) { in findAndSetCompatibleConfig()
DConfigurationDescription.java42 import com.android.sdklib.devices.Device;
43 import com.android.sdklib.devices.State;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/
DRemoteAdtTestRunner.java116 List<IDevice> devices = new ArrayList<IDevice>(mLaunchInfo.getDevices()); in runTests() local
118 new ArrayList<RemoteAndroidTestRunner>(devices.size()); in runTests()
120 for (IDevice device : devices) { in runTests()
146 new ArrayList<TestTreeCollectorJob>(devices.size()); in runTests()
147 List<TestCollector> perDeviceCollectors = new ArrayList<TestCollector>(devices.size()); in runTests()
148 for (int i = 0; i < devices.size(); i++) { in runTests()
150 String deviceName = devices.get(i).getName(); in runTests()
193 new ArrayList<TestRunnerJob>(devices.size()); in runTests()
196 devices.size()); in runTests()
199 for (int i = 0; i < devices.size(); i++) { in runTests()
[all …]
DAndroidJUnitLaunchInfo.java81 public void setDevices(Collection<IDevice> devices) { in setDevices() argument
82 mDevices = devices; in setDevices()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DEmptyLaunchAction.java28 public boolean doLaunchAction(DelayedLaunchInfo info, Collection<IDevice> devices) { in doLaunchAction() argument
29 for (IDevice d : devices) { in doLaunchAction()
DActivityLaunchAction.java104 public boolean doLaunchAction(DelayedLaunchInfo info, Collection<IDevice> devices) { in doLaunchAction() argument
106 for (IDevice d : devices) { in doLaunchAction()
DIAndroidLaunchAction.java36 boolean doLaunchAction(DelayedLaunchInfo info, Collection<IDevice> devices); in doLaunchAction() argument
DAndroidLaunchController.java365 IDevice[] devices = AndroidDebugBridge.getBridge().getDevices(); in launch() local
369 devices); in launch()
405 for (IDevice d : devices) { in launch()
471 for (IDevice d : devices) { in launch()
594 Collection<IDevice> compatibleDevices = findCompatibleDevices(devices, in launch()
659 private Collection<IDevice> findCompatibleDevices(IDevice[] devices, in findCompatibleDevices() argument
661 Set<IDevice> compatibleDevices = new HashSet<IDevice>(devices.length); in findCompatibleDevices()
663 for (IDevice d: devices) { in findCompatibleDevices()
932 private void multiLaunch(DelayedLaunchInfo launchInfo, Collection<IDevice> devices) { in multiLaunch() argument
933 for (IDevice d: devices) { in multiLaunch()
[all …]
DDeviceChooserDialog.java109 private Object[] findCompatibleDevices(IDevice[] devices) { in findCompatibleDevices() argument
110 if (devices == null) { in findCompatibleDevices()
114 List<IDevice> compatibleDevices = new ArrayList<IDevice>(devices.length); in findCompatibleDevices()
115 for (IDevice device : devices) { in findCompatibleDevices()
741 IDevice[] devices = bridge.getDevices(); in updateDefaultSelection() local
743 for (IDevice device : devices) { in updateDefaultSelection()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DWorkspace.java177 private JTable devices; field in Workspace
194 devices.changeSelection(0, 0, false, false); in Workspace()
259 devices = new JTable(devicesTableModel); in buildDeviceSelector()
260 devices.getSelectionModel().addListSelectionListener(new DeviceSelectedListener()); in buildDeviceSelector()
261 devices.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); in buildDeviceSelector()
262 devices.setBorder(null); in buildDeviceSelector()
263 JScrollPane devicesScroller = new JScrollPane(devices); in buildDeviceSelector()
1413 private ArrayList<IDevice> devices; field in Workspace.DevicesTableModel
1416 devices = new ArrayList<IDevice>(); in DevicesTableModel()
1431 return devices.get(row); in getValueAt()
[all …]
/sdk/dumpeventlog/src/com/android/dumpeventlog/
DDumpEventLog.java117 IDevice[] devices = bridge.getDevices(); in main() local
119 for (IDevice device : devices) { in main()
/sdk/bash_completion/
Dadb.bash69 … local devices=$(command adb devices 2> /dev/null | grep -v "List of devices" | awk '{ print $1 }')
70 COMPREPLY=( $(compgen -W "${devices}" -- ${cur}) )
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/
DAndroidJUnitLaunchAction.java67 public boolean doLaunchAction(DelayedLaunchInfo info, Collection<IDevice> devices) { in doLaunchAction() argument
69 mLaunchInfo.getRunner(), JOINER.join(devices)); in doLaunchAction()
74 mLaunchInfo.setDevices(devices); in doLaunchAction()
/sdk/apps/DeviceConfig/
DREADME.txt3 tools/base/files/devices.xml).
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
DNdkGdbLaunchDelegate.java153 IDevice[] devices = AndroidDebugBridge.getBridge().getDevices(); in doLaunch() local
154 if (devices.length == 1) { in doLaunch()
155 device = devices[0]; in doLaunch()
156 } else if ((device = getLastUsedDevice(config, devices)) == null) { in doLaunch()
355 private IDevice getLastUsedDevice(ILaunchConfiguration config, @NonNull IDevice[] devices) { in getLastUsedDevice() argument
365 return AndroidLaunchController.getDeviceIfOnline(serial, devices); in getLastUsedDevice()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DGLTraceOptionsDialog.java295 private Combo createDeviceDropdown(Composite parent, IDevice[] devices) { in createDeviceDropdown() argument
298 List<String> items = new ArrayList<String>(devices.length); in createDeviceDropdown()
299 for (IDevice d : devices) { in createDeviceDropdown()
DCollectTraceAction.java389 IDevice[] devices = AndroidDebugBridge.getBridge().getDevices(); in getDevice() local
391 for (IDevice device : devices) { in getDevice()
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
DConfigGenerator.java174 Element devices = doc.createElement(PREFIX + NODE_DEVICES); in generateConfig() local
175 devices.setAttribute(XMLConstants.XMLNS_ATTRIBUTE + ":xsi", in generateConfig()
177 devices.setAttribute(XMLConstants.XMLNS_ATTRIBUTE + ":" + LOCAL_NS, NS_DEVICES_XSD); in generateConfig()
178 doc.appendChild(devices); in generateConfig()
181 devices.appendChild(device); in generateConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DDdmsPlugin.java650 IDevice[] devices = bridge.getDevices(); in deviceDisconnected() local
653 if (devices.length == 0) { in deviceDisconnected()
656 handleDefaultSelection(devices[0]); in deviceDisconnected()
/sdk/eventanalyzer/src/com/android/eventanalyzer/
DEventAnalyzer.java259 IDevice[] devices = bridge.getDevices(); in parseLogFromDevice() local
261 for (IDevice device : devices) { in parseLogFromDevice()

12