Searched defs:device (Results 1 - 25 of 92) sorted by relevance

1234

/sdk/monkeyrunner/scripts/
H A Dmonkey_recorder.py19 device = mr.waitForConnection() variable
20 recorder.start(device)
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/
H A DDeviceConnection.java17 package com.android.hierarchyviewerlib.device;
31 * This class is used for connecting to a device in debug mode running the view
43 public DeviceConnection(IDevice device) throws IOException { argument
45 int port = DeviceBridge.getDeviceLocalPort(device);
H A DWindow.java17 package com.android.hierarchyviewerlib.device;
22 * Used for storing a window from the window manager service on the device.
23 * These are the windows that the device selector shows.
33 public Window(IDevice device, String title, int hashCode) { argument
34 this.mDevice = device;
60 public static Window getFocusedWindow(IDevice device) { argument
61 return new Window(device, "<Focused Window>", -1);
65 * After each refresh of the windows in the device selector, the windows are
67 * work in the device selector unless the equals method is defined here.
H A DWindowUpdater.java17 package com.android.hierarchyviewerlib.device;
26 * This class handles automatic updating of the list of windows in the device
27 * selector for device with protocol version 3 or above of the view server. It
38 public void windowsChanged(IDevice device); argument
40 public void focusChanged(IDevice device); argument
45 for (IDevice device : sListeningThreads.keySet()) {
46 sListeningThreads.get(device).interrupt();
52 public static void startListenForWindowChanges(IWindowChangeListener listener, IDevice device) { argument
56 if (sWindowChangeListeners.containsKey(device)) {
57 sWindowChangeListeners.get(device)
72 stopListenForWindowChanges(IWindowChangeListener listener, IDevice device) argument
91 getWindowChangeListenersAsArray(IDevice device) argument
106 notifyWindowsChanged(IDevice device) argument
115 notifyFocusChanged(IDevice device) argument
125 private IDevice device; field in class:WindowUpdater.WindowChangeMonitor
127 WindowChangeMonitor(IDevice device) argument
[all...]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
H A DConfiguration.java17 package com.android.hierarchyviewer.device;
H A DWindow.java17 package com.android.hierarchyviewer.device;
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
H A DProfilesLoader.java21 import com.android.hierarchyviewer.device.Window;
22 import com.android.hierarchyviewer.device.DeviceBridge;
33 public static double[] loadProfiles(IDevice device, Window window, String params) { argument
45 DeviceBridge.getDeviceLocalPort(device)));
H A DVersionLoader.java21 import com.android.hierarchyviewer.device.DeviceBridge;
32 public static int loadServerVersion(IDevice device) { argument
33 return loadVersion(device, "SERVER");
36 public static int loadProtocolVersion(IDevice device) { argument
37 return loadVersion(device, "PROTOCOL");
40 private static int loadVersion(IDevice device, String command) { argument
48 DeviceBridge.getDeviceLocalPort(device)));
H A DWindowsLoader.java20 import com.android.hierarchyviewer.device.DeviceBridge;
21 import com.android.hierarchyviewer.device.Window;
33 public static Window[] loadWindows(IDevice device, int protocol, int server) { argument
44 DeviceBridge.getDeviceLocalPort(device)));
H A DCaptureLoader.java20 import com.android.hierarchyviewer.device.Window;
21 import com.android.hierarchyviewer.device.DeviceBridge;
41 public static boolean saveLayers(IDevice device, Window window, File file) { argument
50 DeviceBridge.getDeviceLocalPort(device)));
129 public static Image loadCapture(IDevice device, Window window, String params) { argument
137 DeviceBridge.getDeviceLocalPort(device)));
H A DViewHierarchyLoader.java20 import com.android.hierarchyviewer.device.DeviceBridge;
21 import com.android.hierarchyviewer.device.Window;
38 public static ViewHierarchyScene loadScene(IDevice device, Window window) { argument
53 DeviceBridge.getDeviceLocalPort(device)));
H A DViewManager.java20 import com.android.hierarchyviewer.device.Window;
21 import com.android.hierarchyviewer.device.DeviceBridge;
30 public static void invalidate(IDevice device, Window window, String params) { argument
31 sendCommand("INVALIDATE", device, window, params);
34 public static void requestLayout(IDevice device, Window window, String params) { argument
35 sendCommand("REQUEST_LAYOUT", device, window, params);
38 public static void outputDisplayList(IDevice device, Window window, String params) { argument
39 sendCommand("OUTPUT_DISPLAYLIST", device, window, params);
42 private static void sendCommand(String command, IDevice device, Window window, String params) { argument
49 DeviceBridge.getDeviceLocalPort(device)));
[all...]
/sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/actions/
H A DAction.java42 * @param device the device to execute the action on.
44 void execute(IChimpDevice device) throws Exception; argument
H A DPressAction.java65 public void execute(IChimpDevice device) { argument
66 device.press(key, TouchPressType.fromIdentifier(downUpFlag));
H A DTouchAction.java51 public void execute(IChimpDevice device) throws Exception { argument
52 device.touch(x, y, TouchPressType.fromIdentifier(direction));
H A DTypeAction.java21 * Action to type in a string on the device.
43 public void execute(IChimpDevice device) { argument
44 device.type(whatToType);
H A DWaitAction.java39 public void execute(IChimpDevice device) throws Exception { argument
/sdk/ddms/app/src/com/android/ddms/
H A DDebugPortProvider.java41 * Mapping device serial numbers to maps. The embedded maps are mapping application names to
57 * @param device The device the application is running on.
65 public int getPort(IDevice device, String appName) { argument
67 Map<String, Integer> deviceMap = mMap.get(device.getSerialNumber());
79 * Returns the map of Static debugger ports. The map links device serial numbers to
100 // appPackageName:appPortNumber:device-serial-number
114 // get the device map
127 * Sets new [device, app, port] values.
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
H A DDebugPortManager.java29 * port provider on a per-<code>Client</code> basis, depending on the device/emulator they are
45 * @param device The device the application is running on.
51 public int getPort(IDevice device, String appName); argument
H A DGetPropReceiver.java24 * {@link #GETPROP_COMMAND} on a device.
35 * Creates the receiver with the device the receiver will modify.
36 * @param device The device to modify
38 public GetPropReceiver(Device device) { argument
39 mDevice = device;
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
H A DLogCatReceiverFactory.java29 * constructed {@link LogCatReceiver}'s per device and hand them back when requested.
41 public void deviceDisconnected(final IDevice device) {
52 removeReceiverFor(device); }
53 }, "Remove logcat receiver for " + device.getSerialNumber());
58 public void deviceConnected(IDevice device) {
62 public void deviceChanged(IDevice device, int changeMask) {
77 private synchronized void removeReceiverFor(IDevice device) { argument
78 LogCatReceiver r = mReceiverCache.get(device.getSerialNumber());
81 mReceiverCache.remove(device.getSerialNumber());
85 public synchronized LogCatReceiver newReceiver(IDevice device, IPreferenceStor argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
H A DEmptyLaunchAction.java36 public boolean doLaunchAction(DelayedLaunchInfo info, IDevice device) { argument
38 String msg = String.format("%1$s installed on device",
H A DILaunchController.java27 * Launches an application on a device or emulator
30 * @param device the device or emulator to launch the application on
32 public void launchApp(DelayedLaunchInfo launchInfo, IDevice device); argument
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/
H A DHierarchyViewerPluginDirector.java21 import com.android.hierarchyviewerlib.device.Window;
100 public void loadPixelPerfectData(IDevice device) { argument
101 super.loadPixelPerfectData(device);
/sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/
H A DMonkeyRecorder.java46 * @param device
48 public static void start(final MonkeyDevice device) { argument
49 start(device.getImpl());
52 /* package */static void start(final IChimpDevice device) { argument
53 MonkeyRecorderFrame frame = new MonkeyRecorderFrame(device);
59 device.dispose();

Completed in 1637 milliseconds

1234