/packages/modules/Virtualization/tests/hostside/helper/java/android/virt/test/ |
D | CommandRunner.java | 49 public String run(String... cmd) throws DeviceNotAvailableException { in run() 57 public String tryRun(String... cmd) throws DeviceNotAvailableException { in tryRun() 67 public String runWithTimeout(long timeoutMillis, String... cmd) in runWithTimeout() 78 public CommandResult runForResultWithTimeout(long timeoutMillis, String... cmd) in runForResultWithTimeout() 84 public CommandResult runForResult(String... cmd) throws DeviceNotAvailableException { in runForResult() 88 public void assumeSuccess(String... cmd) throws DeviceNotAvailableException { in assumeSuccess()
|
D | VirtualizationTestCaseBase.java | 108 public static String runOnHost(String... cmd) { in runOnHost() 113 private static String tryRunOnHost(String... cmd) { in tryRunOnHost() 120 private static String runOnHostWithTimeout(long timeoutMillis, String... cmd) { in runOnHostWithTimeout() 128 public static String runOnMicrodroid(String... cmd) { in runOnMicrodroid() 137 private static String runOnMicrodroidRetryingOnFailure(String... cmd) { in runOnMicrodroidRetryingOnFailure() 150 public static String tryRunOnMicrodroid(String... cmd) { in tryRunOnMicrodroid() 160 public static CommandResult runOnMicrodroidForResult(String... cmd) { in runOnMicrodroidForResult() 184 public static void assertFailedOnMicrodroid(String... cmd) { in assertFailedOnMicrodroid()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/iso7816/ |
D | CommandApduTest.java | 43 CommandApdu cmd = new CommandApdu(0, 1, 2, 3, cdata, 255, false, exp); in testCommandApdu() local 69 CommandApdu cmd = new CommandApdu(0, 1, 2, 3, cdata, -1, false, exp); in testGetEncoded_standard() local 79 CommandApdu cmd = new CommandApdu(0, 1, 2, 3, cdata, -1, false, exp); in testGetEncoded_extended() local 129 CommandApdu cmd = CommandApdu.builder(0, 0, 0, 0).build(); in testDoNotSetExpected() local 138 CommandApdu cmd = in testSetEmptyExpected() local 158 CommandApdu cmd = in testUnknownExpected() local
|
/packages/modules/Bluetooth/service/java/com/android/server/bluetooth/ |
D | BluetoothShellCommand.java | 60 boolean isMatch(String cmd) { in isMatch() 67 abstract int exec(String cmd) throws RemoteException; in exec() 77 public int exec(String cmd) throws RemoteException { in exec() 93 public int exec(String cmd) throws RemoteException { in exec() 134 boolean isMatch(String cmd) { in isMatch() 138 public int exec(String cmd) throws RemoteException { in exec() 158 public int onCommand(String cmd) { in onCommand()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | NotificationPlayer.java | 75 public CreationAndCompletionThread(final Command cmd) { in CreationAndCompletionThread() 117 private void startSound(final Command cmd) { in startSound() 153 private void stopSound(final Command cmd) { in stopSound() 181 Command cmd = null; in run() local 279 final Command cmd = new Command(); in play() local 307 final Command cmd = new Command(); in stop() local 317 private void enqueueLocked(final Command cmd) { in enqueueLocked()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | OverviewCommandHelper.java | 110 CommandInfo cmd = mPendingCommands.get(0); in executeNext() local 117 private void addCommand(CommandInfo cmd) { in addCommand() 135 CommandInfo cmd = new CommandInfo(type); in addCommand() local 156 private boolean launchTask(RecentsView recents, @Nullable TaskView taskView, CommandInfo cmd) { in launchTask() 176 private <T extends StatefulActivity<?>> boolean executeCommand(CommandInfo cmd) { in executeCommand() 309 private void onTransitionComplete(CommandInfo cmd, AbsSwipeUpHandler handler) { in onTransitionComplete()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | PerfettoUtils.java | 280 String cmd = "perfetto --detach=" + PERFETTO_TAG in traceStart() local 309 String cmd = "perfetto --stop --attach=" + PERFETTO_TAG; in traceStop() local 349 String cmd = "perfetto --is_detached=" + PERFETTO_TAG; in isTracingOn() local 371 String cmd = "perfetto --query-raw"; in perfettoListCategories() local
|
D | AtraceUtils.java | 60 String cmd = "atrace --async_start -c -b " + bufferSizeKb + " " in traceStart() local 77 String cmd = "atrace --async_stop > /dev/null"; in traceStop() local 92 String cmd = "atrace --async_stop -z -c -o " + outFile; in traceDump() local
|
D | TraceUtils.java | 94 String cmd = "rm -f " + TRACE_DIRECTORY + "trace-*.*trace"; in clearSavedTraces() local 108 public static Process exec(String cmd) throws IOException { in exec() 112 public static Process exec(String cmd, String tmpdir) throws IOException { in exec() 116 public static Process exec(String cmd, String tmpdir, boolean logOutput) throws IOException { in exec() 133 public static Process execWithTimeout(String cmd, String tmpdir, long timeout) in execWithTimeout()
|
/packages/services/Car/tools/cpu_perf/ |
D | cpu_perf.py | 74 def run_adb_cmd(cmd): argument 78 def run_adb_shell_cmd(cmd): argument 81 def run_shell_cmd(cmd): argument
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | ShellCommandRule.java | 48 public ShellCommandRule(String cmd, @Nullable String revertCommand, boolean checkSuccess, in ShellCommandRule() 56 public ShellCommandRule(String cmd, @Nullable String revertCommand) { in ShellCommandRule()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pShellCommand.java | 59 private int handleCommand(String cmd, PrintWriter pw) throws Exception { in handleCommand() 390 public int onCommand(String cmd) { in onCommand() 409 private boolean commandDoesNotRequireP2pAlreadyInitialized(String cmd, PrintWriter pw) { in commandDoesNotRequireP2pAlreadyInitialized()
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_bld_ct.cc | 384 const tAVRC_GET_ITEMS_CMD* cmd) { in avrc_bld_get_folder_items_cmd() 416 const tAVRC_CHG_PATH_CMD* cmd) { in avrc_bld_change_folder_cmd() 434 BT_HDR* p_pkt, const tAVRC_GET_ATTRS_CMD* cmd) { in avrc_bld_get_item_attributes_cmd() 462 BT_HDR* p_pkt, const tAVRC_SET_BR_PLAYER_CMD* cmd) { in avrc_bld_set_browsed_player_cmd() 489 BT_HDR* p_pkt, const tAVRC_SET_ADDR_PLAYER_CMD* cmd) { in avrc_bld_set_addressed_player_cmd()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/ |
D | PickerResultTest.java | 208 final String cmd = String.format( in clearMediaOwner() local 211 runShellCommand(InstrumentationRegistry.getInstrumentation(), cmd); in clearMediaOwner() local 228 runShellCommand(InstrumentationRegistry.getInstrumentation(), cmd); in deleteFile() local
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_thread.cc | 236 sock_cmd_t cmd = {CMD_ADD_FD, fd, type, flags, user_id}; in btsock_thread_add_fd() local 254 sock_cmd_t cmd = {CMD_REMOVE_FD, fd, 0, 0, 0}; in btsock_thread_remove_fd_and_close() local 273 sock_cmd_t cmd = {CMD_USER_PRIVATE, 0, type, size, user_id}; in btsock_thread_post_cmd() local 303 sock_cmd_t cmd = {CMD_WAKEUP, 0, 0, 0, 0}; in btsock_thread_wakeup() local 319 sock_cmd_t cmd = {CMD_EXIT, 0, 0, 0, 0}; in btsock_thread_exit() local 405 sock_cmd_t cmd = {-1, 0, 0, 0, 0}; in process_cmd_sock() local
|
/packages/modules/Bluetooth/system/stack/smp/ |
D | smp_l2c.cc | 157 uint8_t cmd; in smp_data_received() local 299 uint8_t cmd; in smp_br_data_received() local
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | DialogUiTest.java | 347 public static String executeShellCommand(String cmd) { in executeShellCommand() 356 public static String runShellCommand(Instrumentation instrumentation, String cmd) in runShellCommand() 361 public static String runShellCommand(UiAutomation automation, String cmd) in runShellCommand()
|
/packages/services/Car/cpp/evs/apps/default/ |
D | EvsStateControl.cpp | 147 void EvsStateControl::postCommand(const Command& cmd, bool clear) { in postCommand() 173 const Command& cmd = mCommandQueue.front(); in updateLoop() local
|
D | EvsVehicleListener.h | 65 EvsStateControl::Command cmd = { in run() local
|
/packages/modules/adb/daemon/ |
D | services.cpp | 158 std::string cmd = "/system/bin/reboot "; in reboot_device() local 275 std::string cmd = "/system/bin/remount "; in daemon_service_to_fd() local 285 std::string cmd = "/system/bin/bu backup "; in daemon_service_to_fd() local
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | PreInstalledPackagesTest.java | 41 String cmd = "cmd user report-system-user-package-whitelist-problems --critical-only%s"; in assertNoCriticalErrors() local
|
/packages/modules/Virtualization/authfs/tests/java/src/com/android/fs/ |
D | AuthFsHostTest.java | 757 String cmd = "cat " + src + " > " + dest; in copyFileOnMicrodroid() local 799 String cmd = "dd if=" + filePath + " of=/dev/null bs=1 count=" + size; in checkReadAtFileOffsetOnMicrodroid() local 810 String cmd = "dd if=/dev/zero of=" + filePath + " bs=1 count=" + numberOfZeros in writeZerosAtFileOffsetOnMicrodroid() local 829 String cmd = AUTHFS_BIN + " " + MOUNT_DIR + " " + flags; in runAuthFsOnMicrodroid() local 862 String cmd = in runFdServerOnAndroid() local
|
/packages/services/Car/tests/android_car_api_test/src/com/android/internal/car/ |
D | CarServiceHelperServiceSystemTest.java | 108 StringBuilder cmd = new StringBuilder( in dumpCarServiceHelper() local
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkShellCommand.java | 76 String cmd = mArgs[0]; in run() local 119 private void showCommandHelp(String description, String cmd, String... args) { in showCommandHelp()
|
/packages/apps/Test/connectivity/sl4n/utils/ |
D | command_receiver.cpp | 49 std::string cmd; in Call() local
|