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

12

/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
H A DRunnableCameraCommand.java27 public RunnableCameraCommand(CameraCommandExecutor executor, CameraCommand command) { argument
29 mCommand = command;
H A DResettingRunnableCameraCommand.java29 * restarts the command if it was already running.
39 * The future corresponding to any currently-executing command.
44 public ResettingRunnableCameraCommand(CameraCommandExecutor executor, CameraCommand command) { argument
46 mCommand = command;
54 // Cancel, via interruption, the already-running command, one has
H A DCameraCommandExecutor.java44 public CommandRunnable(CameraCommand command) { argument
45 mCommand = command;
51 mLog.d("Executing command: " + mCommand + " START");
53 mLog.d("Executing command: " + mCommand + " END");
55 // This may indicate that the command would have otherwise
57 // or the command was aborted because the necessary resources
63 mLog.d("Interrupted while executing command: " + mCommand);
65 // If the camera was closed and the command failed, just return.
66 mLog.d("Unable to connect to camera while executing command: " + mCommand);
68 // If the session was closed and the command faile
100 execute(CameraCommand command) argument
[all...]
/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/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DMockExecutor.java55 Runnable command = mQueue.removeFirst();
56 command.run();
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageInviteView.java65 Integer command = null;
76 command = UIProvider.MessageOperations.RESPOND_ACCEPT;
78 command = UIProvider.MessageOperations.RESPOND_TENTATIVE;
80 command = UIProvider.MessageOperations.RESPOND_DECLINE;
83 if (command != null) {
85 LogUtils.w("UnifiedEmail", "SENDING INVITE COMMAND, VALUE=%s", command);
86 params.put(UIProvider.MessageOperations.RESPOND_COLUMN, command);
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DDicttool.java91 System.out.println("Syntax: dicttool <command [arguments]>\nAvailable commands:\n");
106 throw new RuntimeException("Unknown command : " + commandName);
108 final Command command = getCommandInstance(commandName);
110 command.setArgs(argsArray);
111 return command;
115 * Executes the specified command with the specified arguments.
120 final Command command = getCommand(arguments);
122 command.run();
125 System.out.println("Exception while processing command "
126 + command
[all...]
/packages/services/Telephony/src/com/android/phone/common/mail/store/
H A DImapConnection.java49 static final String IMAP_REDACTED_LOG = "[IMAP command redacted]";
75 * @return the login command string to sent to the IMAP server
177 List<ImapResponse> executeSimpleCommand(String command) argument
179 return executeSimpleCommand(command, false);
183 * Send a single command to the server. The command will be preceded by an IMAP command
185 * Execute a simple command at the server, a simple command being one that is sent in a single
188 * @param command th
194 executeSimpleCommand(String command, boolean sensitive) argument
202 sendCommand(String command, boolean sensitive) argument
[all...]
H A DImapFolder.java204 final String command = ImapConstants.UID_SEARCH + " " + searchCriteria;
205 final String[] result = getSearchUids(mConnection.executeSimpleCommand(command));
283 * Figure out what command we are going to run:
/packages/apps/Email/provider_src/com/android/email/mail/transport/
H A DDiscourseLogger.java78 public void addSentCommand(String command) { argument
79 addLine(command);
/packages/apps/Email/provider_src/com/android/email/mail/store/
H A DImapConnection.java64 static final String IMAP_REDACTED_LOG = "[IMAP command redacted]";
72 /** # of command/response lines to log upon crash. */
103 * @return the login command string to sent to the IMAP server
267 * Send a single command to the server. The command will be preceded by an IMAP command
270 * @param command The command to send to the server
271 * @param sensitive If true, the command will not be logged
272 * @return Returns the command ta
274 sendCommand(String command, boolean sensitive) argument
281 sendCommandInternal(String command, boolean sensitive) argument
326 executeSimpleCommand(String command) argument
372 executeSimpleCommand(String command, boolean sensitive) argument
[all...]
H A DPop3Store.java387 * In extreme cases we'll do a UIDL command per message instead of a bulk
456 * Parse a single-line response. This is returned from a command of the form
489 * Parse a multi-line response. This is returned from a command of the form
697 * The server may not support the CAPA command, so we just eat this Exception
705 * Send a single command and wait for a single line response. Reopens the connection,
708 * @param command The command string to send to the server.
711 private String executeSimpleCommand(String command) throws IOException, MessagingException { argument
712 return executeSensitiveCommand(command, null);
716 * Send a single command an
724 executeSensitiveCommand(String command, String sensitiveReplacement) argument
[all...]
H A DImapFolder.java419 final String command = ImapConstants.UID_SEARCH + " " + searchCriteria;
420 final String[] result = getSearchUids(mConnection.executeSimpleCommand(command));
483 // Break the command up into pieces ending with the string literal length
560 String command = generateDateRangeCommand(startDate, endDate, false);
561 LogUtils.d(Logging.LOG_TAG, "getMessages dateRange " + command.toString());
564 uids = searchForUids(command.toString(), false);
572 command.toString());
573 command = generateDateRangeCommand(startDate, endDate, true);
575 uids = searchForUids(command, true);
577 LogUtils.w(Logging.LOG_TAG, e2, "query failed %s, fatal", command);
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
H A DPictureTakerImpl.java40 ImageSaver.Builder imageSaverBuilder, ImageCaptureCommand command) {
44 mCommand = command;
74 .add("command", mCommand)
39 PictureTakerImpl(MainThread mainExecutor, CameraCommandExecutor cameraCommandExecutor, ImageSaver.Builder imageSaverBuilder, ImageCaptureCommand command) argument
/packages/apps/Email/src/com/android/email/mail/transport/
H A DSmtpSender.java229 * Send a single command and wait for a single response. Handles responses that continue
233 * @param command The command string to send to the server.
236 private String executeSimpleCommand(String command) throws IOException, MessagingException { argument
237 return executeSensitiveCommand(command, null);
241 * Send a single command and wait for a single response. Handles responses that continue
244 * @param command The command string to send to the server.
245 * @param sensitiveReplacement If the command includes sensitive data (e.g. authentication)
249 private String executeSensitiveCommand(String command, Strin argument
[all...]
/packages/apps/Dialer/tests/src/com/android/dialer/util/
H A DFakeAsyncTaskExecutor.java114 public void execute(Runnable command) { argument
118 command, mNextTask));
/packages/services/Telephony/src/com/android/phone/
H A DPhoneInterfaceManager.java163 public int channel, cla, command, p1, p2, p3; field in class:PhoneInterfaceManager.IccAPDUArgument
166 public IccAPDUArgument(int channel, int cla, int command, argument
170 this.command = command;
317 iccArgument.channel, iccArgument.cla, iccArgument.command,
357 iccArgument.cla, iccArgument.command, iccArgument.p1, iccArgument.p2,
396 iccArgument.command, iccArgument.p1, iccArgument.p2, iccArgument.p3,
741 private void handleNullReturnEvent(Message msg, String command) { argument
749 loge(command + ": CommandException: " + ar.exception);
751 loge(command
765 sendRequest(int command, Object argument) argument
774 sendRequest(int command, Object argument, Integer subId) argument
802 sendRequestAsync(int command) argument
810 sendRequestAsync(int command, Object argument) argument
1980 iccTransmitApduLogicalChannel(int channel, int cla, int command, int p1, int p2, int p3, String data) argument
2008 iccTransmitApduBasicChannel(int cla, int command, int p1, int p2, int p3, String data) argument
2031 iccExchangeSimIO(int fileID, int command, int p1, int p2, int p3, String filePath) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java273 String command,
279 return service.sendVendorSpecificResultCode(device, command, arg);
508 String command,
516 if (!command.equals(BluetoothHeadset.VENDOR_RESULT_CODE_COMMAND_ANDROID)) {
517 Log.w(TAG, "Disallowed unsolicited result code command: " + command);
521 new HeadsetVendorSpecificResultCode(device, command, arg));
272 sendVendorSpecificResultCode(BluetoothDevice device, String command, String arg) argument
507 sendVendorSpecificResultCode(BluetoothDevice device, String command, String arg) argument
H A DHeadsetPhoneState.java409 public HeadsetVendorSpecificResultCode(BluetoothDevice device, String command, String arg) { argument
411 mCommand = command;
H A DHeadsetStateMachine.java2182 dic.exitIdle("voice-command");
2395 * Put the AT command, company ID, arguments, and device in an Intent and broadcast it.
2397 private void broadcastVendorSpecificEventIntent(String command, argument
2402 log("broadcastVendorSpecificEventIntent(" + command + ")");
2405 intent.putExtra(BluetoothHeadset.EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD, command);
3010 * @return {@code true} if the given string is a valid vendor-specific AT command.
3018 Log.e(TAG, "processVendorSpecificAt: command type error in " + atString);
3022 String command = atString.substring(0, indexOfEqual);
3023 Integer companyId = VENDOR_SPECIFIC_AT_COMMAND_COMPANY_ID.get(command);
3025 Log.e(TAG, "processVendorSpecificAt: unsupported command
[all...]
/packages/apps/Messaging/build/
H A Dgcheckstyle.mk28 # The config file has to be packaged into the jar, and jar uf command expects the current working directory
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java63 * You can run the tests with the following command line:
174 * A generic command interface. This is used to support a sequence of
266 * This command queries the number of events and compares it to the given
285 * This command dumps the list of events to the log for debugging.
300 * This command dumps the list of instances to the log for debugging.
322 * This command queries the number of instances and compares it to the given
347 * When this command runs it verifies that all of the instances in the
436 * When this command runs it verifies that the given instance exists in
446 * Creates a command to check that the given range [startDate,endDate]
2504 * Run thorough set of command sequence
[all...]
/packages/apps/FMRadio/src/com/android/fmradio/
H A DFmService.java247 String command = intent.getStringExtra("command");
248 Log.d(TAG, "onReceive, action = " + action + " / command = " + command);
250 if ((SOUND_POWER_DOWN_MSG.equals(action) && CMDPAUSE.equals(command))) {
2468 * if there is stop command when scan, so it needs to mute
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java2336 void gattTestCommand(int command, UUID uuid1, String bda1, argument
2340 gattTestNative(command, uuid1.getLeastSignificantBits(),
2343 gattTestNative(command, 0,0, bda1, p1, p2, p3, p4, p5);
2346 private native void gattTestNative(int command, argument
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_gatt.cpp1784 static void gattTestNative(JNIEnv *env, jobject object, jint command, argument
1804 sGattIf->client->test_command(command, &params);

Completed in 890 milliseconds

12