/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
D | AdbWrapper.java | 78 String[] command = new String[2]; in startAdb() local 79 command[0] = mAdbOsLocation; in startAdb() 80 command[1] = "start-server"; //$NON-NLS-1$ in startAdb() 81 proc = Runtime.getRuntime().exec(command); in startAdb() 120 String[] command = new String[2]; in stopAdb() local 121 command[0] = mAdbOsLocation; in stopAdb() 122 command[1] = "kill-server"; //$NON-NLS-1$ in stopAdb() 123 proc = Runtime.getRuntime().exec(command); in stopAdb()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | RenderScriptProcessor.java | 155 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 …]
|
D | AidlProcessor.java | 98 String[] command = new String[4 + sourceFolders.size()]; in doCompileFiles() local 100 command[index++] = projectTarget.getPath(IAndroidTarget.AIDL); in doCompileFiles() 101 … command[index++] = quote("-p" + projectTarget.getPath(IAndroidTarget.ANDROID_AIDL)); //$NON-NLS-1$ in doCompileFiles() 109 command[index++] = quote("-I" + f.getLocation().toOSString()); //$NON-NLS-1$ in doCompileFiles() 152 command[index] = quote(osSourcePath); in doCompileFiles() 153 command[index + 1] = quote(data.getOutput().getLocation().toOSString()); in doCompileFiles() 156 if (execAidl(builder, project, command, sourceFile, verbose) == false) { in doCompileFiles() 192 private boolean execAidl(BaseBuilder builder, IProject project, String[] command, IFile file, in execAidl() argument 198 for (String c : command) { in execAidl() 206 Process p = Runtime.getRuntime().exec(command); in execAidl() [all …]
|
D | BuildHelper.java | 504 List<String> command = new ArrayList<String>(); in runProguard() local 505 command.add(AdtPlugin.getOsAbsoluteProguard()); in runProguard() 507 command.add("@" + quotePath(proguardConfig.getAbsolutePath())); //$NON-NLS-1$ in runProguard() 509 command.add("-injars"); //$NON-NLS-1$ in runProguard() 515 command.add(quoteWinArg(sb.toString())); in runProguard() 517 command.add("-outjars"); //$NON-NLS-1$ in runProguard() 518 command.add(quotePath(obfuscatedJar.getAbsolutePath())); in runProguard() 520 command.add("-libraryjars"); //$NON-NLS-1$ in runProguard() 529 command.add(quoteWinArg(sb.toString())); in runProguard() 536 command.add("-dump"); //$NON-NLS-1$ in runProguard() [all …]
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
D | EmulatorConsole.java | 459 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 …]
|
D | AndroidDebugBridge.java | 563 String[] command = new String[2]; in checkAdbVersion() local 564 command[0] = mAdbOsLocation; in checkAdbVersion() 565 command[1] = "version"; //$NON-NLS-1$ in checkAdbVersion() 567 Process process = Runtime.getRuntime().exec(command); in checkAdbVersion() 900 String[] command = new String[2]; in startAdb() local 901 command[0] = mAdbOsLocation; in startAdb() 902 command[1] = "start-server"; //$NON-NLS-1$ in startAdb() 905 mAdbOsLocation, command[1])); in startAdb() 906 ProcessBuilder processBuilder = new ProcessBuilder(command); in startAdb() 956 String[] command = new String[2]; in stopAdb() local [all …]
|
D | SyncService.java | 756 private static byte[] createReq(byte[] command, int value) { in createReq() argument 759 System.arraycopy(command, 0, array, 0, 4); in createReq() 771 private static byte[] createFileReq(byte[] command, String path) { in createFileReq() argument 779 return createFileReq(command, pathContent); in createFileReq() 790 private static byte[] createFileReq(byte[] command, byte[] path) { in createFileReq() argument 793 System.arraycopy(command, 0, array, 0, 4); in createFileReq() 800 private static byte[] createSendFileReq(byte[] command, byte[] path, int mode) { in createSendFileReq() argument 812 System.arraycopy(command, 0, array, 0, 4); in createSendFileReq()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | AndroidNature.java | 189 ICommand command = desc.newCommand(); in configureResourceManagerBuilder() local 190 command.setBuilderName(ResourceManagerBuilder.ID); in configureResourceManagerBuilder() 191 newCommands[0] = command; in configureResourceManagerBuilder() 235 ICommand command = desc.newCommand(); in configurePreBuilder() local 236 command.setBuilderName(PreCompilerBuilder.ID); in configurePreBuilder() 237 newCommands[index] = command; in configurePreBuilder() 261 ICommand command = desc.newCommand(); in configureApkBuilder() local 262 command.setBuilderName(PostCompilerBuilder.ID); in configureApkBuilder() 263 newCommands[commands.length] = command; in configureApkBuilder()
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
D | Addr2Line.java | 206 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/chimpchat/src/com/android/chimpchat/ |
D | ChimpManager.java | 180 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/ |
D | ActivityLaunchAction.java | 55 String command = "am start" //$NON-NLS-1$ in doLaunchAction() local 74 device.executeShellCommand(command, new AMReceiver(info, device, mLaunchController)); in doLaunchAction() 92 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/ |
D | MethodProfilingHandler.java | 151 String[] command = new String[2]; in open() local 152 command[0] = DdmUiPreferences.getTraceview(); in open() 153 command[1] = tempPath; in open() 156 final Process p = Runtime.getRuntime().exec(command); in open()
|
/sdk/swtmenubar/src-darwin/com/android/menubar/internal/ |
D | MenuBarEnhancerCarbon.java | 55 HICommand command = new HICommand(); in setupMenu() 63 command); in setupMenu() 64 switch (command.commandID) { in setupMenu()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/ |
D | DexDumpAction.java | 154 String[] command = new String[2]; in runDexDump() local 155 command[0] = dexDumpFile.getAbsolutePath(); in runDexDump() 156 command[1] = classesDexFile.getAbsolutePath(); in runDexDump() 159 int err = grabProcessOutput(project, command, dstFile); in runDexDump() 243 String[] command, in grabProcessOutput() argument 259 final Process process = Runtime.getRuntime().exec(command); in grabProcessOutput()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
D | VersionLoader.java | 40 private static int loadVersion(IDevice device, String command) { in loadVersion() argument 53 out.write(command); in loadVersion()
|
D | ViewManager.java | 42 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/ |
D | DeviceConnection.java | 75 public void sendCommand(String command) throws IOException { in sendCommand() argument 77 out.write(command); in sendCommand()
|
/sdk/layoutopt/app/ |
D | README | 3 Simple command line front end for the uix library.
|
/sdk/ddms/app/src/com/android/ddms/ |
D | DeviceCommandDialog.java | 80 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() 231 public Gatherer(Shell shell, IDevice device, String command, Text text) { in Gatherer() argument 234 mCommand = command; in Gatherer()
|
/sdk/emulator/sensors/ |
D | sensors_qemu.c | 157 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/ |
D | ExportWizard.java | 527 String[] command = new String[5]; in zipAlign() local 528 command[0] = zipAlignPath; in zipAlign() 529 command[1] = "-f"; //$NON-NLS-1$ in zipAlign() 530 command[2] = "4"; //$NON-NLS-1$ in zipAlign() 531 command[3] = source.getAbsolutePath(); in zipAlign() 532 command[4] = destination.getAbsolutePath(); in zipAlign() 534 Process process = Runtime.getRuntime().exec(command); in zipAlign()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidXmlAutoEditStrategy.java | 319 private void copyPreviousLineIndentation(IDocument doc, DocumentCommand command) in copyPreviousLineIndentation() argument 322 if (command.offset == -1 || doc.getLength() == 0) { in copyPreviousLineIndentation() 326 int lineStart = findLineStart(doc, command.offset); in copyPreviousLineIndentation() 327 int textStart = findTextStart(doc, lineStart, command.offset); in copyPreviousLineIndentation() 329 StringBuilder sb = new StringBuilder(command.text); in copyPreviousLineIndentation() 334 command.text = sb.toString(); in copyPreviousLineIndentation()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/ |
D | MessageQueue.java | 77 Message command = commands.get(i); in sendCommands() local 78 if (command.getContextId() == contextId || command.getContextId() == 0) { in sendCommands() 86 public void addCommand(Message command) { in addCommand() argument 88 commands.add(command); in addCommand()
|
/sdk/apkbuilder/ |
D | readme.txt | 1 The apkbuilder command line tool is deprecated, and is not maintained anymore.
|
/sdk/chimpchat/src/com/android/chimpchat/adb/ |
D | AdbChimpDevice.java | 99 private void executeAsyncCommand(final String command, in executeAsyncCommand() argument 105 device.executeShellCommand(command, logger); in executeAsyncCommand() 107 LOG.log(Level.SEVERE, "Error starting command: " + command, e); in executeAsyncCommand() 110 LOG.log(Level.SEVERE, "Error starting command: " + command, e); in executeAsyncCommand() 114 LOG.log(Level.INFO, "Error starting command: " + command, e); in executeAsyncCommand() 117 LOG.log(Level.SEVERE, "Error starting command: " + command, e); in executeAsyncCommand() 138 String command = "monkey --port " + port; in createManager() local 139 executeAsyncCommand(command, new LoggingOutputReceiver(LOG, Level.FINE)); in createManager()
|