/packages/apps/Messaging/src/com/android/messaging/util/ |
D | NotificationPlayer.java | 75 public CreationAndCompletionThread(final Command cmd) { in CreationAndCompletionThread() argument 77 mCmd = cmd; in CreationAndCompletionThread() 117 private void startSound(final Command cmd) { in startSound() argument 136 mCompletionThread = new CreationAndCompletionThread(cmd); in startSound() 144 final long delay = SystemClock.elapsedRealtime() - cmd.requestTime; in startSound() 149 LogUtil.w(mTag, "error loading sound for " + cmd.uri, e); in startSound() 153 private void stopSound(final Command cmd) { in stopSound() argument 157 final long delay = SystemClock.elapsedRealtime() - cmd.requestTime; in stopSound() 164 if (cmd.releaseFocus && mAudioManager != null) { in stopSound() 181 Command cmd = null; in run() local [all …]
|
/packages/services/Car/tools/emulator/ |
D | vhal_emulator.py | 111 def _txCmd(self, cmd): argument 116 msgStr = cmd.SerializeToString() 174 cmd = VehicleHalProto_pb2.EmulatorMessage() 175 cmd.msg_type = VehicleHalProto_pb2.GET_CONFIG_CMD 176 propGet = cmd.prop.add() 178 self._txCmd(cmd) 184 cmd = VehicleHalProto_pb2.EmulatorMessage() 185 cmd.msg_type = VehicleHalProto_pb2.GET_CONFIG_ALL_CMD 186 self._txCmd(cmd) 192 cmd = VehicleHalProto_pb2.EmulatorMessage() [all …]
|
/packages/apps/Traceur/src/com/google/android/traceur/ |
D | AtraceUtils.java | 63 String cmd = "atrace --async_start -c -b " + bufferSizeKb + " " in traceStart() local 66 Log.v(TAG, "Starting async atrace: " + cmd); in traceStart() 68 Process atrace = TraceUtils.exec(cmd); in traceStart() 80 String cmd = "atrace --async_stop > /dev/null"; in traceStop() local 82 Log.v(TAG, "Stopping async atrace: " + cmd); in traceStop() 84 Process atrace = TraceUtils.exec(cmd); in traceStop() 95 String cmd = "atrace --async_stop -z -c -o " + outFile; in traceDump() local 97 Log.v(TAG, "Dumping async atrace: " + cmd); in traceDump() 99 Process atrace = TraceUtils.exec(cmd); in traceDump() 157 String cmd = "atrace --list_categories"; in atraceListCategories() local [all …]
|
D | TraceUtils.java | 87 String cmd = "rm -f " + TRACE_DIRECTORY + "trace-*.*trace"; in clearSavedTraces() local 89 Log.v(TAG, "Clearing trace directory: " + cmd); in clearSavedTraces() 91 Process rm = exec(cmd); in clearSavedTraces() 101 public static Process exec(String cmd) throws IOException { in exec() argument 102 return exec(cmd, null); in exec() 105 public static Process exec(String cmd, String tmpdir) throws IOException { in exec() argument 106 String[] cmdarray = {"sh", "-c", cmd}; in exec()
|
D | PerfettoUtils.java | 201 String cmd = "perfetto --detach=" + PERFETTO_TAG in traceStart() local 208 Process process = TraceUtils.exec(cmd, TEMP_DIR); in traceStart() 238 String cmd = "perfetto --stop --attach=" + PERFETTO_TAG; in traceStop() local 240 Process process = TraceUtils.exec(cmd); in traceStop() 280 String cmd = "perfetto --is_detached=" + PERFETTO_TAG; in isTracingOn() local 283 Process process = TraceUtils.exec(cmd); in isTracingOn()
|
/packages/apps/SecureElement/src/com/android/se/security/arf/PKCS15/ |
D | EF.java | 177 byte[] cmd = new byte[]{0x00, (byte) 0xA4, 0x00, 0x04, 0x02, 0x00, 0x00}; in selectFile() 188 cmd[5] = (byte) (mFileID >> 8); in selectFile() 189 cmd[6] = (byte) mFileID; in selectFile() 191 data = mSEHandle.exchangeAPDU(this, cmd); in selectFile() 224 byte[] cmd = {0x00, (byte) 0xB0, 0x00, 0x00, 0x00}; in readBinary() 233 cmd[2] = (byte) (offset >> 8); in readBinary() 234 cmd[3] = (byte) offset; in readBinary() 235 cmd[4] = (byte) length; in readBinary() 236 System.arraycopy(mSEHandle.exchangeAPDU(this, cmd), 0, result, pos, length); in readBinary() 263 byte[] cmd = {0x00, (byte) 0xB2, (byte) record, 0x04, (byte) mFileRecordSize}; in readRecord() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachine.java | 385 private synchronized void passThru(int cmd) { in passThru() argument 386 logD("msgPassThru " + cmd); in passThru() 393 if (mCurrentlyHeldKey == cmd) { in passThru() 406 mService.sendPassThroughCommandNative(mDeviceAddress, cmd, in passThru() 409 if (isHoldableKey(cmd)) { in passThru() 411 mCurrentlyHeldKey = cmd; in passThru() 414 cmd, AvrcpControllerService.KEY_STATE_RELEASED); in passThru() 418 private boolean isHoldableKey(int cmd) { in isHoldableKey() argument 419 return (cmd == AvrcpControllerService.PASS_THRU_CMD_ID_REWIND) in isHoldableKey() 420 || (cmd == AvrcpControllerService.PASS_THRU_CMD_ID_FF); in isHoldableKey()
|
/packages/apps/SecureElement/src/com/android/se/ |
D | Terminal.java | 569 public byte[] transmit(byte[] cmd) throws IOException { in transmit() argument 575 byte[] rsp = transmitInternal(cmd); in transmit() 580 cmd[cmd.length - 1] = rsp[rsp.length - 1]; in transmit() 581 rsp = transmitInternal(cmd); in transmit() 585 cmd[0], (byte) 0xC0, 0x00, 0x00, (byte) sw2 in transmit() 599 private byte[] transmitInternal(byte[] cmd) throws IOException { in transmitInternal() argument 602 response = mSEHal.transmit(byteArrayToArrayList(cmd)); in transmitInternal() 611 Log.i(mTag, "Sent : " + ByteArrayConverter.byteArrayToHexString(cmd)); in transmitInternal()
|
/packages/apps/Test/connectivity/sl4n/utils/ |
D | command_receiver.cpp | 49 std::string cmd; in Call() local 51 cmd = doc[sl4n::kCmdStr].GetString(); in Call() 53 cmd = doc[sl4n::kMethodStr].GetString(); in Call() 56 function_map::const_iterator iter = _funcMap->find(cmd); in Call()
|
/packages/apps/TV/jni/ |
D | DvbManager.cpp | 130 { .cmd = DTV_DELIVERY_SYSTEM } in tune() 147 .cmd = DTV_DELIVERY_SYSTEM in tune() 151 .cmd = DTV_FREQUENCY in tune() 154 struct dtv_property modulationProperty = { .cmd = DTV_MODULATION }; in tune() 163 struct dtv_property tuneProperty = { .cmd = DTV_TUNE }; in tune() 475 { .cmd = DTV_DELIVERY_SYSTEM } in getDeliverySystemType()
|
/packages/services/Car/tests/BugReportApp/utils/ |
D | bugreport_app_tester.py | 148 def adb(self, cmd): argument 161 full_cmd = ['adb', '-s', self._serialno] + cmd 163 full_cmd = ['adb'] + cmd 169 def adbx(self, cmd): argument 178 exit_code, stdout_lines = self.adb(cmd) 180 _fail_program('Failed to run command %s, exit_code=%s' % (cmd, exit_code))
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | HostNfcFEmulationManager.java | 349 private String getByteDump(final byte[] cmd) { in getByteDump() argument 354 if (cmd == null) { in getByteDump() 359 for (; i < cmd.length; i++) { in getByteDump() 360 str.append(String.format(" %02X", cmd[i])); in getByteDump() 361 if ((i % letters == letters - 1) || (i + 1 == cmd.length)) { in getByteDump()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryInfo.java | 325 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in parse() 326 || rec.cmd == HistoryItem.CMD_RESET) { in parse() 375 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in parse() 376 || rec.cmd == HistoryItem.CMD_RESET) { in parse() 385 if (rec.cmd != HistoryItem.CMD_OVERFLOW in parse() 386 && (rec.cmd != HistoryItem.CMD_CURRENT_TIME in parse()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryInfo.java | 328 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in parse() 329 || rec.cmd == HistoryItem.CMD_RESET) { in parse() 378 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in parse() 379 || rec.cmd == HistoryItem.CMD_RESET) { in parse() 388 if (rec.cmd != HistoryItem.CMD_OVERFLOW in parse() 389 && (rec.cmd != HistoryItem.CMD_CURRENT_TIME in parse()
|
/packages/services/Car/evs/app/ |
D | EvsStateControl.cpp | 134 void EvsStateControl::postCommand(const Command& cmd) { in postCommand() argument 137 mCommandQueue.push(cmd); in postCommand() 154 const Command& cmd = mCommandQueue.front(); in updateLoop() local 155 switch (cmd.operation) { in updateLoop()
|
D | EvsVehicleListener.h | 66 EvsStateControl::Command cmd = { in run() local 71 pStateController->postCommand(cmd); in run()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | BaseTestingActivity.java | 101 private void handleCommand(Intent cmd) { in handleCommand() argument 102 String methodName = cmd.getStringExtra(EXTRA_METHOD); in handleCommand() 114 Bundle extras = cmd.getExtras(); in handleCommand()
|
/packages/services/Telephony/src/com/android/phone/ |
D | TelephonyShellCommand.java | 72 public int onCommand(String cmd) { in onCommand() argument 73 if (cmd == null) { in onCommand() 77 switch (cmd) { in onCommand() 89 return handleDefaultCommands(cmd); in onCommand()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | ShellCommandRule.java | 41 public ShellCommandRule(String cmd, @Nullable String revertCommand) { in ShellCommandRule() argument 42 mCmd = cmd; in ShellCommandRule()
|
/packages/apps/SecureElement/src/com/android/se/security/arf/ |
D | SecureElement.java | 85 public byte[] exchangeAPDU(EF ef, byte[] cmd) throws IOException, SecureElementException { in exchangeAPDU() argument 87 return mArfChannel.transmit(cmd); in exchangeAPDU()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/print/ |
D | PrintJobSettingsActivityTest.java | 68 public static void runShellCommand(@NonNull String cmd) throws IOException { in runShellCommand() argument 71 cmd); in runShellCommand()
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
D | phNxpExtns_MifareStd.cpp | 1584 if ((pTransceiveInfo->cmd.MfCmd == phNfc_eMifareAuthentA || in phLibNfc_ChkAuthCmdMFC() 1585 pTransceiveInfo->cmd.MfCmd == phNfc_eMifareAuthentB)) { in phLibNfc_ChkAuthCmdMFC() 1615 switch (pTransceiveInfo->cmd.MfCmd) { in phLibNfc_MifareMap() 1657 pTransceiveInfo->cmd.MfCmd; in phLibNfc_MifareMap() 1875 pTransceiveInfo->cmd = Cmd; in phFriNfc_ExtnsTransceive() 1887 pTransceiveInfo->cmd.MfCmd = Cmd.MfCmd; in phFriNfc_ExtnsTransceive() 1930 pTransceiveInfo->cmd.MfCmd = (phNfc_eMifareCmdList_t)phNciNfc_eT2TRaw; in phFriNfc_ExtnsTransceive()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | MenuExecutor.java | 370 DataManager manager, JobContext jc, int cmd, Path path) { in execute() argument 372 Log.v(TAG, "Execute cmd: " + cmd + " for " + path); in execute() 375 switch (cmd) { in execute()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkAppService.java | 873 private boolean isCmdInteractive(CatCmdMessage cmd) { in isCmdInteractive() argument 874 switch (cmd.getCmdType()) { in isCmdInteractive() 896 DelayedCmd cmd = mStkContext[slotId].mCmdsQ.poll(); in handleDelayedCmd() local 897 if (cmd != null) { in handleDelayedCmd() 900 " id: " + cmd.id + "sim id: " + cmd.slotId); in handleDelayedCmd() 901 switch (cmd.id) { in handleDelayedCmd() 903 handleCmd(cmd.msg, cmd.slotId); in handleDelayedCmd() 906 handleSessionEnd(cmd.slotId); in handleDelayedCmd()
|
/packages/services/Car/car-lib/ |
D | Android.bp | 104 …cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-api.txt", 115 …cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-system-a…
|