Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Music/src/com/android/music/
DMediaButtonIntentReceiver.java82 String command = null; in onReceive() local
85 command = MediaPlaybackService.CMDSTOP; in onReceive()
89 command = MediaPlaybackService.CMDTOGGLEPAUSE; in onReceive()
92 command = MediaPlaybackService.CMDNEXT; in onReceive()
95 command = MediaPlaybackService.CMDPREVIOUS; in onReceive()
98 command = MediaPlaybackService.CMDPAUSE; in onReceive()
101 command = MediaPlaybackService.CMDPLAY; in onReceive()
105 if (command != null) { in onReceive()
108 if ((MediaPlaybackService.CMDTOGGLEPAUSE.equals(command) || in onReceive()
109 MediaPlaybackService.CMDPLAY.equals(command)) in onReceive()
[all …]
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java163 public int channel, cla, command, p1, p2, p3; field in PhoneInterfaceManager.IccAPDUArgument
166 public IccAPDUArgument(int channel, int cla, int command, in IccAPDUArgument() argument
170 this.command = command; in IccAPDUArgument()
330 iccArgument.channel, iccArgument.cla, iccArgument.command, in handleMessage()
370 iccArgument.cla, iccArgument.command, iccArgument.p1, iccArgument.p2, in handleMessage()
409 iccArgument.command, iccArgument.p1, iccArgument.p2, iccArgument.p3, in handleMessage()
756 private void handleNullReturnEvent(Message msg, String command) { in handleNullReturnEvent() argument
764 loge(command + ": CommandException: " + ar.exception); in handleNullReturnEvent()
766 loge(command + ": Unknown exception"); in handleNullReturnEvent()
780 private Object sendRequest(int command, Object argument) { in sendRequest() argument
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageInviteView.java65 Integer command = null; in onClick() local
76 command = UIProvider.MessageOperations.RESPOND_ACCEPT; in onClick()
78 command = UIProvider.MessageOperations.RESPOND_TENTATIVE; in onClick()
80 command = UIProvider.MessageOperations.RESPOND_DECLINE; in onClick()
83 if (command != null) { in onClick()
85 LogUtils.w("UnifiedEmail", "SENDING INVITE COMMAND, VALUE=%s", command); in onClick()
86 params.put(UIProvider.MessageOperations.RESPOND_COLUMN, command); in onClick()
/packages/services/Telephony/src/com/android/phone/common/mail/store/
DImapConnection.java177 List<ImapResponse> executeSimpleCommand(String command) in executeSimpleCommand() argument
179 return executeSimpleCommand(command, false); in executeSimpleCommand()
194 List<ImapResponse> executeSimpleCommand(String command, boolean sensitive) in executeSimpleCommand() argument
198 sendCommand(command, sensitive); in executeSimpleCommand()
202 String sendCommand(String command, boolean sensitive) throws IOException, MessagingException { in sendCommand() argument
209 String commandToSend = tag + " " + command; in sendCommand()
210 mTransport.writeLine(commandToSend, (sensitive ? IMAP_REDACTED_LOG : command)); in sendCommand()
DImapFolder.java204 final String command = ImapConstants.UID_SEARCH + " " + searchCriteria; in searchForUids() local
205 final String[] result = getSearchUids(mConnection.executeSimpleCommand(command)); in searchForUids()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapConnection.java274 String sendCommand(String command, boolean sensitive) in sendCommand() argument
276 LogUtils.d(Logging.LOG_TAG, "sendCommand %s", (sensitive ? IMAP_REDACTED_LOG : command)); in sendCommand()
278 return sendCommandInternal(command, sensitive); in sendCommand()
281 String sendCommandInternal(String command, boolean sensitive) in sendCommandInternal() argument
287 String commandToSend = tag + " " + command; in sendCommandInternal()
326 List<ImapResponse> executeSimpleCommand(String command) throws IOException, MessagingException { in executeSimpleCommand() argument
327 return executeSimpleCommand(command, false); in executeSimpleCommand()
372 List<ImapResponse> executeSimpleCommand(String command, boolean sensitive) in executeSimpleCommand() argument
376 sendCommand(command, sensitive); in executeSimpleCommand()
DImapFolder.java419 final String command = ImapConstants.UID_SEARCH + " " + searchCriteria; in searchForUids() local
420 final String[] result = getSearchUids(mConnection.executeSimpleCommand(command)); in searchForUids()
560 String command = generateDateRangeCommand(startDate, endDate, false); in getMessages() local
561 LogUtils.d(Logging.LOG_TAG, "getMessages dateRange " + command.toString()); in getMessages()
564 uids = searchForUids(command.toString(), false); in getMessages()
572 command.toString()); in getMessages()
573 command = generateDateRangeCommand(startDate, endDate, true); in getMessages()
575 uids = searchForUids(command, true); in getMessages()
577 LogUtils.w(Logging.LOG_TAG, e2, "query failed %s, fatal", command); in getMessages()
DPop3Store.java711 private String executeSimpleCommand(String command) throws IOException, MessagingException { in executeSimpleCommand() argument
712 return executeSensitiveCommand(command, null); in executeSimpleCommand()
724 private String executeSensitiveCommand(String command, String sensitiveReplacement) in executeSensitiveCommand() argument
728 if (command != null) { in executeSensitiveCommand()
729 mTransport.writeLine(command, sensitiveReplacement); in executeSensitiveCommand()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDicttool.java108 final Command command = getCommandInstance(commandName); in getCommand() local
110 command.setArgs(argsArray); in getCommand()
111 return command; in getCommand()
120 final Command command = getCommand(arguments); in execute() local
122 command.run(); in execute()
126 + command.getClass().getSimpleName() + " : " + e); in execute()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java273 String command, in sendVendorSpecificResultCode() argument
279 return service.sendVendorSpecificResultCode(device, command, arg); in sendVendorSpecificResultCode()
508 String command, in sendVendorSpecificResultCode() argument
516 if (!command.equals(BluetoothHeadset.VENDOR_RESULT_CODE_COMMAND_ANDROID)) { in sendVendorSpecificResultCode()
517 Log.w(TAG, "Disallowed unsolicited result code command: " + command); in sendVendorSpecificResultCode()
521 new HeadsetVendorSpecificResultCode(device, command, arg)); in sendVendorSpecificResultCode()
DHeadsetPhoneState.java409 public HeadsetVendorSpecificResultCode(BluetoothDevice device, String command, String arg) { in HeadsetVendorSpecificResultCode() argument
411 mCommand = command; in HeadsetVendorSpecificResultCode()
DHeadsetStateMachine.java2397 private void broadcastVendorSpecificEventIntent(String command, in broadcastVendorSpecificEventIntent() argument
2402 log("broadcastVendorSpecificEventIntent(" + command + ")"); in broadcastVendorSpecificEventIntent()
2405 intent.putExtra(BluetoothHeadset.EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD, command); in broadcastVendorSpecificEventIntent()
3027 String command = atString.substring(0, indexOfEqual); in processVendorSpecificAt() local
3028 Integer companyId = VENDOR_SPECIFIC_AT_COMMAND_COMPANY_ID.get(command); in processVendorSpecificAt()
3041 broadcastVendorSpecificEventIntent(command, in processVendorSpecificAt()
/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java236 private String executeSimpleCommand(String command) throws IOException, MessagingException { in executeSimpleCommand() argument
237 return executeSensitiveCommand(command, null); in executeSimpleCommand()
249 private String executeSensitiveCommand(String command, String sensitiveReplacement) in executeSensitiveCommand() argument
251 if (command != null) { in executeSensitiveCommand()
252 mTransport.writeLine(command, sensitiveReplacement); in executeSensitiveCommand()
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
DCameraCommandExecutor.java44 public CommandRunnable(CameraCommand command) { in CommandRunnable() argument
45 mCommand = command; in CommandRunnable()
100 public Future<?> execute(CameraCommand command) { in execute() argument
110 return mExecutor.submit(new CommandRunnable(command)); in execute()
DRunnableCameraCommand.java27 public RunnableCameraCommand(CameraCommandExecutor executor, CameraCommand command) { in RunnableCameraCommand() argument
29 mCommand = command; in RunnableCameraCommand()
DResettingRunnableCameraCommand.java44 public ResettingRunnableCameraCommand(CameraCommandExecutor executor, CameraCommand command) { in ResettingRunnableCameraCommand() argument
46 mCommand = command; in ResettingRunnableCameraCommand()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java2522 for (Command command : commands) { in commandSequences()
2523 command.execute(); in commandSequences()
2530 for (Command command : commands) { in commandSequences()
2531 command.execute(); in commandSequences()
2538 for (Command command : commands) { in commandSequences()
2539 command.execute(); in commandSequences()
2546 for (Command command : commands) { in commandSequences()
2547 command.execute(); in commandSequences()
2554 for (Command command : commands) { in commandSequences()
2555 command.execute(); in commandSequences()
[all …]
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile148 # (thus requiring an explicit @brief command for a brief description.)
156 # an explicit \brief command for a brief description.)
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
272 # the \nosubgrouping command.
374 # that is typed after a \internal command is included. If the tag is set
480 # command in the documentation regardless of this setting.
511 # popen()) the command <command> <input-file>, where <command> is the value of
672 # the \include command).
692 # the \image command).
698 # by executing (via popen()) the command <filter> <input-file>, where <filter>
[all …]
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile148 # (thus requiring an explicit @brief command for a brief description.)
156 # an explicit \brief command for a brief description.)
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
272 # the \nosubgrouping command.
374 # that is typed after a \internal command is included. If the tag is set
480 # command in the documentation regardless of this setting.
511 # popen()) the command <command> <input-file>, where <command> is the value of
672 # the \include command).
692 # the \image command).
698 # by executing (via popen()) the command <filter> <input-file>, where <filter>
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile148 # (thus requiring an explicit @brief command for a brief description.)
156 # an explicit \brief command for a brief description.)
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
272 # the \nosubgrouping command.
374 # that is typed after a \internal command is included. If the tag is set
480 # command in the documentation regardless of this setting.
511 # popen()) the command <command> <input-file>, where <command> is the value of
672 # the \include command).
692 # the \image command).
698 # by executing (via popen()) the command <filter> <input-file>, where <filter>
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile148 # (thus requiring an explicit @brief command for a brief description.)
156 # an explicit \brief command for a brief description.)
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
272 # the \nosubgrouping command.
374 # that is typed after a \internal command is included. If the tag is set
480 # command in the documentation regardless of this setting.
511 # popen()) the command <command> <input-file>, where <command> is the value of
672 # the \include command).
692 # the \image command).
698 # by executing (via popen()) the command <filter> <input-file>, where <filter>
[all …]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DMockExecutor.java55 Runnable command = mQueue.removeFirst(); in runNext() local
56 command.run(); in runNext()
/packages/apps/Email/provider_src/com/android/email/mail/transport/
DDiscourseLogger.java78 public void addSentCommand(String command) { in addSentCommand() argument
79 addLine(command); in addSentCommand()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DPictureTakerImpl.java40 ImageSaver.Builder imageSaverBuilder, ImageCaptureCommand command) { in PictureTakerImpl() argument
44 mCommand = command; in PictureTakerImpl()
/packages/apps/Dialer/tests/src/com/android/dialer/util/
DFakeAsyncTaskExecutor.java114 public void execute(Runnable command) { in execute() argument
118 command, mNextTask)); in execute()

12