Home
last modified time | relevance | path

Searched refs:device (Results 1 – 19 of 19) sorted by relevance

/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DDeviceBridge.java17 package com.android.hierarchyviewer.device;
64 public static boolean isViewServerRunning(IDevice device) { in isViewServerRunning() argument
68 if (device.isOnline()) { in isViewServerRunning()
69 device.executeShellCommand(buildIsServerRunningShellCommand(), in isViewServerRunning()
72 if (VersionLoader.loadProtocolVersion(device) > 2) { in isViewServerRunning()
89 public static boolean startViewServer(IDevice device) { in startViewServer() argument
90 return startViewServer(device, Configuration.DEFAULT_SERVER_PORT); in startViewServer()
93 public static boolean startViewServer(IDevice device, int port) { in startViewServer() argument
97 if (device.isOnline()) { in startViewServer()
98 device.executeShellCommand(buildStartServerShellCommand(port), in startViewServer()
[all …]
DConfiguration.java17 package com.android.hierarchyviewer.device;
DWindow.java17 package com.android.hierarchyviewer.device;
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/
DHierarchyViewer.java20 import com.android.hierarchyviewer.device.Window;
23 import com.android.hierarchyviewer.device.DeviceBridge;
71 for (IDevice device : DeviceBridge.getDevices()) { in listDevices()
72 printDevice(device); in listDevices()
77 private static void printDevice(IDevice device) { in printDevice() argument
78 System.out.println(device.toString() + "\t\t" + in printDevice()
79 (device.isEmulator() ? "emulator" : "device")); in printDevice()
83 IDevice device = selectDevice(deviceName); in outputPsd() local
84 if (device != null) { in outputPsd()
85 if (DeviceBridge.isViewServerRunning(device)) { in outputPsd()
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
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) { in invalidate() argument
31 sendCommand("INVALIDATE", device, window, params); in invalidate()
34 public static void requestLayout(IDevice device, Window window, String params) { in requestLayout() argument
35 sendCommand("REQUEST_LAYOUT", device, window, params); in requestLayout()
38 public static void outputDisplayList(IDevice device, Window window, String params) { in outputDisplayList() argument
39 sendCommand("OUTPUT_DISPLAYLIST", device, window, params); in outputDisplayList()
42 private static void sendCommand(String command, IDevice device, Window window, String params) { in sendCommand() argument
49 DeviceBridge.getDeviceLocalPort(device))); in sendCommand()
DVersionLoader.java21 import com.android.hierarchyviewer.device.DeviceBridge;
32 public static int loadServerVersion(IDevice device) { in loadServerVersion() argument
33 return loadVersion(device, "SERVER"); in loadServerVersion()
36 public static int loadProtocolVersion(IDevice device) { in loadProtocolVersion() argument
37 return loadVersion(device, "PROTOCOL"); in loadProtocolVersion()
40 private static int loadVersion(IDevice device, String command) { in loadVersion() argument
48 DeviceBridge.getDeviceLocalPort(device))); in loadVersion()
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) { in loadProfiles() argument
45 DeviceBridge.getDeviceLocalPort(device))); in loadProfiles()
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) { in loadWindows() argument
44 DeviceBridge.getDeviceLocalPort(device))); in loadWindows()
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) { in saveLayers() argument
50 DeviceBridge.getDeviceLocalPort(device))); in saveLayers()
129 public static Image loadCapture(IDevice device, Window window, String params) { in loadCapture() argument
137 DeviceBridge.getDeviceLocalPort(device))); in loadCapture()
DViewHierarchyLoader.java20 import com.android.hierarchyviewer.device.DeviceBridge;
21 import com.android.hierarchyviewer.device.Window;
38 public static ViewHierarchyScene loadScene(IDevice device, Window window) { in loadScene() argument
53 DeviceBridge.getDeviceLocalPort(device))); in loadScene()
/sdk/dumpeventlog/src/com/android/dumpeventlog/
DDumpEventLog.java119 for (IDevice device : devices) { in main()
120 if (device.getSerialNumber().equals(args[0])) { in main()
122 grabLogFrom(device, args[1]); in main()
138 private static void grabLogFrom(IDevice device, String filePath) throws IOException, in grabLogFrom() argument
144 device.runEventLogService(receiver); in grabLogFrom()
/sdk/eventanalyzer/src/com/android/eventanalyzer/
DEventAnalyzer.java261 for (IDevice device : devices) { in parseLogFromDevice()
262 if (device.getSerialNumber().equals(mInputDevice)) { in parseLogFromDevice()
263 grabLogFrom(device); in parseLogFromDevice()
306 private void grabLogFrom(IDevice device) throws IOException, TimeoutException, in grabLogFrom() argument
309 if (mParser.init(device) == false) { in grabLogFrom()
310 printAndExit("Failed to get event-log-tags from " + device.getSerialNumber(), in grabLogFrom()
316 device.runEventLogService(receiver); in grabLogFrom()
/sdk/testapps/userLibTest/
DREADME.txt5 - App should compile, and deploy on device and UI show show SUCCESS
/sdk/testapps/javaProjectTest/
DREADME.txt5 - App should compile, and deploy on device and UI show show SUCCESS
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DWorkspace.java21 import com.android.hierarchyviewer.device.DeviceBridge;
22 import com.android.hierarchyviewer.device.Window;
253 for (IDevice device : DeviceBridge.getDevices()) { in buildDeviceSelector()
254 DeviceBridge.setupDeviceForward(device); in buildDeviceSelector()
255 devicesTableModel.addDevice(device); in buildDeviceSelector()
971 for (IDevice device : devicesTableModel.getDevices()) { in cleanupDevices()
972 DeviceBridge.removeDeviceForward(device); in cleanupDevices()
1440 public void deviceConnected(final IDevice device) { in deviceConnected() argument
1441 DeviceBridge.setupDeviceForward(device); in deviceConnected()
1445 addDevice(device); in deviceConnected()
[all …]
DScreenViewer.java54 private final IDevice device; field in ScreenViewer
76 ScreenViewer(Workspace workspace, IDevice device, int spacing) { in ScreenViewer() argument
81 this.device = device; in ScreenViewer()
674 rawImage = device.getScreenshot(); in doInBackground()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/action/
DExitAction.java20 import com.android.hierarchyviewer.device.DeviceBridge;
/sdk/docs/
Dhowto_use_cupcake_sdk.txt215 $ SDK/tools/emulator -help-virtual-device
217 An Android Virtual Device (AVD) models a single virtual device running the
309 $ SDK/tools/emulator -help-virtual-device
318 - If there's one running device or emulator, this is used for deployment.
319 - If there's more than one running device or emulator, a "device chooser" is
331 - Manual means to always present the device chooser.
/sdk/emulator/skins/dynamic/
Dlayout7 device {