Home | History | Annotate | Download | only in src

Lines Matching refs:command

34     android::String8 command;
35 if (command.appendFormat("forward tcp:%d tcp:%d", hostPort, devicePort) != 0) {
38 if (executeCommand(command) != 0) {
46 android::String8 command;
47 if (command.appendFormat("install -r %s", clientBinary.string()) != 0) {
50 if (executeCommand(command) != 0) {
53 command.clear();
54 if (command.appendFormat("shell am start -W -n %s", component.string()) != 0) {
57 if (executeCommand(command) != 0) {
63 /** @param command ADB command except adb -s XYZW */
64 int Adb::executeCommand(const android::String8& command)
68 if (adbCommand.appendFormat("adb %s", command.string()) != 0) {
73 command.string()) != 0) {