Home
last modified time | relevance | path

Searched +refs:android +refs:adb +refs:command (Results 1 – 4 of 4) sorted by relevance

/development/samples/USB/AdbTest/src/com/android/adb/
DAdbMessage.java17 package com.android.adb;
19 import android.hardware.usb.UsbRequest;
51 public void set(int command, int arg0, int arg1, byte[] data) { in set() argument
52 mMessageBuffer.putInt(0, command); in set()
57 mMessageBuffer.putInt(20, command ^ 0xFFFFFFFF); in set()
63 public void set(int command, int arg0, int arg1) { in set() argument
64 set(command, arg0, arg1, (byte[])null); in set()
66 public void set(int command, int arg0, int arg1, String data) { in set() argument
69 set(command, arg0, arg1, data.getBytes()); in set()
DAdbDevice.java17 package com.android.adb;
19 import android.hardware.usb.UsbConstants;
20 import android.hardware.usb.UsbDeviceConnection;
21 import android.hardware.usb.UsbEndpoint;
22 import android.hardware.usb.UsbInterface;
23 import android.hardware.usb.UsbRequest;
24 import android.util.SparseArray;
166 int command = message.getCommand(); in dispatchMessage() local
167 switch (command) { in dispatchMessage()
/development/cmds/monkey/
DREADME.NETWORK.txt9 Monkey only binds to localhost, so you will need to use adb to setup
17 $ adb forward tcp:1080 tcp:1080
21 $ adb shell monkey --port 1080
28 respond to every command with a line starting with OK for commands
49 This command injects KeyEvent's into the input system. The keycode
51 (http://developer.android.com/reference/android/view/KeyEvent.html).
63 This command injects a MotionEvent into the input system that
73 This command injects a MotionEvent into the input system that
84 This command will wake the device up from sleep and allow user input.
87 The tap command is a shortcut for the touch command. It will
[all …]
/development/samples/BrowserPlugin/
DREADME33 see how an android browser plugin is created and how to use the available APIs.
35 market or adb. The sample plugin attempts to exercise as many of the APIs as
59 AndroidManifest.xml: similar to a standard android manifest file, except that it
78 style plugin as well as all the android specific APIs. The initial
95 as well as the specialized android interfaces.
104 2. the previous command produces an apk file so record its location
105 3. run "adb install [apk_file]" to install it on a device/emulator