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

12

/frameworks/base/awt/java/awt/event/
H A DActionEvent.java51 private String command; field in class:ActionEvent
53 public ActionEvent(Object source, int id, String command) { argument
54 this(source, id, command, 0);
57 public ActionEvent(Object source, int id, String command, int modifiers) { argument
58 this(source, id, command, 0l, modifiers);
61 public ActionEvent(Object source, int id, String command, long when, int modifiers) { argument
64 this.command = command;
74 return command;
110 return (idString + ",cmd=" + command
[all...]
/frameworks/base/libs/rs/
H A DrsLocklessFifo.h72 void commit(uint32_t command, uint32_t bytes);
73 void commitSync(uint32_t command, uint32_t bytes);
76 const void * get(uint32_t *command, uint32_t *bytesData);
H A DrsLocklessFifo.cpp42 // Add room for a buffer reset command
89 // Add space for command header and loop token;
100 void LocklessCommandFifo::commit(uint32_t command, uint32_t sizeInBytes) argument
106 reinterpret_cast<uint16_t *>(mPut)[0] = command;
113 void LocklessCommandFifo::commitSync(uint32_t command, uint32_t sizeInBytes) argument
118 commit(command, sizeInBytes);
131 const void * LocklessCommandFifo::get(uint32_t *command, uint32_t *bytesData) argument
141 *command = 0;
146 *command = reinterpret_cast<const uint16_t *>(mGet)[0];
148 if (*command) {
[all...]
/frameworks/base/cmds/dumpstate/
H A Ddumpstate.h26 /* forks a command and waits for it to finish -- terminate args with NULL */
27 int run_command(const char *title, int timeout_seconds, const char *command, ...);
H A Dutils.c140 /* forks a command and waits for it to finish */
141 int run_command(const char *title, int timeout_seconds, const char *command, ...) { argument
154 const char *args[1024] = {command};
158 va_start(ap, command);
159 if (title) printf("------ %s (%s", title, command);
168 execvp(command, (char**) args);
169 printf("*** exec(%s): %s\n", command, strerror(errno));
180 printf("*** %s: Killed by signal %d\n", command, WTERMSIG(status));
182 printf("*** %s: Exit code %d\n", command, WEXITSTATUS(status));
184 if (title) printf("[%s: %.1fs elapsed]\n\n", command, elapse
[all...]
/frameworks/base/libs/audioflinger/
H A DAudioPolicyService.cpp49 static const char *kCmdDeadlockedString = "AudioPolicyService command thread may be deadlocked\n";
597 AudioCommand *command = mAudioCommands[0]; local
599 mLastCommand = *command;
601 switch (command->mCommand) {
604 ToneData *data = (ToneData *)command->mParam;
625 VolumeData *data = (VolumeData *)command->mParam;
627 command->mStatus = AudioSystem::setStreamVolume(data->mStream, data->mVolume, data->mIO);
628 if (command->mWaitStatus) {
629 command->mCond.signal();
635 ParametersData *data = (ParametersData *)command
712 AudioCommand *command = new AudioCommand(); local
727 AudioCommand *command = new AudioCommand(); local
741 AudioCommand *command = new AudioCommand(); local
769 AudioCommand *command = new AudioCommand(); local
796 AudioCommand *command = new AudioCommand(); local
819 insertCommand_l(AudioCommand *command, int delayMs) argument
[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/services/java/com/android/server/
H A DViewServer.java169 String command;
174 command = request;
177 command = request.substring(0, index);
182 if (COMMAND_PROTOCOL_VERSION.equalsIgnoreCase(command)) {
184 } else if (COMMAND_SERVER_VERSION.equalsIgnoreCase(command)) {
186 } else if (COMMAND_WINDOW_MANAGER_LIST.equalsIgnoreCase(command)) {
190 command, parameters);
194 Slog.w(LOG_TAG, "An error occured with the command: " + command);
H A DNativeDaemonConnector.java176 private void sendCommand(String command) { argument
177 sendCommand(command, null);
181 * Sends a command to the daemon with a single argument
183 * @param command The command to send to the daemon
184 * @param argument The argument to send with the command (or null)
186 private void sendCommand(String command, String argument) { argument
188 if (LOCAL_LOGD) Slog.d(TAG, String.format("SND -> {%s} {%s}", command, argument));
192 StringBuilder builder = new StringBuilder(command);
208 * Issue a command t
[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/location/java/android/location/
H A DLocationProviderInterface.java49 boolean sendExtraCommand(String command, Bundle extras); argument
H A DILocationProvider.aidl47 boolean sendExtraCommand(String command, inout Bundle extras);
H A DILocationManager.aidl51 boolean sendExtraCommand(String provider, String command, inout Bundle extras);
/frameworks/base/location/java/android/location/provider/
H A DLocationProvider.java118 public boolean sendExtraCommand(String command, Bundle extras) {
119 return LocationProvider.this.onSendExtraCommand(command, extras);
322 * @param command name of the command to send to the provider.
323 * @param extras optional arguments for the command (or null).
324 * The provider may optionally fill the extras Bundle with results from the command.
326 * @return true if the command succeeds.
328 public abstract boolean onSendExtraCommand(String command, Bundle extras); argument
/frameworks/base/core/java/android/view/
H A DIWindow.aidl42 * command. Any response from the receiver must be sent through the
45 void executeCommand(String command, String parameters, in ParcelFileDescriptor descriptor);
/frameworks/base/core/tests/hosttests/src/android/content/pm/
H A DPackageManagerHostTestUtils.java201 * @throws IOException if adb shell command failed
214 * @throws IOException if adb shell command failed
227 * @throws IOException if adb shell command failed
239 * @throws IOException if adb shell command failed
250 * @throws IOException if adb shell command failed
261 * @throws IOException if adb shell command failed
356 * Helper method which executes a adb shell command and returns output as a {@link String}
357 * @return the output of the command
360 public String executeShellCommand(String command) throws IOException { argument
361 Log.i(LOG_TAG, String.format("adb shell %s", command));
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DAtParser.java25 * An AT (Hayes command) Parser based on (a subset of) the ITU-T V.250 standard.
34 * invoked when command lines are processed by AtParser's process() method.<p>
36 * The AtParser object accepts a new command line to parse via its process()
37 * method. It breaks each command line into one or more commands. Each command
41 * The command types are<ul>
42 * <li>Basic Command. For example "ATDT1234567890". Basic command names are a
45 * <li>Action Command. For example "AT+CIMI". The command name is "CIMI", and
47 * <li>Read Command. For example "AT+VGM?". The command name is "VGM", and there
49 * <li>Set Command. For example "AT+VGM=14". The command nam
119 register(Character command, AtCommandHandler handler) argument
135 register(String command, AtCommandHandler handler) argument
[all...]
/frameworks/base/location/java/com/android/internal/location/
H A DPassiveProvider.java134 public boolean sendExtraCommand(String command, Bundle extras) { argument
H A DLocationProviderProxy.java345 public boolean sendExtraCommand(String command, Bundle extras) { argument
352 provider.sendExtraCommand(command, extras);
H A DMockProvider.java187 public boolean sendExtraCommand(String command, Bundle extras) { argument
/frameworks/base/core/java/android/os/
H A DRecoverySystem.java69 private static File COMMAND_FILE = new File(RECOVERY_DIR, "command");
313 * @throws IOException if writing the recovery command file
342 * @throws IOException if writing the recovery command file
360 FileWriter command = new FileWriter(COMMAND_FILE);
362 command.write(arg);
363 command.write("\n");
365 command.close();
368 // Having written the command file, go ahead and reboot
/frameworks/base/include/binder/
H A DIPCThreadState.h92 status_t executeCommand(int32_t command);
/frameworks/base/camera/libcameraservice/
H A DCameraHardwareStub.h60 virtual status_t sendCommand(int32_t command, int32_t arg1,
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java108 public void executeCommand(String command, String parameters, ParcelFileDescriptor out) { argument
/frameworks/base/include/media/
H A DToneGenerator.h293 unsigned int command);

Completed in 237 milliseconds

12