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

/packages/apps/Music/src/com/android/music/
H A DMediaButtonIntentReceiver.java82 String command = null;
85 command = MediaPlaybackService.CMDSTOP;
89 command = MediaPlaybackService.CMDTOGGLEPAUSE;
92 command = MediaPlaybackService.CMDNEXT;
95 command = MediaPlaybackService.CMDPREVIOUS;
98 command = MediaPlaybackService.CMDPAUSE;
101 command = MediaPlaybackService.CMDPLAY;
105 if (command != null) {
108 if ((MediaPlaybackService.CMDTOGGLEPAUSE.equals(command) ||
109 MediaPlaybackService.CMDPLAY.equals(command))
[all...]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DDicttool.java52 System.out.println("Syntax: dicttool <command [arguments]>\nAvailable commands:\n");
67 throw new RuntimeException("Unknown command : " + commandName);
69 final Command command = getCommandInstance(commandName);
71 command.setArgs(argsArray);
72 return command;
76 final Command command = getCommand(arguments);
78 command.run();
80 System.out.println("Exception while processing command "
81 + command.getClass().getSimpleName() + " : " + e);
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DMockExecutor.java55 Runnable command = mQueue.removeFirst();
56 command.run();
/packages/apps/Mms/src/com/android/mms/ui/
H A DAttachmentTypeSelectorAdapter.java83 int resource, int command) {
84 AttachmentListItem temp = new AttachmentListItem(title, resource, command);
91 public AttachmentListItem(String title, int resource, int command) { argument
94 mCommand = command;
82 addItem(List<IconListItem> data, String title, int resource, int command) argument
/packages/apps/Email/src/com/android/email/mail/transport/
H A DDiscourseLogger.java79 public void addSentCommand(String command) { argument
80 addLine(command);
H A DSmtpSender.java238 * Send a single command and wait for a single response. Handles responses that continue
242 * @param command The command string to send to the server.
245 private String executeSimpleCommand(String command) throws IOException, MessagingException { argument
246 return executeSensitiveCommand(command, null);
250 * Send a single command and wait for a single response. Handles responses that continue
253 * @param command The command string to send to the server.
254 * @param sensitiveReplacement If the command includes sensitive data (e.g. authentication)
258 private String executeSensitiveCommand(String command, Strin argument
[all...]
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapConnection.java63 private static final String IMAP_REDACTED_LOG = "[IMAP command redacted]";
70 /** # of command/response lines to log upon crash. */
234 * Send a single command to the server. The command will be preceded by an IMAP command
237 * @param command The command to send to the server
238 * @param sensitive If true, the command will not be logged
239 * @return Returns the command tag that was sent
241 String sendCommand(String command, boolea argument
285 executeSimpleCommand(String command) argument
323 executeSimpleCommand(String command, boolean sensitive) argument
[all...]
H A DPop3Store.java455 * In extreme cases we'll do a UIDL command per message instead of a bulk
557 * Parse a single-line response. This is returned from a command of the form
590 * Parse a multi-line response. This is returned from a command of the form
716 * In extreme cases we'll do a command per message instead of a bulk request
916 * The server may not support the CAPA command, so we just eat this Exception
924 * Send a single command and wait for a single line response. Reopens the connection,
927 * @param command The command string to send to the server.
930 private String executeSimpleCommand(String command) throws IOException, MessagingException { argument
931 return executeSensitiveCommand(command, nul
943 executeSensitiveCommand(String command, String sensitiveReplacement) argument
[all...]
H A DImapFolder.java396 String command = ImapConstants.UID_SEARCH + " " + searchCriteria;
397 return getSearchUids(mConnection.executeSimpleCommand(command));
452 // Break the command up into pieces ending with the string literal length
537 * Figure out what command we are going to run:
/packages/apps/Dialer/tests/src/com/android/dialer/util/
H A DFakeAsyncTaskExecutor.java114 public void execute(Runnable command) { argument
118 command, mNextTask));
/packages/apps/Phone/src/com/android/phone/
H A DPhoneInterfaceManager.java181 * Posts the specified command to be executed on the main thread,
185 private Object sendRequest(int command, Object argument) { argument
191 Message msg = mMainThreadHandler.obtainMessage(command, request);
209 * Posts the specified command to be executed on the main thread, and
213 private void sendRequestAsync(int command) { argument
214 mMainThreadHandler.sendEmptyMessage(command);
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java60 * You can run the tests with the following command line:
166 * A generic command interface. This is used to support a sequence of
258 * This command queries the number of events and compares it to the given
277 * This command dumps the list of events to the log for debugging.
292 * This command dumps the list of instances to the log for debugging.
314 * This command queries the number of instances and compares it to the given
339 * When this command runs it verifies that all of the instances in the
428 * When this command runs it verifies that the given instance exists in
438 * Creates a command to check that the given range [startDate,endDate]
2440 * Run thorough set of command sequence
[all...]
/packages/apps/Email/src/com/android/email/
H A DMessagingController.java75 * prioritize these commands. Each method that will submit a command requires a
78 * command is to be executed, if the listener that was provided with the command
79 * is no longer registered the command is skipped. The design idea for the above
183 Command command;
185 command = mCommands.take();
189 if (command.listener == null || isActiveListener(command.listener)) {
191 command.runnable.run();
200 Command command
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetStateMachine.java1272 * Put the AT command, company ID, arguments, and device in an Intent and broadcast it.
1274 private void broadcastVendorSpecificEventIntent(String command, argument
1279 log("broadcastVendorSpecificEventIntent(" + command + ")");
1282 intent.putExtra(BluetoothHeadset.EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD, command);
1728 Log.e(TAG, "processAtXevent: command type error");
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java1638 void gattTestCommand(int command, UUID uuid1, String bda1, argument
1642 gattTestNative(command, uuid1.getLeastSignificantBits(),
1645 gattTestNative(command, 0,0, bda1, p1, p2, p3, p4, p5);
1648 private native void gattTestNative(int command, argument
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_gatt.cpp1201 static void gattTestNative(JNIEnv *env, jobject object, jint command, argument
1221 sGattIf->client->test_command(command, &params);

Completed in 457 milliseconds