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

123

/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/base/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/base/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/base/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/libs/rs/
H A DrsLocklessFifo.h58 void commit(uint32_t command, uint32_t bytes);
59 void commitSync(uint32_t command, uint32_t bytes);
64 const void * get(uint32_t *command, uint32_t *bytesData, uint64_t timeout = 0);
H A DrsLocklessFifo.cpp45 // Add room for a buffer reset command
91 // Add space for command header and loop token;
102 void LocklessCommandFifo::commit(uint32_t command, uint32_t sizeInBytes) { argument
107 reinterpret_cast<uint16_t *>(mPut)[0] = command;
116 void LocklessCommandFifo::commitSync(uint32_t command, uint32_t sizeInBytes) { argument
122 //sprintf(buf, "RenderScript LocklessCommandFifo::commitSync %p %i %i", this, command, sizeInBytes);
124 commit(command, sizeInBytes);
154 const void * LocklessCommandFifo::get(uint32_t *command, uint32_t *bytesData, uint64_t timeout) { argument
160 *command = 0;
165 *command
[all...]
/frameworks/base/telephony/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/base/cmds/dumpstate/
H A Ddumpstate.h27 /* forks a command and waits for it to finish -- terminate args with NULL */
28 int run_command(const char *title, int timeout_seconds, const char *command, ...);
H A Dutils.c149 /* forks a command and waits for it to finish */
150 int run_command(const char *title, int timeout_seconds, const char *command, ...) { argument
163 const char *args[1024] = {command};
167 va_start(ap, command);
168 if (title) printf("------ %s (%s", title, command);
177 execvp(command, (char**) args);
178 printf("*** exec(%s): %s\n", command, strerror(errno));
190 printf("*** %s: Killed by signal %d\n", command, WTERMSIG(status));
192 printf("*** %s: Exit code %d\n", command, WEXITSTATUS(status));
194 if (title) printf("[%s: %.1fs elapsed]\n\n", command, elapse
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java37 * @param args The command-line arguments
49 String command = args[0];
51 if (command.equals("text")) {
53 } else if (command.equals("keyevent")) {
55 } else if (command.equals("motionevent")) {
60 System.err.println("Error: Unknown command: " + command);
/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/audioflinger/
H A DAudioPolicyService.cpp48 static const char *kCmdDeadlockedString = "AudioPolicyService command thread may be deadlocked\n";
667 AudioCommand *command = mAudioCommands[0]; local
669 mLastCommand = *command;
671 switch (command->mCommand) {
674 ToneData *data = (ToneData *)command->mParam;
695 VolumeData *data = (VolumeData *)command->mParam;
698 command->mStatus = AudioSystem::setStreamVolume(data->mStream,
701 if (command->mWaitStatus) {
702 command->mCond.signal();
708 ParametersData *data = (ParametersData *)command
787 AudioCommand *command = new AudioCommand(); local
802 AudioCommand *command = new AudioCommand(); local
819 AudioCommand *command = new AudioCommand(); local
850 AudioCommand *command = new AudioCommand(); local
878 AudioCommand *command = new AudioCommand(); local
901 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/core/java/android/bluetooth/
H A DBluetoothDeviceProfileState.java456 Log.e(TAG, "Error: OutgoingHandsfree state with command:" + mCommand);
470 int command = message.what;
471 switch(command) {
473 if (command != mCommand) {
569 Log.e(TAG, "Error: IncomingHandsfree state with command:" + mCommand);
618 // from CONNECTING to CONNECTED, so serializing this command is
667 Log.e(TAG, "Error: OutgoingA2DP state with command:" + mCommand);
777 Log.e(TAG, "Error: IncomingA2DP state with command:" + mCommand);
874 Log.e(TAG, "Error: OutgoingHid state with command:" + mCommand);
955 Log.e(TAG, "Error: IncomingHid state with command
1018 cancelCommand(int command) argument
1029 deferProfileServiceMessage(int command) argument
1048 handleIncomingConnection(int command, boolean accept) argument
1177 processCommand(int command) argument
1265 processIncomingConnectCommand(int command) argument
1281 handleConnectionOfOtherProfiles(int command) argument
[all...]
H A DAtParser.java22 * An AT (Hayes command) Parser based on (a subset of) the ITU-T V.250 standard.
31 * invoked when command lines are processed by AtParser's process() method.<p>
33 * The AtParser object accepts a new command line to parse via its process()
34 * method. It breaks each command line into one or more commands. Each command
38 * The command types are<ul>
39 * <li>Basic Command. For example "ATDT1234567890". Basic command names are a
42 * <li>Action Command. For example "AT+CIMI". The command name is "CIMI", and
44 * <li>Read Command. For example "AT+VGM?". The command name is "VGM", and there
46 * <li>Set Command. For example "AT+VGM=14". The command nam
116 register(Character command, AtCommandHandler handler) argument
132 register(String command, AtCommandHandler handler) argument
[all...]
/frameworks/base/include/media/
H A DIEffect.h36 virtual status_t command(uint32_t cmdCode,
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java54 boolean sendExtraCommand(String command, Bundle extras); argument
/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/base/location/java/android/location/
H A DILocationProvider.aidl50 boolean sendExtraCommand(String command, inout Bundle extras);
/frameworks/base/services/java/com/android/server/
H A DNativeDaemonConnector.java198 private void sendCommandLocked(String command) throws NativeDaemonConnectorException { argument
199 sendCommandLocked(command, null);
203 * Sends a command to the daemon with a single argument
205 * @param command The command to send to the daemon
206 * @param argument The argument to send with the command (or null)
208 private void sendCommandLocked(String command, String argument) argument
210 if (command != null && command.indexOf('\0') >= 0) {
211 throw new IllegalArgumentException("unexpected command
[all...]
H A DNetworkManagementService.java1113 final StringBuilder command = new StringBuilder();
1114 command.append("bandwidth setiquota ").append(iface).append(" ").append(quotaBytes);
1118 mConnector.doCommand(command.toString());
1140 final StringBuilder command = new StringBuilder();
1141 command.append("bandwidth removeiquota ").append(iface);
1148 mConnector.doCommand(command.toString());
1174 final StringBuilder command = new StringBuilder();
1175 command.append("bandwidth setinterfacealert ").append(iface).append(" ").append(
1180 mConnector.doCommand(command.toString());
1202 final StringBuilder command
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiNative.java67 * Note that underneath we use a harsh-sounding "terminate" supplicant command
166 * @return {@code true} if the command succeeded, {@code false} otherwise.
200 private native static boolean doBooleanCommand(String command); argument
202 private native static int doIntCommand(String command); argument
204 private native static String doStringCommand(String command); argument
304 String command = "P2P_CONNECT ";
305 for (String s : args) command += s + " ";
307 return doStringCommand(command);
/frameworks/base/core/jni/
H A Dandroid_net_wifi_Wifi.cpp88 // Send a command to the supplicant, and return the reply as a String
346 The SETSUSPENDOPT driver command overrides the filtering rules
526 ScopedUtfChars command(env, javaCommand);
527 if (command.c_str() == NULL) {
530 return doBooleanCommand("OK", "%s", command.c_str());
535 ScopedUtfChars command(env, javaCommand);
536 if (command.c_str() == NULL) {
539 return doIntCommand("%s", command.c_str());
544 ScopedUtfChars command(env, javaCommand);
545 if (command
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProvider.java124 public boolean sendExtraCommand(String command, Bundle extras) {
125 return LocationProvider.this.onSendExtraCommand(command, extras);
335 * @param command name of the command to send to the provider.
336 * @param extras optional arguments for the command (or null).
337 * The provider may optionally fill the extras Bundle with results from the command.
339 * @return true if the command succeeds.
341 public abstract boolean onSendExtraCommand(String command, Bundle extras); argument
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java55 public void executeCommand(String command, String parameters, ParcelFileDescriptor out) { argument

Completed in 371 milliseconds

123