/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxShellCommandUnitTest.java | 137 final SdkSandboxShellCommand cmd = in testCommandFailsIfCallerNotShellOrRoot() local 146 final SdkSandboxShellCommand cmd = in testStartFailsForInvalidPackage() local 163 final SdkSandboxShellCommand cmd = in testStartFailsWhenSdkSandboxDisabled() local 181 final SdkSandboxShellCommand cmd = in testStartFailsForNonDebuggablePackage() local 210 final SdkSandboxShellCommand cmd = in testStartFailsWhenSandboxAlreadyRunning() local 235 final SdkSandboxShellCommand cmd = in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning() local 262 final SdkSandboxShellCommand cmd = in testStartFailsWhenBindingSandboxFails() local 284 final SdkSandboxShellCommand cmd = in testStopFailsForInvalidPackage() local 302 final SdkSandboxShellCommand cmd = in testStopFailsForNonDebuggablePackage() local 329 final SdkSandboxShellCommand cmd = in testStopFailsWhenSandboxIsNotRunning() local [all …]
|
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/ |
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()
|
/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/src/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 | 109 CommandInfo cmd = mPendingCommands.get(0); in executeNext() local 116 private void addCommand(CommandInfo cmd) { in addCommand() 134 CommandInfo cmd = new CommandInfo(type); in addCommand() local 160 private boolean launchTask(RecentsView recents, @Nullable TaskView taskView, CommandInfo cmd) { in launchTask() 180 private <T extends StatefulActivity<?>> boolean executeCommand(CommandInfo cmd) { in executeCommand() 309 private void onTransitionComplete(CommandInfo cmd, AbsSwipeUpHandler handler) { in onTransitionComplete()
|
/packages/modules/DeviceLock/tests/cts/src/com/android/cts/devicelock/ |
D | DeviceLockManagerTest.java | 67 final String cmd = in addFinancedDeviceKioskRole() local 76 final String cmd = in removeFinancedDeviceKioskRole() local
|
/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/modules/StatsD/tests/src/android/cts/statsd/subscriber/ |
D | ShellSubscriberTest.java | 49 String cmd; field in ShellSubscriberTest.ShellSubscriptionThread 53 String cmd, in ShellSubscriptionThread() 125 String cmd = "cat " + remotePath + " | cmd stats data-subscribe " + timeout; in testShellMaxSubscriptions() local 260 String cmd = "cat " + remotePath + " | cmd stats data-subscribe " + timeout; in startSubscription() local
|
/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 | 60 private int handleCommand(String cmd, PrintWriter pw) throws Exception { in handleCommand() 410 public int onCommand(String cmd) { in onCommand() 429 private boolean commandDoesNotRequireP2pAlreadyInitialized(String cmd, PrintWriter pw) { in commandDoesNotRequireP2pAlreadyInitialized()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | TraceUtils.java | 105 String cmd = "rm -f " + TRACE_DIRECTORY + "trace-*.*trace " + in clearSavedTraces() local 121 public static Process exec(String cmd) throws IOException { in exec() 125 public static Process exec(String cmd, String tmpdir) throws IOException { in exec() 129 public static Process exec(String cmd, String tmpdir, boolean logOutput) throws IOException { in exec() 146 public static Process execWithTimeout(String cmd, String tmpdir, long timeout) in execWithTimeout()
|
D | PerfettoUtils.java | 147 String cmd = "perfetto --stop --attach=" + PERFETTO_TAG; in traceStop() local 187 String cmd = "perfetto --is_detached=" + PERFETTO_TAG; in isTracingOn() local 209 String cmd = "perfetto --query-raw"; in perfettoListCategories() local 263 String cmd = "perfetto --detach=" + PERFETTO_TAG in startPerfettoWithConfig() local
|
/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 | 207 final String cmd = String.format( in clearMediaOwner() local 210 runShellCommand(InstrumentationRegistry.getInstrumentation(), cmd); in clearMediaOwner() local 227 runShellCommand(InstrumentationRegistry.getInstrumentation(), cmd); in deleteFile() local
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterShellCommandHandler.java | 70 public int onCommand(@Nullable String cmd) { in onCommand() 189 private void printCmd(String cmd, String... description) { in printCmd()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_thread.cc | 237 sock_cmd_t cmd = {CMD_ADD_FD, fd, type, flags, user_id}; in btsock_thread_add_fd() local 255 sock_cmd_t cmd = {CMD_REMOVE_FD, fd, 0, 0, 0}; in btsock_thread_remove_fd_and_close() local 274 sock_cmd_t cmd = {CMD_USER_PRIVATE, 0, type, size, user_id}; in btsock_thread_post_cmd() local 304 sock_cmd_t cmd = {CMD_WAKEUP, 0, 0, 0, 0}; in btsock_thread_wakeup() local 320 sock_cmd_t cmd = {CMD_EXIT, 0, 0, 0, 0}; in btsock_thread_exit() local 406 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 302 uint8_t cmd; in smp_br_data_received() local
|
/packages/modules/Virtualization/authfs/tests/benchmarks/src/java/com/android/fs/benchmarks/ |
D | AuthFsBenchmarks.java | 128 String cmd = MEASURE_IO_BIN_PATH + " " + filePath + " " + fileSizeMb + " " + mode + " r"; in readRemoteFile() local 145 String cmd = MEASURE_IO_BIN_PATH + " " + filePath + " " + fileSizeMb + " " + mode + " w"; in writeRemoteFile() 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/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | AdServicesJUnit4DeviceTest.java | 57 String cmd = "service check adservices_manager"; in testBinderServiceIsPublished() local
|
/packages/modules/Virtualization/libs/vbmeta/src/ |
D | lib.rs | 208 let mut cmd = Command::new("./avbtool"); in unsigned_image_does_not_have_public_key() localVariable 226 let mut cmd = Command::new("./avbtool"); in signed_image_has_valid_vbmeta() localVariable 243 let mut cmd = Command::new("./avbtool"); in signed_image_has_valid_vbmeta() localVariable
|
/packages/services/Car/cpp/evs/apps/default/src/ |
D | EvsStateControl.cpp | 153 void EvsStateControl::postCommand(const Command& cmd, bool clear) { in postCommand() 178 const Command& cmd = mCommandQueue.front(); in updateLoop() local
|
/packages/modules/adb/daemon/ |
D | services.cpp | 160 std::string cmd = "/system/bin/reboot "; in reboot_device() local 287 std::string cmd = "/system/bin/remount "; in daemon_service_to_fd() local 297 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 | 53 String cmd = "cmd user report-system-user-package-whitelist-problems --critical-only%s"; in assertNoCriticalErrors() local
|