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

1234

/frameworks/base/core/java/com/android/internal/os/
H A DWrapperInit.java56 * @param args The command-line arguments.
91 * Executes a runtime application with a wrapper command.
94 * @param invokeWith The wrapper command.
102 StringBuilder command = new StringBuilder(invokeWith);
103 command.append(" /system/bin/app_process /system/bin --application");
105 command.append(" '--nice-name=").append(niceName).append("'");
107 command.append(" com.android.internal.os.WrapperInit ");
108 command.append(pipeFd != null ? pipeFd.getInt$() : 0);
109 command.append(' ');
110 command
[all...]
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DLauncher.java24 * Entry point into the uiautomator command line
27 * command line arguments. It also prints out help arguments for each sub commands.
29 * To add a new sub command, implement {@link Command} and add an instance into COMMANDS array
44 * Returns the name of the sub command
52 * Returns a one-liner of the function of this command
58 * Returns a detailed explanation of the command usage
66 * Starts the command with the provided arguments
76 Command command = findCommand(args[0]);
77 if (command != null) {
83 command
[all...]
/frameworks/volley/tests/src/com/android/volley/utils/
H A DImmediateResponseDelivery.java18 public void execute(Runnable command) {
19 command.run();
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/
H A Dbuild_vc.pl34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h);
78 $command = $CC.' '.$CC_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
79 print "$command\n";
80 system($command);
85 $command = $AS.' '.$AS_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
86 print "$command\n";
87 system($command);
102 $command = $LIB.' '.$LIB_OPTS.' '.$libfile.' '.$objlist;
103 print "$command\n";
104 (system($command)
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/
H A Dbuild_vc.pl34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h);
80 $command = $CC.' '.$CC_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
81 print "$command\n";
82 system($command);
87 $command = $AS.' '.$AS_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
88 print "$command\n";
89 system($command);
104 $command = $LIB.' '.$LIB_OPTS.' '.$libfile.' '.$objlist;
105 print "$command\n";
106 (system($command)
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/
H A Dbuild_vc.pl34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h);
78 $command = $CC.' '.$CC_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
79 print "$command\n";
80 system($command);
85 $command = $AS.' '.$AS_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
86 print "$command\n";
87 system($command);
102 $command = $LIB.' '.$LIB_OPTS.' '.$libfile.' '.$objlist;
103 print "$command\n";
104 (system($command)
[all...]
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/
H A DAppHelperBase.java46 * This is typically performed by executing a shell command to launch the application
64 * Helper to execute a shell command.
65 * @param command
67 protected void runShellCommand(String command) { argument
71 p = Runtime.getRuntime().exec(command);
74 System.err.println(String.format("Run shell command: %s, status: %s", command,
78 System.err.println("// Exception from command " + command + ":");
81 System.err.println("// Interrupted while waiting for the command t
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiNative.java75 private native boolean doBooleanCommand(String iface, String command); argument
77 private native int doIntCommand(String iface, String command); argument
79 private native String doStringCommand(String iface, String command); argument
98 private boolean doBooleanCommand(String command) { argument
99 if (DBG) Log.d(mTAG, "doBoolean: " + command);
100 return doBooleanCommand(mInterface, command);
103 private int doIntCommand(String command) { argument
104 if (DBG) Log.d(mTAG, "doInt: " + command);
105 return doIntCommand(mInterface, command);
108 private String doStringCommand(String command) { argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DModelInterpreter.java469 onCHLD(String command) throws InterpreterEx argument
471 // command starts with "+CHLD="
476 c0 = command.charAt(6);
478 if (command.length() >= 8) {
479 c1 = command.charAt(7);
490 onDial(String command) throws InterpreterEx argument
494 success = mSimulatedCallState.onDial(command.substring(1));
514 onSMSSend(String command) argument
532 String command = commands[i];
534 if (command
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java38 * @param args The command-line arguments
50 String command = args[0];
53 if (command.equals("text")) {
58 } else if (command.equals("keyevent")) {
67 } else if (command.equals("tap")) {
72 } else if (command.equals("swipe")) {
78 } else if (command.equals("touchscreen") || command.equals("touchpad")
79 || command.equals("touchnavigation")) {
82 if (command
[all...]
/frameworks/base/core/jni/
H A Dandroid_net_wifi_Wifi.cpp86 // Send a command to the supplicant, and return the reply as a String
158 ScopedUtfChars command(env, jCommand);
160 if (command.c_str() == NULL) {
163 if (DBG) ALOGD("doBoolean: %s", command.c_str());
164 return doBooleanCommand(ifname.c_str(), "OK", "%s", command.c_str());
171 ScopedUtfChars command(env, jCommand);
173 if (command.c_str() == NULL) {
176 if (DBG) ALOGD("doInt: %s", command.c_str());
177 return doIntCommand(ifname.c_str(), "%s", command.c_str());
185 ScopedUtfChars command(en
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DViewServer.java225 String command;
230 command = request;
233 command = request.substring(0, index);
238 if (COMMAND_PROTOCOL_VERSION.equalsIgnoreCase(command)) {
240 } else if (COMMAND_SERVER_VERSION.equalsIgnoreCase(command)) {
242 } else if (COMMAND_WINDOW_MANAGER_LIST.equalsIgnoreCase(command)) {
244 } else if (COMMAND_WINDOW_MANAGER_GET_FOCUS.equalsIgnoreCase(command)) {
246 } else if (COMMAND_WINDOW_MANAGER_AUTOLIST.equalsIgnoreCase(command)) {
250 command, parameters);
254 Slog.w(LOG_TAG, "An error occurred with the command
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java47 public boolean sendExtraCommand(String command, Bundle extras); argument
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h33 /* forks a command and waits for it to finish -- terminate args with NULL */
34 int run_command(const char *title, int timeout_seconds, const char *command, ...);
H A Dutils.c251 /* forks a command and waits for it to finish */
252 int run_command(const char *title, int timeout_seconds, const char *command, ...) { argument
265 const char *args[1024] = {command};
272 va_start(ap, command);
273 if (title) printf("------ %s (%s", title, command);
282 execvp(command, (char**) args);
283 printf("*** exec(%s): %s\n", command, strerror(errno));
295 printf("*** %s: Killed by signal %d\n", command, WTERMSIG(status));
297 printf("*** %s: Exit code %d\n", command, WEXITSTATUS(status));
299 if (title) printf("[%s: %.1fs elapsed]\n\n", command, elapse
[all...]
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
H A DSurfaceFlingerHelper.java73 * Run clear buffer command and clear the saved frame buffer results
92 String command = CLEAR_BUFFER_CMD;
94 command = String.format("%s %s", CLEAR_BUFFER_CMD, windowName);
97 p = Runtime.getRuntime().exec(command);
100 Log.e(TAG, String.format("Run shell command: %s, status: %s",
101 command, status));
104 Log.e(TAG, "// Exception from command " + command + ":", e);
106 Log.e(TAG, "// Interrupted while waiting for the command to finish. ", e);
122 * Run frame latency command withou
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp47 static const char kCmdDeadlockedString[] = "AudioPolicyService command thread may be deadlocked\n";
675 AudioCommand *command = mAudioCommands[0]; local
677 mLastCommand = *command;
679 switch (command->mCommand) {
682 ToneData *data = (ToneData *)command->mParam;
702 VolumeData *data = (VolumeData *)command->mParam;
705 command->mStatus = AudioSystem::setStreamVolume(data->mStream,
708 if (command->mWaitStatus) {
709 command->mCond.signal();
715 ParametersData *data = (ParametersData *)command
795 AudioCommand *command = new AudioCommand(); local
809 AudioCommand *command = new AudioCommand(); local
825 AudioCommand *command = new AudioCommand(); local
851 AudioCommand *command = new AudioCommand(); local
874 AudioCommand *command = new AudioCommand(); local
892 insertCommand_l(AudioCommand *command, int delayMs) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DApduList.java19 public void add(byte[] command) { argument
20 commands.add(command);
/frameworks/base/location/java/com/android/internal/location/
H A DILocationProvider.aidl43 boolean sendExtraCommand(String command, inout Bundle extras);
/frameworks/volley/src/com/android/volley/
H A DExecutorDelivery.java38 public void execute(Runnable command) {
39 handler.post(command);
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProviderBase.java104 public boolean sendExtraCommand(String command, Bundle extras) { argument
105 return onSendExtraCommand(command, extras);
203 * @param command name of the command to send to the provider.
204 * @param extras optional arguments for the command (or null).
205 * The provider may optionally fill the extras Bundle with results from the command.
207 * @return true if the command succeeds.
209 public boolean onSendExtraCommand(String command, Bundle extras) { argument
/frameworks/av/include/media/
H A DIEffect.h36 virtual status_t command(uint32_t cmdCode,
/frameworks/base/core/java/android/view/
H A DIWindow.aidl43 * command. Any response from the receiver must be sent through the
46 void executeCommand(String command, String parameters, in ParcelFileDescriptor descriptor);
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java102 public AccessibilityEvent executeCommandAndWaitForAccessibilityEvent(Runnable command, argument
104 return mUiAutomation.executeAndWaitForEvent(command,
/frameworks/wilhelm/src/itf/
H A DIAndroidEffect.cpp86 SLInterfaceID effectImplementationId, SLuint32 command, SLuint32 commandSize,
92 result = android_genericFx_sendCommand(thiz, effectImplementationId, command, commandSize,
85 IAndroidEffect_SendCommand(SLAndroidEffectItf self, SLInterfaceID effectImplementationId, SLuint32 command, SLuint32 commandSize, void* pCommand, SLuint32 *replySize, void *pReply) argument

Completed in 1028 milliseconds

1234