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

12345

/frameworks/av/services/audioflinger/
H A DFastCaptureState.cpp31 const char *FastCaptureState::commandToString(Command command) argument
33 const char *str = FastThreadState::commandToString(command);
37 switch (command) {
H A DFastThreadState.cpp33 const char *FastThreadState::commandToString(FastThreadState::Command command) argument
35 switch (command) {
H A DFastMixerState.cpp54 const char *FastMixerState::commandToString(Command command) argument
56 const char *str = FastThreadState::commandToString(command);
60 switch (command) {
H A DFastCapture.cpp75 bool FastCapture::isSubClassCommand(FastThreadState::Command command) argument
77 switch ((FastCaptureState::Command) command) {
163 const FastCaptureState::Command command = mCommand; local
166 if ((command & FastCaptureState::READ) /*&& isWarm*/) {
187 if (command & FastCaptureState::WRITE) {
/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonTimeoutException.java24 public NativeDaemonTimeoutException(String command, NativeDaemonEvent event) { argument
25 super(command, event);
H A DRecoverySystemService.java176 public boolean setupBcb(String command) { argument
177 if (DEBUG) Slog.d(TAG, "setupBcb: [" + command + "]");
179 return setupOrClearBcb(true, command);
184 public void rebootRecoveryWithCommand(String command) { argument
185 if (DEBUG) Slog.d(TAG, "rebootRecoveryWithCommand: [" + command + "]");
187 if (!setupOrClearBcb(true, command)) {
258 private boolean setupOrClearBcb(boolean isSetup, String command) { argument
288 dos.writeInt(command.length());
289 dos.writeBytes(command);
/frameworks/base/tools/aapt2/
H A DMain.cpp41 aapt::StringPiece command(argv[0]);
42 if (command == "compile" || command == "c") {
44 } else if (command == "link" || command == "l") {
46 } else if (command == "dump" || command == "d") {
48 } else if (command == "diff") {
51 std::cerr << "unknown command '" << command << "'\ local
[all...]
H A DFlags.cpp83 void Flags::usage(const StringPiece& command, std::ostream* out) { argument
86 *out << command << " [options]"; local
113 bool Flags::parse(const StringPiece& command, const std::vector<StringPiece>& args, argument
123 usage(command, outError);
134 usage(command, outError);
149 usage(command, outError);
157 usage(command, outError);
/frameworks/base/core/java/android/nfc/
H A DApduList.java19 public void add(byte[] command) { argument
20 commands.add(command);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
H A DCameraFunctionalTest.java98 private void runOnLooper(final Runnable command) throws InterruptedException { argument
104 command.run();
111 fail("Failed to run the command on the looper.");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCameraStressTest.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/packages/DocumentsUI/src/com/android/documentsui/
H A DProviderExecutor.java86 public void execute(Runnable command) {
87 assert(command != null);
88 mQueue.add(command);
93 public void execute(Runnable command) { argument
95 assert(command != null);
96 mQueue.add(command);
103 final Runnable command = mQueue.take();
104 command.run();
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDemoMode.java25 void dispatchDemoCommand(String command, Bundle args); argument
29 public static final String EXTRA_COMMAND = "command";
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDemoStatusIcons.java52 public void dispatchDemoCommand(String command, Bundle args) { argument
53 if (!mDemoMode && command.equals(COMMAND_ENTER)) {
57 } else if (mDemoMode && command.equals(COMMAND_EXIT)) {
61 } 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/services/core/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
/frameworks/av/media/libmedia/
H A DIEffect.cpp62 status_t command(uint32_t cmdCode, function in class:android::BpEffect
68 ALOGV("command");
177 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp);
H A DToneGenerator.cpp1173 // Update tone gen state machine and select wave gen command
1598 // command: special action requested (see enum gen_command).
1605 unsigned int count, unsigned int command) {
1611 if (command == WAVEGEN_START) {
1621 if (command == WAVEGEN_STOP) {
1604 getSamples(short *outBuffer, unsigned int count, unsigned int command) argument
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java102 public AccessibilityEvent executeCommandAndWaitForAccessibilityEvent(Runnable command, argument
104 return mUiAutomation.executeAndWaitForEvent(command,
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiConstants.java101 // Returns true if this command can be used for running status
102 public static boolean allowRunningStatus(byte command) { argument
104 return (command >= STATUS_NOTE_OFF && command < STATUS_SYSTEM_EXCLUSIVE);
107 // Returns true if this command cancels running status
108 public static boolean cancelsRunningStatus(byte command) { argument
110 return (command >= STATUS_SYSTEM_EXCLUSIVE && command <= STATUS_END_SYSEX);
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DClock.java277 public void dispatchDemoCommand(String command, Bundle args) { argument
278 if (!mDemoMode && command.equals(COMMAND_ENTER)) {
280 } else if (mDemoMode && command.equals(COMMAND_EXIT)) {
283 } else if (mDemoMode && command.equals(COMMAND_CLOCK)) {
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
H A DIpConnectivityMetricsTest.java212 String getdump(String ... command) { argument
215 mService.impl.dump(null, writer, command);
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/tethering/
H A DTetherInterfaceStateMachineTest.java114 for (int command : NOOP_COMMANDS) {
117 dispatchCommand(command);
257 * Send a command to the state machine under test, and run the event loop to idle.
259 * @param command One of the TetherInterfaceStateMachine.CMD_* constants.
261 private void dispatchCommand(int command) { argument
262 mTestedSm.sendMessage(command);

Completed in 1909 milliseconds

12345