Searched defs:command (Results 1 - 25 of 42) sorted by relevance

12

/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 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...]
H A DBluetoothDeviceProfileState.java364 Log.e(TAG, "Error: OutgoingHandsfree state with command:" + mCommand);
378 int command = message.what;
379 switch(command) {
381 if (command != mCommand) {
460 Log.e(TAG, "Error: IncomingHandsfree state with command:" + mCommand);
509 // from CONNECTING to CONNECTED, so serializing this command is
551 Log.e(TAG, "Error: OutgoingA2DP state with command:" + mCommand);
644 Log.e(TAG, "Error: IncomingA2DP state with command:" + mCommand);
726 synchronized void cancelCommand(int command) { argument
727 if (command
737 deferProfileServiceMessage(int command) argument
756 handleIncomingConnection(int command, boolean accept) argument
872 processCommand(int command) argument
969 handleConnectionOfOtherProfiles(int command) argument
[all...]
/frameworks/base/libs/rs/
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/core/java/com/android/internal/view/
H A DBaseIWindow.java55 public void executeCommand(String command, String parameters, ParcelFileDescriptor out) { argument
/frameworks/base/media/libmedia/
H A DIEffect.cpp62 status_t command(uint32_t cmdCode, function in class:android::BpEffect
68 LOGV("command");
156 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp);
H A DAudioEffect.cpp224 status_t AudioEffect::command(uint32_t cmdCode, function in class:android::AudioEffect
231 LOGV("command() bad status %d", mStatus);
240 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData);
276 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, &param->status);
316 return mIEffect->command(EFFECT_CMD_SET_PARAM_COMMIT, 0, NULL, &size, NULL);
333 return mIEffect->command(EFFECT_CMD_GET_PARAM, sizeof(effect_param_t) + param->psize, param, &psize, param);
H A DToneGenerator.cpp1107 // Update tone gen state machine and select wave gen command
1538 // command: special action requested (see enum gen_command).
1545 unsigned int count, unsigned int command) {
1551 if (command == WAVEGEN_START) {
1561 if (command == WAVEGEN_STOP) {
1544 getSamples(short *outBuffer, unsigned int count, unsigned int command) argument
/frameworks/base/services/java/com/android/server/
H A DNativeDaemonConnector.java184 private void sendCommand(String command) argument
186 sendCommand(command, null);
190 * Sends a command to the daemon with a single argument
192 * @param command The command to send to the daemon
193 * @param argument The argument to send with the command (or null)
195 private void sendCommand(String command, String argument) argument
198 if (LOCAL_LOGD) Slog.d(TAG, String.format("SND -> {%s} {%s}", command, argument));
203 StringBuilder builder = new StringBuilder(command);
219 * Issue a command t
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java54 boolean sendExtraCommand(String command, Bundle extras); argument
H A DPassiveProvider.java144 public boolean sendExtraCommand(String command, Bundle extras) { argument
H A DLocationProviderProxy.java435 public boolean sendExtraCommand(String command, Bundle extras) { argument
440 return provider.sendExtraCommand(command, extras);
H A DMockProvider.java214 public boolean sendExtraCommand(String command, Bundle extras) { argument
/frameworks/base/libs/camera/
H A DICamera.cpp349 int command = data.readInt32(); local
352 reply->writeInt32(sendCommand(command, arg1, arg2));
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java111 private void runOnLooper(final Runnable command) throws InterruptedException { argument
117 command.run();
124 fail("Failed to run the command on the looper.");
/frameworks/base/cmds/dumpstate/
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/services/camera/libcameraservice/
H A DCameraHardwareStub.cpp373 status_t CameraHardwareStub::sendCommand(int32_t command, int32_t arg1, argument
/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/core/java/android/view/
H A DSurfaceView.java656 public void executeCommand(String command, String parameters, ParcelFileDescriptor out) { argument
H A DViewDebug.java856 static void dispatchCommand(View view, String command, String parameters, argument
862 if (REMOTE_COMMAND_DUMP.equalsIgnoreCase(command)) {
864 } else if (REMOTE_COMMAND_CAPTURE_LAYERS.equalsIgnoreCase(command)) {
868 if (REMOTE_COMMAND_CAPTURE.equalsIgnoreCase(command)) {
870 } else if (REMOTE_COMMAND_INVALIDATE.equalsIgnoreCase(command)) {
872 } else if (REMOTE_COMMAND_REQUEST_LAYOUT.equalsIgnoreCase(command)) {
874 } else if (REMOTE_PROFILE.equalsIgnoreCase(command)) {
/frameworks/base/core/tests/hosttests/src/android/content/pm/
H A DPackageManagerHostTestUtils.java242 * @throws IOException if adb shell command failed
255 * @throws IOException if adb shell command failed
268 * @throws IOException if adb shell command failed
280 * @throws IOException if adb shell command failed
291 * @throws IOException if adb shell command failed
302 * @throws IOException if adb shell command failed
397 * Helper method which executes a adb shell command and returns output as a {@link String}
398 * @return the output of the command
401 public String executeShellCommand(String command) throws IOException { argument
402 Log.i(LOG_TAG, String.format("adb shell %s", command));
[all...]
/frameworks/base/core/java/android/app/
H A DLoadedApk.java1073 RunConnection(ComponentName name, IBinder service, int command) { argument
1076 mCommand = command;
/frameworks/base/include/media/
H A DEffectApi.h37 // effect_command_t command;
134 // | | | command must specify a buffer descriptor
137 // | | | EFFECT_CMD_CONFIGURE command to request input.
143 // | | | command must specify a buffer descriptor
146 // | | | EFFECT_CMD_CONFIGURE command to request output
225 // buffer provider function installed by the EFFECT_CMD_CONFIGURE command.
227 // command is received and until the EFFECT_CMD_DISABLE is received. When the engine
228 // receives the EFFECT_CMD_DISABLE command it should turn off the effect gracefully
240 // If NULL, use the configuration passed by EFFECT_CMD_CONFIGURE command.
243 // If NULL, use the configuration passed by EFFECT_CMD_CONFIGURE command
297 effect_command_t command; member in struct:effect_interface_s
[all...]
/frameworks/base/location/java/android/location/
H A DLocationManager.java1419 * @param command name of the command to send to the provider.
1420 * @param extras optional arguments for the command (or null).
1421 * The provider may optionally fill the extras Bundle with results from the command.
1423 * @return true if the command succeeds.
1425 public boolean sendExtraCommand(String provider, String command, Bundle extras) { argument
1427 return mService.sendExtraCommand(provider, command, extras);

Completed in 512 milliseconds

12