Searched refs:command (Results 1 - 25 of 38) 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/Dialer/InCallUI/src/com/android/incallui/async/
H A DPausableExecutorImpl.java39 public void execute(Runnable command) { argument
40 Executors.newSingleThreadExecutor().execute(command);
/packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/
H A DCvvmProtocol.java43 public String getCommand(String command) { argument
44 if (command == OmtpConstants.IMAP_CHANGE_TUI_PWD_FORMAT) {
47 if (command == OmtpConstants.IMAP_CLOSE_NUT) {
50 if (command == OmtpConstants.IMAP_CHANGE_VM_LANG_FORMAT) {
53 return super.getCommand(command);
H A DVisualVoicemailProtocol.java74 * Translate an OMTP IMAP command to the protocol specific one. For example, changing the TUI
77 * @param command A String command in {@link com.android.phone.vvm.omtp.OmtpConstants}, the exact
79 * @returns Translated command, or {@code null} if not available in this protocol
81 public String getCommand(String command) { argument
82 return command;
H A DVvm3Protocol.java160 public String getCommand(String command) { argument
161 if (command == OmtpConstants.IMAP_CHANGE_TUI_PWD_FORMAT) {
164 if (command == OmtpConstants.IMAP_CLOSE_NUT) {
167 if (command == OmtpConstants.IMAP_CHANGE_VM_LANG_FORMAT) {
170 return super.getCommand(command);
209 // VVM3 has inconsistent error language code to OMTP. Just issue a raw command
/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/Dialer/InCallUI/tests/src/com/android/incallui/async/
H A DSingleProdThreadExecutor.java66 public synchronized void execute(Runnable command) { argument
67 Executors.newSingleThreadExecutor().execute(command);
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DMockExecutor.java55 Runnable command = mQueue.removeFirst();
56 command.run();
/packages/apps/Test/connectivity/sl4n/utils/
H A Dcommand_receiver.h35 static void RegisterCommand(std::string name, MFP command);
/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/apps/Launcher3/src/com/android/launcher3/util/
H A DViewOnDrawExecutor.java65 public void execute(Runnable command) { argument
66 mTasks.add(command);
/packages/apps/Email/provider_src/com/android/email/mail/transport/
H A DDiscourseLogger.java78 public void addSentCommand(String command) { argument
79 addLine(command);
/packages/services/Telephony/src/com/android/phone/common/mail/store/
H A DImapConnection.java53 static final String IMAP_REDACTED_LOG = "[IMAP command redacted]";
79 * @return the login command string to sent to the IMAP server
342 public List<ImapResponse> executeSimpleCommand(String command) argument
344 return executeSimpleCommand(command, false);
348 * Send a single command to the server. The command will be preceded by an IMAP command
350 * Execute a simple command at the server, a simple command being one that is sent in a single
353 * @param command th
359 executeSimpleCommand(String command, boolean sensitive) argument
367 sendCommand(String command, boolean sensitive) argument
[all...]
/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...]
/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.java171 public int channel, cla, command, p1, p2, p3; field in class:PhoneInterfaceManager.IccAPDUArgument
174 public IccAPDUArgument(int channel, int cla, int command, argument
178 this.command = command;
342 iccArgument.channel, iccArgument.cla, iccArgument.command,
383 iccArgument.cla, iccArgument.command, iccArgument.p1, iccArgument.p2,
423 iccArgument.command, iccArgument.p1, iccArgument.p2, iccArgument.p3,
840 private void handleNullReturnEvent(Message msg, String command) { argument
848 loge(command + ": CommandException: " + ar.exception);
850 loge(command
864 sendRequest(int command, Object argument) argument
873 sendRequest(int command, Object argument, Integer subId) argument
901 sendRequestAsync(int command) argument
909 sendRequestAsync(int command, Object argument) argument
2165 iccTransmitApduLogicalChannel(int subId, int channel, int cla, int command, int p1, int p2, int p3, String data) argument
2193 iccTransmitApduBasicChannel(int subId, int cla, int command, int p1, int p2, int p3, String data) argument
2216 iccExchangeSimIO(int subId, 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.java290 String command,
296 return service.sendVendorSpecificResultCode(device, command, arg);
539 String command,
547 if (!command.equals(BluetoothHeadset.VENDOR_RESULT_CODE_COMMAND_ANDROID)) {
548 Log.w(TAG, "Disallowed unsolicited result code command: " + command);
552 new HeadsetVendorSpecificResultCode(device, command, arg));
289 sendVendorSpecificResultCode(BluetoothDevice device, String command, String arg) argument
538 sendVendorSpecificResultCode(BluetoothDevice device, String command, String arg) argument
H A DHeadsetPhoneState.java409 public HeadsetVendorSpecificResultCode(BluetoothDevice device, String command, String arg) { argument
411 mCommand = command;
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
H A DImapHelper.java396 String command = getConfig().getProtocol()
399 String.format(Locale.US, command, newPin, oldPin), true);
413 String command = getConfig().getProtocol()
416 String.format(Locale.US, command, languageCode), true);
427 String command = getConfig().getProtocol()
429 connection.executeSimpleCommand(command, false);
/packages/apps/TV/src/com/android/tv/util/
H A DAsyncDbTask.java68 * Executes the given command at some time in the future.
70 * <p>The command will be executed by {@link #getExecutor()}.
72 * @param command the runnable task
75 * @throws NullPointerException if command is null
77 public static void execute(Runnable command) { argument
78 DB_EXECUTOR.execute(command);

Completed in 507 milliseconds

12