/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
CommandResult.java | 16 package com.android.tradefed.command.remote; 23 * Encapsulates 'last command execution' data sent over the wire
|
ExecCommandOp.java | 16 package com.android.tradefed.command.remote; 23 * Remote operation for asynchronously executing a command on an already allocated device.
|
IRemoteClient.java | 17 package com.android.tradefed.command.remote; 30 * @throws RemoteException if command failed 51 * Send an 'add command' request to remote TF. This will add the command to the queue of 53 * time. There is no way for a client to get the result of a command added via this API. 56 * @param elapsedTimeMs the total time in ms that the command has been executing for. Used for 59 * @param commandArgs the command arguments, in [configname] [option] format 65 * Send an 'add command file' request to remote TF. 68 * @param commandFile the file system path to the command file 69 * @param extraArgs the list of extra arguments to add to every command parsed from fil [all...] |
/tools/tradefederation/core/src/com/android/tradefed/util/ |
CircularAtraceUtil.java | 29 * testing. Invoking the start command will start asynchronously monitoring the tagged traces in a 69 // Execute shell command to start atrace 70 String command = String.format(ATRACE_START_CMD, bufferSizeMB * KB_IN_MB, tagsString); local 71 CLog.d("Starting circular atrace utility with command: %s", command); 72 device.executeShellCommand(command); 79 * @return a FileInputStreamSource with the results from the atrace command 90 // Execute shell command to stop atrace with results 91 String command = String.format(ATRACE_STOP_CMD, bufferSizeKB, DEVICE_FILE); local 92 CLog.d("Ending atrace utility with command: %s", command) [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
SimplePerfUtilTest.java | 46 String command = "ls -l"; local 47 String fullCommand = spu.commandStringPreparer(command); 48 Assert.assertEquals("simpleperf stat " + command, fullCommand); 53 String command = "sleep 10"; local 60 String fullCommand = spu.commandStringPreparer(command); 61 Assert.assertEquals("simpleperf record -e cpu-cycles:k --no-inherit perf.data " + command,
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
PacketDispatcher.java | 52 * - begCommandIdForTrace defines starting command ID for trace 53 * (the first command has ID=1, the second - ID=2 and so on). 55 * - commandsNumberForTrace defines number of command for trace. 187 * Internal class to synchronize jdwp commands. It sends command packets 205 // set first command id to 1 210 * Gets the next new id for a command. 231 // obtain the current command id 234 // obtain the current command packet by command id 235 CommandPacket command = commands.remove(Id) local [all...] |
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
PackageVisibilityTest.java | 142 final String command = "pm uninstall -k --user " + userId + " " + packageName; local 143 getDevice().executeShellCommand(command);
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
DeviceAndProfileOwnerTestApi25.java | 102 String command = "am start -W --user " + userId + " " + TEST_APP_PKG + "/" local 104 getDevice().executeShellCommand(command);
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
BaseMultiUserTest.java | 78 final String command = "pm create-user --profileOf " + userId + " --restricted " local 80 CLog.d("Starting command: " + command); 81 final String output = getDevice().executeShellCommand(command); 82 CLog.d("Output for command " + command + ": " + output); 101 final String command = "pm create-user " local 103 CLog.d("Starting command: " + command); 104 final String output = getDevice().executeShellCommand(command); [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ProviderTestUtils.java | 43 String command = String.format( local 45 executeShellCommand(command, uiAutomation); 48 static String executeShellCommand(String command, UiAutomation uiAutomation) 50 ParcelFileDescriptor pfd = uiAutomation.executeShellCommand(command.toString());
|
/cts/tests/tests/security/src/android/security/cts/ |
VisualizerEffectTest.java | 62 Method command = AudioEffect.class.getDeclaredMethod("command", int.class, local 64 Integer ret = (Integer) command.invoke(ae, new Object[]{VISUALIZER_CMD_MEASURE,
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
WiredHeadsetTest.java | 122 final String command = "input keyevent " + (longPress ? "--longpress" : "--shortpress") local 124 TestUtils.executeShellCommand(getInstrumentation(), command); local
|
/dalvik/dx/src/com/android/dx/command/annotool/ |
AnnotationLister.java | 17 package com.android.dx.command.annotool;
|
/dalvik/dx/src/com/android/dx/command/dump/ |
Main.java | 17 package com.android.dx.command.dump;
|
/dalvik/dx/src/com/android/dx/command/grep/ |
Grep.java | 17 package com.android.dx.command.grep;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
InvokeMethodAfterMultipleThreadSuspensionTest.java | 30 * JDWP unit test for ObjectReference.InvokeCommand command with thread suspended more than once 52 CommandPacket command = new CommandPacket( local 55 command.setNextValueAsThreadID(receiverId); 56 command.setNextValueAsThreadID(threadId); 57 command.setNextValueAsClassID(classID); 58 command.setNextValueAsMethodID(methodId); 59 command.setNextValueAsInt(0); 60 command.setNextValueAsInt(invoke_options); 61 return command;
|
InvokeMethodWithSuspensionTest.java | 30 * JDWP unit test for ObjectReference.InvokeCommand command with a thread suspension. 50 CommandPacket command = new CommandPacket( local 53 command.setNextValueAsThreadID(receiverId); 54 command.setNextValueAsThreadID(threadId); 55 command.setNextValueAsClassID(classID); 56 command.setNextValueAsMethodID(methodId); 57 command.setNextValueAsInt(0); 58 command.setNextValueAsInt(invoke_options); 59 return command;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
DisposeDuringInvokeTest.java | 32 * JDWP Unit test for VirtualMachine.Dispose command while a thread is invoking a method. 42 * This testcase exercises VirtualMachine.Dispose command when a thread, suspended by an 47 * command to initiate a method invocation executing in that thread. The method will synchronize 49 * <BR>While the tested thread waits for the signal, we send a VirtualMachine.Dispose command to 73 // Send ObjectReference.InvokeMethod command. 74 CommandPacket command = new CommandPacket( local 77 command.setNextValueAsThreadID(thisObjectId); 78 command.setNextValueAsThreadID(threadID); 79 command.setNextValueAsClassID(classID); 80 command.setNextValueAsMethodID(invokedMethodId) [all...] |
/external/autotest/client/bin/ |
site_sysinfo.py | 19 command = base_sysinfo.command variable 308 # add in some extra command logging 309 self.boot_loggables.add(command("ls -l /boot", 312 command(constants.CHROME_VERSION_COMMAND, "chrome_version")) 313 self.boot_loggables.add(command("crossystem", "crossystem"))
|
/external/autotest/client/deps/glbench/src/ |
utils.cc | 79 bool read_float_from_cmd_output(const char *command, double *value) { 80 FILE *fd = popen(command, "r"); 82 printf("Error: could not popen command. (%s)\n", command); 87 printf("Error: could not read float from command output. (%s)\n", 88 command); 97 char command[1024]; local 98 sprintf(command, "%s %s", TEMPERATURE_SCRIPT_PATH, "--critical"); 100 if (!read_float_from_cmd_output(command, &temperature_Celsius)) { 114 char command[1024] local [all...] |
/external/jacoco/org.jacoco.cli/src/org/jacoco/cli/internal/ |
Main.java | 22 * Entry point for all command line operations. 24 public class Main extends Command { 49 Command command; field in class:Main 53 return "Command line interface for JaCoCo."; 58 return JAVACMD + "--help | <command>"; 80 if (command.help) { 81 command.printHelp(out); 85 if (command.quiet) { 89 return command.execute(out, err) [all...] |
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
MainUtil.java | 29 String command = args[0]; local 33 if (method.getName().equals(command)) {
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
FinderTest.java | 32 String command = jc.getParsedCommand(); local 33 Assert.assertEquals(command, "--configure");
|
/external/jcommander/src/test/java/com/beust/jcommander/command/ |
CommandTest.java | 19 package com.beust.jcommander.command; 109 Assert.assertFalse(out.toString().contains("hidden Hidden command to add file contents to the index"));
|
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
InterpretedMacro.java | 38 private final PCommand command; field in class:InterpretedMacro 45 public InterpretedMacro(PCommand command, Template owningTemplate, String macroName, 48 this.command = command; 64 command.apply(templateInterpreter);
|