Searched refs:command (Results 1 - 24 of 24) sorted by relevance

/sdk/emulator/opengl/shared/OpenglOsUtils/
H A DosProcessUnix.cpp34 // buildArgList converts a command line into null terminated argument list.
39 static char **buildArgList(const char *command) argument
44 char *tmpcmd = strdup(command);
94 static pid_t start_process(const char *command,const char *startDir) argument
115 char **argv = buildArgList(command);
/sdk/emulator/opengl/tests/event_injector/
H A Demulator-console.h43 void emulatorConsole_send( EmulatorConsole* console, const char* command );
H A Demulator-console.c281 emulatorConsole_send( EmulatorConsole* con, const char* command )
283 int cmdlen = strlen(command);
291 msg = msg_alloc(command, cmdlen);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
H A DActivityLaunchAction.java48 String command = "am start" //$NON-NLS-1$
67 device.executeShellCommand(command, new AMReceiver(info, device, mLaunchController));
81 "Launch error: adb rejected command: %1$s", e.getMessage()));
85 AdtPlugin.log(e, "No command output when running: '%1$s' on device %2$s", command,
H A DAndroidLaunchController.java1019 "Failed to install %1$s on device '%2$s': adb rejected install command with: %3$s",
1310 // split the custom command line in segments
1334 // build the command line based on the available parameters.
1365 String[] command = list.toArray(new String[list.size()]);
1369 Process process = Runtime.getRuntime().exec(command);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
H A DAndroidNature.java197 ICommand command = desc.newCommand();
198 command.setBuilderName(ResourceManagerBuilder.ID);
199 newCommands[0] = command;
243 ICommand command = desc.newCommand();
244 command.setBuilderName(PreCompilerBuilder.ID);
245 newCommands[index] = command;
269 ICommand command = desc.newCommand();
270 command.setBuilderName(PostCompilerBuilder.ID);
271 newCommands[commands.length] = command;
H A DProjectHelper.java1053 for (ICommand command : commands) {
1054 String name = command.getBuilderName();
1058 if (command.getArguments() != null) {
1059 newArgs.putAll(command.getArguments());
1068 command.getArguments(), monitor);
1073 command.getArguments(), monitor);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
H A DBuildHelper.java519 // prepare the command line for proguard
520 List<String> command = new ArrayList<String>();
521 command.add(AdtPlugin.getOsAbsoluteProguard());
524 command.add("-include"); //$NON-NLS-1$
525 command.add(quotePath(configFile.getAbsolutePath()));
528 command.add("-injars"); //$NON-NLS-1$
534 command.add(quoteWinArg(sb.toString()));
536 command.add("-outjars"); //$NON-NLS-1$
537 command.add(quotePath(obfuscatedJar.getAbsolutePath()));
539 command
648 createWindowsProguardConfig(List<String> command) argument
[all...]
H A DAidlProcessor.java106 // create the command line
184 // finish to set the command line.
235 * Execute the aidl command line, parse the output, and mark the aidl file
237 * @param command the String array containing the command line to execute.
243 private boolean execAidl(BaseBuilder builder, IProject project, String[] command, IFile file, argument
249 for (String c : command) {
257 Process p = Runtime.getRuntime().exec(command);
298 String msg = String.format(Messages.AIDL_Exec_Error_s, command[0]);
304 String msg = String.format(Messages.AIDL_Exec_Error_s, command[
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
H A DGdbServerTask.java68 String command = String.format("run-as %s lib/gdbserver +%s --attach %d",
71 mDevice.executeShellCommand(command, mOutputReceiver, 0);
H A DNdkGdbLaunchDelegate.java233 String command = String.format("am start -n %s/%s", manifestData.getPackage(), //$NON-NLS-1$
238 device.executeShellCommand(command, receiver);
498 String command = String.format("run-as %s /system/bin/sh -c pwd", app); //$NON-NLS-1$
502 device.executeShellCommand(command, receiver);
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
H A DVersionLoader.java40 private static int loadVersion(IDevice device, String command) { argument
53 out.write(command);
H A DViewManager.java42 private static void sendCommand(String command, IDevice device, Window window, String params) { argument
53 out.write(command + " " + window.encode() + " " + params);
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/build/
H A DNdkCommandLauncher.java119 private String findWindowsExecutableExtension(IPath command) { argument
121 File exeFile = command.addFileExtension(e).toFile();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
H A DDexDumpAction.java165 // --- Exec command line and save result to dst file
167 String[] command = new String[2];
168 command[0] = dexDumpFile.getAbsolutePath();
169 command[1] = classesDexFile.getAbsolutePath();
172 final Process process = Runtime.getRuntime().exec(command);
202 // The command worked. In this case we don't remove the
H A DSdkManagerAction.java189 String command[] = new String[] {
193 Process process = Runtime.getRuntime().exec(command);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
H A DAndroidXmlAutoEditStrategy.java342 * @param command the document command to customize
345 private void copyPreviousLineIndentation(IDocument doc, DocumentCommand command) argument
348 if (command.offset == -1 || doc.getLength() == 0) {
352 int lineStart = findLineStart(doc, command.offset);
353 int textStart = findTextStart(doc, lineStart, command.offset);
355 StringBuilder sb = new StringBuilder(command.text);
360 command.text = sb.toString();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
H A DExportWizard.java559 // command line: zipaling -f 4 tmp destination
560 String[] command = new String[5];
561 command[0] = zipAlignPath;
562 command[1] = "-f"; //$NON-NLS-1$
563 command[2] = "4"; //$NON-NLS-1$
564 command[3] = source.getAbsolutePath();
565 command[4] = destination.getAbsolutePath();
567 Process process = Runtime.getRuntime().exec(command);
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/
H A DTemplateHandlerTest.java859 // So instead we do it via the command line.
864 List<String> command = new ArrayList<String>();
865 command.add(AdtPlugin.getOsSdkToolsFolder() + "android" +
867 command.add("update");
868 command.add("project");
869 command.add("-p");
870 command.add(projectDir.getPath());
872 // launch the command line process
873 Process process = Runtime.getRuntime().exec(command.toArray(new String[command
[all...]
/sdk/emulator/opengl/host/libs/libOpenglRender/
H A DAndroid.mk70 #LOCAL_LDFLAGS += -m64 # adding -m64 here doesn't work, because it somehow appear BEFORE -m32 in command-line.
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/
H A DAdtStartup.java198 String[] command = new String[] {
204 process = Runtime.getRuntime().exec(command);
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/
H A DDeviceView.java267 String[] command = new String[3];
268 command[0] = DdmsPlugin.getHprofConverter();
269 command[1] = path;
270 command[2] = tempPath;
272 Process p = Runtime.getRuntime().exec(command);
/sdk/find_java/
H A Dfind_java.bat25 rem be 0 if the command worked or 1 if the exec failed (program not found).
/sdk/bash_completion/
H A Dadb.bash69 local devices=$(command adb devices 2> /dev/null | grep -v "List of devices" | awk '{ print $1 }')
199 paths=$(command adb ${args[@]} shell echo '$'PATH 2> /dev/null | tr -d '\r' | tr : '\n')
200 COMMAND=$(command adb ${args[@]} shell ls $paths '2>' /dev/null | tr -d '\r' | {
202 command=${tmp##*/}
203 printf '%s\n' "$command"
255 command adb ${args[@]} shell pm list packages '2>' /dev/null 2> /dev/null | tr -d '\r' | {
321 command adb ${args[@]} shell ls -dF ${file}"*" '2>' /dev/null 2> /dev/null | tr -d '\r' | {

Completed in 615 milliseconds