Searched refs:cmd (Results 1 – 21 of 21) sorted by relevance
76 public CreationAndCompletionThread(Command cmd) { in CreationAndCompletionThread() argument78 mCmd = cmd; in CreationAndCompletionThread()122 private void startSound(Command cmd) { in startSound() argument139 mCompletionThread = new CreationAndCompletionThread(cmd); in startSound()147 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in startSound()153 Log.w(mTag, "error loading sound for " + cmd.uri, e); in startSound()165 Command cmd = null; in run() local169 cmd = mCmdQueue.removeFirst(); in run()172 switch (cmd.code) { in run()175 startSound(cmd); in run()[all …]
216 public String makeUriString(final String cmd) { in makeUriString() argument218 if (cmd != null) { in makeUriString()219 uriString += "?Cmd=" + cmd + makeUserString(); in makeUriString()224 private String makeUriString(final String cmd, final String extra) { in makeUriString() argument225 return makeUriString(cmd) + extra; in makeUriString()339 protected EasResponse sendHttpClientPost(String cmd, final HttpEntity entity, in sendHttpClientPost() argument341 final boolean isPingCommand = cmd.equals("Ping"); in sendHttpClientPost()348 if (cmd.startsWith("SmartForward&") || cmd.startsWith("SmartReply&")) { in sendHttpClientPost()349 final int cmdLength = cmd.indexOf('&'); in sendHttpClientPost()350 extra = cmd.substring(cmdLength); in sendHttpClientPost()[all …]
274 String cmd = intent.getStringExtra("command");275 MusicUtils.debugLog("mIntentReceiver.onReceive " + action + " / " + cmd);276 if (CMDNEXT.equals(cmd) || NEXT_ACTION.equals(action)) {278 } else if (CMDPREVIOUS.equals(cmd) || PREVIOUS_ACTION.equals(action)) {280 } else if (CMDTOGGLEPAUSE.equals(cmd) || TOGGLEPAUSE_ACTION.equals(action)) {287 } else if (CMDPAUSE.equals(cmd) || PAUSE_ACTION.equals(action)) {290 } else if (CMDPLAY.equals(cmd)) {292 } else if (CMDSTOP.equals(cmd)) {296 } else if (MediaAppWidgetProvider.CMDAPPWIDGETUPDATE.equals(cmd)) {647 String cmd = intent.getStringExtra("command"); in onStartCommand() local[all …]
1204 String makeUriString(String cmd, String extra) { in makeUriString() argument1207 if (cmd != null) { in makeUriString()1208 uriString += "?Cmd=" + cmd + mUserString; in makeUriString()1274 public EasResponse sendHttpClientPost(String cmd, byte[] bytes) throws IOException {1275 return sendHttpClientPost(cmd, new ByteArrayEntity(bytes), COMMAND_TIMEOUT);1325 public EasResponse sendHttpClientPost(String cmd, HttpEntity entity, int timeout)1328 boolean isPingCommand = cmd.equals(PING_COMMAND);1333 if (cmd.startsWith("SmartForward&") || cmd.startsWith("SmartReply&")) {1334 int cmdLength = cmd.indexOf('&');1335 extra = cmd.substring(cmdLength);[all …]
422 String cmd = "SendMail"; in sendMessage() local426 cmd = reply ? "SmartReply" : "SmartForward"; in sendMessage()428 cmd = generateSmartSendCmd(reply, referenceInfo); in sendMessage()434 cmd += "&SaveInSent=T"; in sendMessage()436 userLog("Send cmd: " + cmd); in sendMessage()439 EasResponse resp = sendHttpClientPost(cmd, inputEntity, SEND_MAIL_TIMEOUT); in sendMessage()
745 transceive_info.cmd.FelCmd = phNfc_eFelica_Raw; in com_android_nfc_NativeNfcTag_doTransceive()751 transceive_info.cmd.MfCmd = phHal_eMifareRaw; in com_android_nfc_NativeNfcTag_doTransceive()762 transceive_info.cmd.MfCmd = (phNfc_eMifareCmdList_t)buf[0]; in com_android_nfc_NativeNfcTag_doTransceive()770 transceive_info.cmd.JewelCmd = phNfc_eJewel_Raw; in com_android_nfc_NativeNfcTag_doTransceive()776 transceive_info.cmd.MfCmd = phHal_eMifareRaw; in com_android_nfc_NativeNfcTag_doTransceive()788 transceive_info.cmd.MfCmd = (phNfc_eMifareCmdList_t)buf[0]; in com_android_nfc_NativeNfcTag_doTransceive()795 transceive_info.cmd.Iso144434Cmd = phNfc_eIso14443_4_Raw; in com_android_nfc_NativeNfcTag_doTransceive()799 transceive_info.cmd.Iso15693Cmd = phNfc_eIso15693_Cmd; in com_android_nfc_NativeNfcTag_doTransceive()1068 uint8_t cmd[] = {0x90, 0x60, 0x00, 0x00, 0x00}; in com_android_nfc_NativeNfcTag_doIsIsoDepNdefFormatable() local1071 e->SetByteArrayRegion(versionCmd, 0, 5, (jbyte*)cmd); in com_android_nfc_NativeNfcTag_doIsIsoDepNdefFormatable()
641 transceive_info.cmd.MfCmd = (phNfc_eMifareCmdList_t)buf[0]; in com_android_nfc_NativeNfcSecureElement_doTransceive()646 transceive_info.cmd.Iso144434Cmd = phNfc_eIso14443_4_Raw; in com_android_nfc_NativeNfcSecureElement_doTransceive()
36 String cmd = svc.generateSmartSendCmd(true, info); in testGenerateSmartSendCmd() local37 assertEquals("SmartReply&ItemId=1339085683659694034&CollectionId=Mail:%5Ef", cmd); in testGenerateSmartSendCmd()40 cmd = svc.generateSmartSendCmd(false, info); in testGenerateSmartSendCmd()41 assertEquals("SmartForward&ItemId=14:%263&CollectionId=6", cmd); in testGenerateSmartSendCmd()
84 String cmd = "SendMail"; in getCommand() local88 cmd = mSmartSendInfo.isForward() ? "SmartForward" : "SmartReply"; in getCommand()90 cmd = mSmartSendInfo.generateSmartSendCmd(); in getCommand()95 cmd += "&SaveInSent=T"; in getCommand()97 return cmd; in getCommand()
201 final String cmd; in getCommand() local204 cmd = "ItemOperations"; in getCommand()214 cmd = "GetAttachment&AttachmentName=" + location; in getCommand()216 return cmd; in getCommand()
52 cmd = 'cp %s/%s WallpaperPicker/%s/' % (gallery_dir, file_path, dir) variable53 print cmd54 os.system(cmd)
56 cmd = 'cp %s %s/%s' % (file_path, framework_dir, dir) variable57 print cmd58 os.system(cmd)
325 private boolean isCmdInteractive(CatCmdMessage cmd) { in isCmdInteractive() argument326 switch (cmd.getCmdType()) { in isCmdInteractive()344 DelayedCmd cmd = mCmdsQ.poll(); in handleDelayedCmd() local345 switch (cmd.id) { in handleDelayedCmd()347 handleCmd(cmd.msg); in handleDelayedCmd()
370 DataManager manager, JobContext jc, int cmd, Path path) { in execute() argument372 Log.v(TAG, "Execute cmd: " + cmd + " for " + path); in execute()375 switch (cmd) { in execute()
599 byte[] doTransceive(int handle, byte[] cmd) { in doTransceive() argument602 return doTransceiveNoLock(handle, cmd); in doTransceive()608 byte[] doTransceiveNoLock(int handle, byte[] cmd) { in doTransceiveNoLock() argument609 return mSecureElement.doTransceive(handle, cmd); in doTransceiveNoLock()864 for (byte[] cmd : apdus) { in executeEeWipe()865 byte[] resp = doTransceiveNoLock(handle, cmd); in executeEeWipe()
151 String cmd = "GetAttachment&AttachmentName=" + location; in loadAttachment() local152 resp = mService.sendHttpClientPost(cmd, null, EasSyncService.COMMAND_TIMEOUT); in loadAttachment()
364 if (rec.cmd == HistoryItem.CMD_UPDATE) { in setStats()526 if (rec.cmd == BatteryStats.HistoryItem.CMD_UPDATE) { in onSizeChanged()633 } else if (rec.cmd != BatteryStats.HistoryItem.CMD_OVERFLOW) { in onSizeChanged()
240 Message cmd = mHandler.obtainMessage(MSG_REFRESH_UI); in handleMessage() local241 cmd.arg1 = update(mApplicationContext, mAm) ? 1 : 0; in handleMessage()242 mHandler.sendMessage(cmd); in handleMessage()
2395 String cmd = values.getAsString("cmd"); in handleEmmaRequest() local2396 if (cmd.equals("start")) { in handleEmmaRequest()2400 } else if (cmd.equals("stop")) { in handleEmmaRequest()
1dictionary=main:fr,locale=fr,description=Français,date=1381226409, ...