Searched +refs:android +refs:adb +refs:command (Results 1 – 3 of 3) sorted by relevance
| /development/cmds/monkey/ |
| D | README.NETWORK.txt | 9 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/USB/AdbTest/src/com/android/adb/ |
| D | AdbMessage.java | 17 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()
|
| D | AdbDevice.java | 17 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()
|