Searched refs:command (Results 1 - 25 of 83) 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/support/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/base/wifi/java/android/net/wifi/
H A DWifiNative.java76 private native boolean doBooleanCommand(String iface, String command); argument
78 private native int doIntCommand(String iface, String command); argument
80 private native String doStringCommand(String iface, String command); argument
99 private boolean doBooleanCommand(String command) { argument
100 if (DBG) Log.d(mTAG, "doBoolean: " + command);
101 return doBooleanCommand(mInterface, command);
104 private int doIntCommand(String command) { argument
105 if (DBG) Log.d(mTAG, "doInt: " + command);
106 return doIntCommand(mInterface, command);
109 private String doStringCommand(String command) { argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DModelInterpreter.java455 onCHLD(String command) throws InterpreterEx argument
457 // command starts with "+CHLD="
462 c0 = command.charAt(6);
464 if (command.length() >= 8) {
465 c1 = command.charAt(7);
536 onDial(String command) throws InterpreterEx argument
540 success = simulatedCallState.onDial(command.substring(1));
560 onSMSSend(String command) throws InterpreterEx argument
578 String command = commands[i];
580 if (command
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h29 /* forks a command and waits for it to finish -- terminate args with NULL */
30 int run_command(const char *title, int timeout_seconds, const char *command, ...);
H A Dutils.c185 /* forks a command and waits for it to finish */
186 int run_command(const char *title, int timeout_seconds, const char *command, ...) { argument
199 const char *args[1024] = {command};
203 va_start(ap, command);
204 if (title) printf("------ %s (%s", title, command);
213 execvp(command, (char**) args);
214 printf("*** exec(%s): %s\n", command, strerror(errno));
226 printf("*** %s: Killed by signal %d\n", command, WTERMSIG(status));
228 printf("*** %s: Exit code %d\n", command, WEXITSTATUS(status));
230 if (title) printf("[%s: %.1fs elapsed]\n\n", command, elapse
[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/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")) {
81 if (command.equals("touchpad")) {
102 } else if (command
[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/av/services/audioflinger/
H A DAudioPolicyService.cpp47 static const char kCmdDeadlockedString[] = "AudioPolicyService command thread may be deadlocked\n";
665 AudioCommand *command = mAudioCommands[0]; local
667 mLastCommand = *command;
669 switch (command->mCommand) {
672 ToneData *data = (ToneData *)command->mParam;
692 VolumeData *data = (VolumeData *)command->mParam;
695 command->mStatus = AudioSystem::setStreamVolume(data->mStream,
698 if (command->mWaitStatus) {
699 command->mCond.signal();
705 ParametersData *data = (ParametersData *)command
785 AudioCommand *command = new AudioCommand(); local
799 AudioCommand *command = new AudioCommand(); local
815 AudioCommand *command = new AudioCommand(); local
841 AudioCommand *command = new AudioCommand(); local
864 AudioCommand *command = new AudioCommand(); local
882 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/support/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/services/java/com/android/server/location/
H A DLocationProviderInterface.java49 public boolean sendExtraCommand(String command, Bundle extras); argument
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DInteractionController.java174 Runnable command = new Runnable() {
183 return runAndWaitForEvents(command, timeout, waitForAll, eventTypes);
187 * Runs a command and waits for a specific accessibility event.
188 * @param command is a Runnable to execute before waiting for the event.
193 private boolean runAndWaitForEvent(Runnable command, long timeout, int eventType) { argument
194 return runAndWaitForEvents(command, timeout, false, eventType);
198 * Runs a command and waits for accessibility events. It is possible to set the wait for all
201 * @param command
207 private boolean runAndWaitForEvents(Runnable command, long timeout, final boolean waitForAll, argument
241 mUiAutomatorBridge.executeCommandAndWaitForAccessibilityEvent(command,
[all...]
H A DUiAutomatorBridge.java165 public AccessibilityEvent executeCommandAndWaitForAccessibilityEvent(Runnable command, argument
170 // Execute the command.
171 command.run();
/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/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
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java68 public void executeCommand(String command, String parameters, ParcelFileDescriptor out) { argument

Completed in 1095 milliseconds

1234