Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 55) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DRenderScriptProcessor.java155 String[] command = new String[15]; in doCompileFiles() local
157 command[index++] = quote(sdkOsPath + SdkConstants.OS_SDK_PLATFORM_TOOLS_FOLDER in doCompileFiles()
159 command[index++] = "-I"; //$NON-NLS-1$ in doCompileFiles()
160 command[index++] = quote(projectTarget.getPath(IAndroidTarget.ANDROID_RS_CLANG)); in doCompileFiles()
161 command[index++] = "-I"; //$NON-NLS-1$ in doCompileFiles()
162 command[index++] = quote(projectTarget.getPath(IAndroidTarget.ANDROID_RS)); in doCompileFiles()
163 command[index++] = "-p"; //$NON-NLS-1$ in doCompileFiles()
164 command[index++] = quote(genFolder.getLocation().toOSString()); in doCompileFiles()
165 command[index++] = "-o"; //$NON-NLS-1$ in doCompileFiles()
166 command[index++] = quote(rawFolder.getLocation().toOSString()); in doCompileFiles()
[all …]
DBuildHelper.java469 List<String> command = new ArrayList<String>(); in runProguard() local
470 command.add(AdtPlugin.getOsAbsoluteProguard()); in runProguard()
473 command.add("-include"); //$NON-NLS-1$ in runProguard()
474 command.add(quotePath(configFile.getAbsolutePath())); in runProguard()
477 command.add("-injars"); //$NON-NLS-1$ in runProguard()
483 command.add(quoteWinArg(sb.toString())); in runProguard()
485 command.add("-outjars"); //$NON-NLS-1$ in runProguard()
486 command.add(quotePath(obfuscatedJar.getAbsolutePath())); in runProguard()
488 command.add("-libraryjars"); //$NON-NLS-1$ in runProguard()
497 command.add(quoteWinArg(sb.toString())); in runProguard()
[all …]
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DEmulatorConsole.java459 String command = String.format(COMMAND_GSM_VOICE, mode.getTag()); in setGsmVoiceMode() local
460 return processCommand(command); in setGsmVoiceMode()
474 String command = String.format(COMMAND_GSM_DATA, mode.getTag()); in setGsmDataMode() local
475 return processCommand(command); in setGsmDataMode()
484 String command = String.format(COMMAND_GSM_CALL, number); in call() local
485 return processCommand(command); in call()
494 String command = String.format(COMMAND_GSM_CANCEL_CALL, number); in cancelCall() local
495 return processCommand(command); in cancelCall()
507 String command = String.format(COMMAND_SMS_SEND, number, message); in sendSms() local
508 return processCommand(command); in sendSms()
[all …]
DAndroidDebugBridge.java563 String[] command = new String[2]; in checkAdbVersion() local
564 command[0] = mAdbOsLocation; in checkAdbVersion()
565 command[1] = "version"; //$NON-NLS-1$ in checkAdbVersion()
569 process = Runtime.getRuntime().exec(command); in checkAdbVersion()
924 String[] command = new String[2]; in startAdb() local
925 command[0] = mAdbOsLocation; in startAdb()
926 command[1] = "start-server"; //$NON-NLS-1$ in startAdb()
929 mAdbOsLocation, command[1])); in startAdb()
930 ProcessBuilder processBuilder = new ProcessBuilder(command); in startAdb()
980 String[] command = new String[2]; in stopAdb() local
[all …]
DFileListingService.java616 final String command = String.format("ls -l -d %s%s", entry.getFullEscapedPath(), in finishLinks() local
619 device.executeShellCommand(command, receiver); in finishLinks()
727 String command = PM_FULL_LISTING; in getChildren()
729 mDevice.executeShellCommand(command, new MultiLineReceiver() { in getChildren()
829 String command = "ls -l " + entry.getFullEscapedPath(); //$NON-NLS-1$ in doLsAndThrow() local
834 command += FILE_SEPARATOR; in doLsAndThrow()
841 mDevice.executeShellCommand(command, receiver); in doLsAndThrow()
DSyncService.java768 private static byte[] createReq(byte[] command, int value) { in createReq() argument
771 System.arraycopy(command, 0, array, 0, 4); in createReq()
783 private static byte[] createFileReq(byte[] command, String path) { in createFileReq() argument
791 return createFileReq(command, pathContent); in createFileReq()
802 private static byte[] createFileReq(byte[] command, byte[] path) { in createFileReq() argument
805 System.arraycopy(command, 0, array, 0, 4); in createFileReq()
812 private static byte[] createSendFileReq(byte[] command, byte[] path, int mode) { in createSendFileReq() argument
824 System.arraycopy(command, 0, array, 0, 4); in createSendFileReq()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
DAdbWrapper.java122 String[] command = new String[2]; in stopAdb() local
123 command[0] = mAdbOsLocation; in stopAdb()
124 command[1] = "kill-server"; //$NON-NLS-1$ in stopAdb()
125 proc = Runtime.getRuntime().exec(command); in stopAdb()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidNature.java193 ICommand command = desc.newCommand(); in configureResourceManagerBuilder() local
194 command.setBuilderName(ResourceManagerBuilder.ID); in configureResourceManagerBuilder()
195 newCommands[0] = command; in configureResourceManagerBuilder()
239 ICommand command = desc.newCommand(); in configurePreBuilder() local
240 command.setBuilderName(PreCompilerBuilder.ID); in configurePreBuilder()
241 newCommands[index] = command; in configurePreBuilder()
265 ICommand command = desc.newCommand(); in configureApkBuilder() local
266 command.setBuilderName(PostCompilerBuilder.ID); in configureApkBuilder()
267 newCommands[commands.length] = command; in configureApkBuilder()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
DAddr2Line.java206 String[] command = new String[5]; in start() local
207 command[0] = addr2Line; in start()
208 command[1] = "-C"; in start()
209 command[2] = "-f"; in start()
210 command[3] = "-e"; in start()
219 command[4] = fullPath; in start()
223 mProcess = Runtime.getRuntime().exec(command); in start()
/sdk/emulator/opengl/shared/OpenglOsUtils/
DosProcessUnix.cpp39 static char **buildArgList(const char *command) in buildArgList() argument
44 char *tmpcmd = strdup(command); in buildArgList()
94 static pid_t start_process(const char *command,const char *startDir) in start_process() argument
115 char **argv = buildArgList(command); in start_process()
/sdk/chimpchat/src/com/android/chimpchat/
DChimpManager.java180 private String sendMonkeyEventAndGetResponse(String command) throws IOException { in sendMonkeyEventAndGetResponse() argument
181 command = command.trim(); in sendMonkeyEventAndGetResponse()
182 LOG.info("Monkey Command: " + command + "."); in sendMonkeyEventAndGetResponse()
185 monkeyWriter.write(command + "\n"); in sendMonkeyEventAndGetResponse()
232 private boolean sendMonkeyEvent(String command) throws IOException { in sendMonkeyEvent() argument
234 String monkeyResponse = sendMonkeyEventAndGetResponse(command); in sendMonkeyEvent()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DActivityLaunchAction.java48 String command = "am start" //$NON-NLS-1$ in doLaunchAction() local
67 device.executeShellCommand(command, new AMReceiver(info, device, mLaunchController)); in doLaunchAction()
85 AdtPlugin.log(e, "No command output when running: '%1$s' on device %2$s", command, in doLaunchAction()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/handler/
DMethodProfilingHandler.java158 String[] command = new String[2]; in open() local
159 command[0] = DdmUiPreferences.getTraceview(); in open()
160 command[1] = tempPath; in open()
163 final Process p = Runtime.getRuntime().exec(command); in open()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DVersionLoader.java40 private static int loadVersion(IDevice device, String command) { in loadVersion() argument
53 out.write(command); in loadVersion()
DViewManager.java42 private static void sendCommand(String command, IDevice device, Window window, String params) { in sendCommand() argument
53 out.write(command + " " + window.encode() + " " + params); in sendCommand()
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/
DDeviceConnection.java75 public void sendCommand(String command) throws IOException { in sendCommand() argument
77 out.write(command); in sendCommand()
/sdk/uiautomatorviewer/src/com/android/uiautomator/
DUiAutomatorHelper.java63 String command = "rm " + UIDUMP_DEVICE_PATH; in getUiHierarchyFile() local
67 device.executeShellCommand(command, in getUiHierarchyFile()
75 command = String.format("%s %s %s", UIAUTOMATOR, in getUiHierarchyFile()
81 device.executeShellCommand(command, in getUiHierarchyFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
DGdbServerTask.java68 String command = String.format("run-as %s lib/gdbserver +%s --attach %d", in run() local
71 mDevice.executeShellCommand(command, mOutputReceiver, 0); in run()
/sdk/ddms/app/src/com/android/ddms/
DDeviceCommandDialog.java80 public DeviceCommandDialog(String command, String fileName, Shell parent) { in DeviceCommandDialog() argument
83 this(command, fileName, parent, in DeviceCommandDialog()
90 public DeviceCommandDialog(String command, String fileName, Shell parent, in DeviceCommandDialog() argument
94 mCommand = command; in DeviceCommandDialog()
232 public Gatherer(Shell shell, IDevice device, String command, Text text) { in Gatherer() argument
235 mCommand = command; in Gatherer()
/sdk/emulator/sensors/
Dsensors_qemu.c157 char command[128]; in control__activate() local
178 snprintf(command, sizeof command, "set:%s:%d", in control__activate()
185 ret = qemud_channel_send(ctl->fd, command, -1); in control__activate()
199 char command[128]; in control__set_delay() local
203 snprintf(command, sizeof command, "set-delay:%d", ms); in control__set_delay()
205 return qemud_channel_send(ctl->fd, command, -1); in control__set_delay()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
DExportWizard.java534 String[] command = new String[5]; in zipAlign() local
535 command[0] = zipAlignPath; in zipAlign()
536 command[1] = "-f"; //$NON-NLS-1$ in zipAlign()
537 command[2] = "4"; //$NON-NLS-1$ in zipAlign()
538 command[3] = source.getAbsolutePath(); in zipAlign()
539 command[4] = destination.getAbsolutePath(); in zipAlign()
541 Process process = Runtime.getRuntime().exec(command); in zipAlign()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategy.java345 private void copyPreviousLineIndentation(IDocument doc, DocumentCommand command) in copyPreviousLineIndentation() argument
348 if (command.offset == -1 || doc.getLength() == 0) { in copyPreviousLineIndentation()
352 int lineStart = findLineStart(doc, command.offset); in copyPreviousLineIndentation()
353 int textStart = findTextStart(doc, lineStart, command.offset); in copyPreviousLineIndentation()
355 StringBuilder sb = new StringBuilder(command.text); in copyPreviousLineIndentation()
360 command.text = sb.toString(); in copyPreviousLineIndentation()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
DDexDumpAction.java160 String[] command = new String[2]; in runDexDump() local
161 command[0] = dexDumpFile.getAbsolutePath(); in runDexDump()
162 command[1] = classesDexFile.getAbsolutePath(); in runDexDump()
165 final Process process = Runtime.getRuntime().exec(command); in runDexDump()
/sdk/emulator/opengl/tests/event_injector/
Demulator-console.h43 void emulatorConsole_send( EmulatorConsole* console, const char* command );
/sdk/apkbuilder/
Dreadme.txt1 The apkbuilder command line tool is deprecated, and is not maintained anymore.

123