/packages/apps/SecureElement/src/com/android/se/ |
D | Channel.java | 115 public byte[] transmit(byte[] command) throws IOException { in transmit() argument 119 if (command == null) { in transmit() 130 CommandApduValidator.execute(command); in transmit() 132 if (((command[0] & (byte) 0x80) == 0) in transmit() 133 && ((command[0] & (byte) 0x60) != (byte) 0x20)) { in transmit() 135 if (command[1] == (byte) 0x70) { in transmit() 138 if ((command[1] == (byte) 0xA4) && (command[2] == (byte) 0x04)) { in transmit() 147 checkCommand(command); in transmit() 150 command[0] = setChannelToClassByte(command[0], mChannelNumber); in transmit() 151 return mTerminal.transmit(command); in transmit() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ProviderExecutor.java | 86 public void execute(Runnable command) { 87 assert(command != null); 88 mQueue.add(command); 93 public void execute(Runnable command) { in execute() argument 95 assert(command != null); in execute() 96 mQueue.add(command); in execute() 103 final Runnable command = mQueue.take(); in run() local 104 command.run(); in run()
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
D | Obd2LiveFrameGenerator.java | 80 for (LiveFrameCommand<Integer> command : mIntegerCommands) { in generate() 82 Optional<Integer> result = command.run(mConnection); in generate() 85 jsonWriter.name("id").value(command.getPid()); in generate() 94 command.getPid(), e)); in generate() 101 for (LiveFrameCommand<Float> command : mFloatCommands) { in generate() 103 Optional<Float> result = command.run(mConnection); in generate() 106 jsonWriter.name("id").value(command.getPid()); in generate() 115 command.getPid(), e)); in generate()
|
D | Obd2Connection.java | 119 private String runImpl(String command) throws IOException, InterruptedException { in runImpl() argument 124 Log.i(TAG, "runImpl(" + command + ")"); in runImpl() 127 out.write((command + "\r").getBytes()); in runImpl() 169 public int[] run(String command) throws IOException, InterruptedException { in run() argument 170 String responseValue = runImpl(command); in run() 172 String unspacedCommand = command.replaceAll(" ", ""); in run() 205 command, originalResponseValue, responseValue)); in run() 280 int command = basePid + 8 * byteIndex + 7 - bitIndex; in getSupportedPIDs() local 282 Log.i(TAG, "command " + command + " found supported"); in getSupportedPIDs() 284 result.add(command); in getSupportedPIDs()
|
D | Obd2FreezeFrameGenerator.java | 131 FreezeFrameCommand<Integer> command = in generate() local 134 Optional<Integer> result = command.run(mConnection); in generate() 137 jsonWriter.name("id").value(command.getPid()); in generate() 146 command.getPid(), e)); in generate() 153 FreezeFrameCommand<Float> command = in generate() local 156 Optional<Float> result = command.run(mConnection); in generate() 159 jsonWriter.name("id").value(command.getPid()); in generate() 168 command.getPid(), e)); in generate()
|
D | Obd2Command.java | 159 String command = String.format("%02X%02X", mMode, mSemanticHandler.getPid()); in run() local 160 int[] data = connection.run(command); in run() 186 String command = in run() local 188 int[] data = connection.run(command); in run()
|
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/ |
D | ContactsExecutors.java | 111 public ScheduledFuture<?> schedule(final Runnable command, long delay, TimeUnit unit) { in schedule() argument 113 .fromRunnable(mHandler, delay, unit, command); in schedule() 128 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, in scheduleAtFixedRate() argument 135 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, in scheduleWithFixedDelay() argument 165 public void execute(Runnable command) { in execute() argument 166 mHandler.post(command); in execute() 232 final Runnable command) { in fromRunnable() argument 236 command.run(); in fromRunnable()
|
/packages/apps/Dialer/java/com/android/dialer/commandline/ |
D | CommandLineReceiver.java | 52 Command command = in onReceive() local 58 if (command == null) { in onReceive() 66 LogUtil.i(outputTag, "usage:\n" + command.getUsage()); in onReceive() 70 command.run(args), in onReceive() 84 LogUtil.e(outputTag, throwable.getMessage() + "\n\nusage:\n" + command.getUsage()); in onReceive() 91 LogUtil.e(outputTag, e.getMessage() + "\n\nusage:\n" + command.getUsage()); in onReceive()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | UserEventDispatcher.java | 195 public void logActionCommand(int command, Target srcTarget) { in logActionCommand() argument 196 logActionCommand(command, srcTarget, null); in logActionCommand() 199 public void logActionCommand(int command, int srcContainerType, int dstContainerType) { in logActionCommand() argument 200 logActionCommand(command, newContainerTarget(srcContainerType), in logActionCommand() 204 public void logActionCommand(int command, int srcContainerType, int dstContainerType, in logActionCommand() argument 208 logActionCommand(command, srcTarget, in logActionCommand() 212 public void logActionCommand(int command, Target srcTarget, Target dstTarget) { in logActionCommand() argument 213 LauncherEvent event = newLauncherEvent(newCommandAction(command), srcTarget); in logActionCommand() 214 if (command == Action.Command.STOP) { in logActionCommand() 232 public void logActionCommand(int command, View itemView, int srcContainerType) { in logActionCommand() argument [all …]
|
D | LoggerUtils.java | 82 str += getFieldName(action.command, Action.Command.class); in getActionStr() 87 (action.command == Action.Command.BACK && action.dir != Action.Direction.NONE)) { in getActionStr() 238 public static Action newCommandAction(int command) { in newCommandAction() argument 240 a.command = command; in newCommandAction()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Dicttool.java | 108 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/Dialer/java/com/android/voicemail/impl/protocol/ |
D | CvvmProtocol.java | 47 public String getCommand(String command) { in getCommand() argument 48 if (command == OmtpConstants.IMAP_CHANGE_TUI_PWD_FORMAT) { in getCommand() 51 if (command == OmtpConstants.IMAP_CLOSE_NUT) { in getCommand() 54 if (command == OmtpConstants.IMAP_CHANGE_VM_LANG_FORMAT) { in getCommand() 57 return super.getCommand(command); in getCommand()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestScheduledExecutorService.java | 115 public void execute(Runnable command) { in execute() argument 116 schedule(command, 0, TimeUnit.MILLISECONDS); in execute() 120 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument 121 TestFuture future = new TestFuture(command, delay, unit); in schedule() 132 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, in scheduleAtFixedRate() argument 138 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, in scheduleWithFixedDelay() argument
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | RequestPinItemTest.java | 90 Intent command = RequestPinItemActivity.getCommandIntent( in testPinWidgetNoConfig_customPreview() local 97 .equals(AppWidgetNoConfig.class.getName()), command); in testPinWidgetNoConfig_customPreview() 112 Intent command = RequestPinItemActivity.getCommandIntent( in testPinShortcut() local 123 }, command); in testPinShortcut() 151 for (Intent command : commandIntents) { in runTest() 152 mTargetContext.sendBroadcast(command); in runTest()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapConnection.java | 331 public List<ImapResponse> executeSimpleCommand(String command) in executeSimpleCommand() argument 333 return executeSimpleCommand(command, false); in executeSimpleCommand() 347 public List<ImapResponse> executeSimpleCommand(String command, boolean sensitive) in executeSimpleCommand() argument 351 sendCommand(command, sensitive); in executeSimpleCommand() 355 public String sendCommand(String command, boolean sensitive) in sendCommand() argument 363 String commandToSend = tag + " " + command; in sendCommand() 364 transport.writeLine(commandToSend, (sensitive ? IMAP_REDACTED_LOG : command)); in sendCommand()
|
/packages/modules/NetworkStack/tests/hostdriven/host/src/com/android/networkstack/hosttests/ |
D | NetworkStackHostTests.kt | 143 private fun assertCommandSucceeds(command: String): CommandResult { in assertCommandSucceeds() 144 return mDevice.executeShellV2Command(command).also { in assertCommandSucceeds() 145 assertEquals(CommandStatus.SUCCESS, it.getStatus(), makeErrorMessage(command, it)) in assertCommandSucceeds() 171 private fun makeErrorMessage(command: String, result: CommandResult): String { in makeErrorMessage() 172 return "$command failed; stderr: ${result.getStderr()}; stdout: ${result.stdout}; " + in makeErrorMessage()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/ |
D | CameraCommandExecutor.java | 44 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()
|
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/ |
D | BlockingCommand.java | 70 String command = args.getPositionals().get(0); in run() local 72 if ("block".equals(command)) { in run() 80 if ("unblock".equals(command)) { in run() 88 if ("isblocked".equals(command)) { in run()
|
D | ActiveCallsCommand.java | 57 String command = args.getPositionals().get(0); in run() local 59 switch (command) { in run() 64 throw new IllegalCommandLineArgumentException("unknown command " + command); in run()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | TestCommandReceiver.java | 115 public static Bundle callCommand(String command) { in callCommand() argument 116 return callCommand(command, null); in callCommand() 119 public static Bundle callCommand(String command, String arg) { in callCommand() argument 122 return inst.getTargetContext().getContentResolver().call(uri, command, arg, null); in callCommand()
|
/packages/apps/Car/libs/car-ui-lib/ |
D | gradlew.bat | 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 49 @rem Get command-line arguments, handling Windows variants 54 @rem Slurp the command line arguments. 64 @rem Setup the command line
|
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/ |
D | gradlew.bat | 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 49 @rem Get command-line arguments, handling Windows variants 54 @rem Slurp the command line arguments. 64 @rem Setup the command line
|
/packages/inputmethods/LatinIME/ |
D | gradlew.bat | 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 49 @rem Get command-line arguments, handling Windowz variants 55 @rem Slurp the command line arguments. 70 @rem Setup the command line
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneState.java | 87 mSubscriptionManager.addOnSubscriptionsChangedListener(command -> mHandler.post(command), in HeadsetPhoneState() 158 mPhoneStateListener = new HeadsetPhoneStateListener(command -> mHandler.post(command)); in startListenForPhoneState()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/concurrent/ |
D | Executors.java | 40 public void execute(@NonNull Runnable command) { 42 mHandler.post(command); 44 command.run();
|