Searched refs:command (Results 1 - 25 of 32) 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/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);
H A Dcommand_receiver.cpp265 void CommandReceiver::RegisterCommand(std::string name, MFP command) { argument
270 _funcMap->insert(std::make_pair(name, 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/services/Telephony/src/com/android/phone/common/mail/store/
H A DImapConnection.java50 static final String IMAP_REDACTED_LOG = "[IMAP command redacted]";
76 * @return the login command string to sent to the IMAP server
183 List<ImapResponse> executeSimpleCommand(String command) argument
185 return executeSimpleCommand(command, false);
189 * Send a single command to the server. The command will be preceded by an IMAP command
191 * Execute a simple command at the server, a simple command being one that is sent in a single
194 * @param command th
200 executeSimpleCommand(String command, boolean sensitive) argument
208 sendCommand(String command, boolean sensitive) argument
[all...]
/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.java162 public int channel, cla, command, p1, p2, p3; field in class:PhoneInterfaceManager.IccAPDUArgument
165 public IccAPDUArgument(int channel, int cla, int command, argument
169 this.command = command;
333 iccArgument.channel, iccArgument.cla, iccArgument.command,
374 iccArgument.cla, iccArgument.command, iccArgument.p1, iccArgument.p2,
414 iccArgument.command, iccArgument.p1, iccArgument.p2, iccArgument.p3,
769 private void handleNullReturnEvent(Message msg, String command) { argument
777 loge(command + ": CommandException: " + ar.exception);
779 loge(command
793 sendRequest(int command, Object argument) argument
802 sendRequest(int command, Object argument, Integer subId) argument
830 sendRequestAsync(int command) argument
838 sendRequestAsync(int command, Object argument) argument
2042 iccTransmitApduLogicalChannel(int subId, int channel, int cla, int command, int p1, int p2, int p3, String data) argument
2070 iccTransmitApduBasicChannel(int subId, int cla, int command, int p1, int p2, int p3, String data) argument
2093 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);
533 String command,
541 if (!command.equals(BluetoothHeadset.VENDOR_RESULT_CODE_COMMAND_ANDROID)) {
542 Log.w(TAG, "Disallowed unsolicited result code command: " + command);
546 new HeadsetVendorSpecificResultCode(device, command, arg));
289 sendVendorSpecificResultCode(BluetoothDevice device, String command, String arg) argument
532 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/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);
/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/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/
H A DA2dpMediaBrowserService.java235 public void onCommand(String command, Bundle args, ResultReceiver cb) {
236 Log.d(TAG, "onCommand command=" + command + " args=" + args);

Completed in 3436 milliseconds

12