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

123

/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/core/java/android/nfc/
H A DApduList.java19 public void add(byte[] command) { argument
20 commands.add(command);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDemoMode.java23 void dispatchDemoCommand(String command, Bundle args); argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
H A DCameraFunctionalTest.java110 private void runOnLooper(final Runnable command) throws InterruptedException { argument
116 command.run();
123 fail("Failed to run the command on the looper.");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCameraStressTest.java116 private void runOnLooper(final Runnable command) throws InterruptedException { argument
122 command.run();
129 fail("Failed to run the command on the looper.");
H A DMediaRecorderStressTest.java118 private void runOnLooper(final Runnable command) throws InterruptedException { argument
124 command.run();
131 fail("Failed to run the command on the looper.");
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DProviderExecutor.java89 public void execute(Runnable command) {
90 Preconditions.checkNotNull(command);
91 mQueue.add(command);
96 public void execute(Runnable command) { argument
98 Preconditions.checkNotNull(command);
99 mQueue.add(command);
106 final Runnable command = mQueue.take();
107 command.run();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDemoStatusIcons.java51 public void dispatchDemoCommand(String command, Bundle args) { argument
52 if (!mDemoMode && command.equals(COMMAND_ENTER)) {
56 } else if (mDemoMode && command.equals(COMMAND_EXIT)) {
60 } else if (mDemoMode && command.equals(COMMAND_STATUS)) {
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DClock.java207 public void dispatchDemoCommand(String command, Bundle args) { argument
208 if (!mDemoMode && command.equals(COMMAND_ENTER)) {
210 } else if (mDemoMode && command.equals(COMMAND_EXIT)) {
213 } else if (mDemoMode && command.equals(COMMAND_CLOCK)) {
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java47 public boolean sendExtraCommand(String command, Bundle extras); argument
H A DPassiveProvider.java111 public boolean sendExtraCommand(String command, Bundle extras) { argument
H A DLocationProviderProxy.java278 public boolean sendExtraCommand(String command, Bundle extras) { argument
283 return service.sendExtraCommand(command, extras);
H A DMockProvider.java159 public boolean sendExtraCommand(String command, Bundle extras) { argument
/frameworks/av/media/libmedia/
H A DIEffect.cpp62 status_t command(uint32_t cmdCode, function in class:android::BpEffect
68 ALOGV("command");
163 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp);
H A DToneGenerator.cpp1129 // Update tone gen state machine and select wave gen command
1554 // command: special action requested (see enum gen_command).
1561 unsigned int count, unsigned int command) {
1567 if (command == WAVEGEN_START) {
1577 if (command == WAVEGEN_STOP) {
1560 getSamples(short *outBuffer, unsigned int count, unsigned int command) argument
H A DAudioEffect.cpp220 status_t AudioEffect::command(uint32_t cmdCode, function in class:android::AudioEffect
227 ALOGV("command() bad status %d", mStatus);
241 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData);
273 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size,
314 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,
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProviderBase.java105 public boolean sendExtraCommand(String command, Bundle extras) { argument
106 return onSendExtraCommand(command, extras);
204 * @param command name of the command to send to the provider.
205 * @param extras optional arguments for the command (or null).
206 * The provider may optionally fill the extras Bundle with results from the command.
208 * @return true if the command succeeds.
210 public boolean onSendExtraCommand(String command, Bundle extras) { argument
/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/uiautomator/src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java102 public AccessibilityEvent executeCommandAndWaitForAccessibilityEvent(Runnable command, argument
104 return mUiAutomation.executeAndWaitForEvent(command,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_slice_header.c475 u32 command; local
503 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &command);
506 if (command > 3)
512 pRefPicListReordering->command[i].reorderingOfPicNumsIdc = command;
514 if ((command == 0) || (command == 1))
524 pRefPicListReordering->command[i].absDiffPicNum = value + 1;
526 else if (command == 2)
531 pRefPicListReordering->command[
[all...]
H A Dh264bsd_slice_header.h77 refPicListReorderingOperation_t command[MAX_NUM_REF_PICS+1]; member in struct:__anon882
95 * end memory_management_control_operation command */
/frameworks/base/core/java/android/app/
H A DUiAutomation.java431 * Executes a command and waits for a specific accessibility event up to a
438 * @param command The command to execute.
444 public AccessibilityEvent executeAndWaitForEvent(Runnable command, argument
460 // Execute the command *without* the lock being held.
461 command.run();
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java68 public void executeCommand(String command, String parameters, ParcelFileDescriptor out) { argument
/frameworks/av/camera/
H A DICamera.cpp396 int command = data.readInt32(); local
399 reply->writeInt32(sendCommand(command, arg1, arg2));

Completed in 523 milliseconds

123