/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxShellCommandUnitTest.java | 143 final SdkSandboxShellCommand cmd = in testCommandFailsIfCallerNotShellOrRoot() local 152 final SdkSandboxShellCommand cmd = in testStartFailsForInvalidPackage() local 169 final SdkSandboxShellCommand cmd = in testStartFailsWhenSdkSandboxDisabled() local 186 final SdkSandboxShellCommand cmd = in testStartFailsForNonDebuggablePackage() local 216 final SdkSandboxShellCommand cmd = in testStartFailsWhenSandboxAlreadyRunning() local 242 final SdkSandboxShellCommand cmd = in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning() local 270 final SdkSandboxShellCommand cmd = in testStartFailsWhenBindingSandboxFails() local 293 final SdkSandboxShellCommand cmd = in testStopFailsForInvalidPackage() local 311 final SdkSandboxShellCommand cmd = in testStopFailsForNonDebuggablePackage() local 338 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() 76 public CommandResult runForResultWithTimeout(long timeoutMillis, String... cmd) in runForResultWithTimeout() 82 public CommandResult runForResult(String... cmd) throws DeviceNotAvailableException { in runForResult() 86 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 | 56 boolean isMatch(String cmd) { in isMatch() 64 abstract int exec(String cmd) throws RemoteException; in exec() 76 public int exec(String cmd) throws RemoteException { in exec() 100 public int exec(String cmd) throws RemoteException { in exec() 124 public int exec(String cmd) throws RemoteException { in exec() 144 public int exec(String cmd) throws RemoteException { in exec() 192 boolean isMatch(String cmd) { in isMatch() 197 public int exec(String cmd) throws RemoteException { in exec() 218 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 | 137 CommandInfo cmd = mPendingCommands.get(0); in executeNext() local 147 private void addCommand(CommandInfo cmd) { in addCommand() 168 CommandInfo cmd = new CommandInfo(type); in addCommand() local 195 private boolean launchTask(RecentsView recents, @Nullable TaskView taskView, CommandInfo cmd) { in launchTask() 223 CommandInfo cmd) { in executeCommand() 404 private void onTransitionComplete(CommandInfo cmd, AbsSwipeUpHandler handler) { in onTransitionComplete() 412 private void updateRecentsViewFocus(CommandInfo cmd) { in updateRecentsViewFocus() 439 private void onRecentsViewFocusUpdated(CommandInfo cmd) { in onRecentsViewFocusUpdated()
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | AdServicesShellCommandTest.java | 194 String cmd = "D'OH!"; in testExec_invalidCommand() local 207 expectHelpOutputHasMessages(getErr(), cmd, helpMsg); in testExec_invalidCommand() local 212 String cmd = "echo"; in testExec_adServicesCommand_throwsRemoteException() local 225 String cmd = "xxx"; in testExec_adServicesCommand_timeoutHappens() local 348 String cmd = "CMD_XYZ"; in testExec_validAdServicesShellCommand_noArgs() local 363 String cmd = "CMD_XYZ"; in testExec_validAdServicesShellCommand_withArgs() local 380 String cmd = "CMD_XYZ"; in testExec_validAdServicesShellCommandWithTimeout() local 397 String cmd = "CMD_XYZ"; in testExec_validAdServicesShellCommandWithTimeoutInAnyOrder() local 434 String cmd = "CMD_XYZ"; in testExec_validAdServicesShellCommand_secondaryUser_noArgs() local
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/ |
D | AdServicesShellCommandHelper.java | 46 protected String runShellCommand(String cmd) { in runShellCommand() 51 protected CommandResult runShellCommandRwe(String cmd) { in runShellCommandRwe() 87 private static ParcelFileDescriptor[] executeShellCommandRwe(String cmd) { in executeShellCommandRwe()
|
/packages/modules/AdServices/adservices/tests/test-util/host-side/com/android/adservices/common/ |
D | HostSideAdServicesShellCommandHelper.java | 30 protected String runShellCommand(String cmd) { in runShellCommand() 35 protected CommandResult runShellCommandRwe(String cmd) { in runShellCommandRwe()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/common/ |
D | IsAllowedCustomAudiencesAccessCommandTest.java | 38 IsAllowedCustomAudiencesAccessCommand cmd = new IsAllowedCustomAudiencesAccessCommand(); in testRun_invalid() local 57 IsAllowedCustomAudiencesAccessCommand cmd = new IsAllowedCustomAudiencesAccessCommand(); in testRun_valid() local
|
D | IsAllowedAdSelectionAccessCommandTest.java | 38 IsAllowedAdSelectionAccessCommand cmd = new IsAllowedAdSelectionAccessCommand(); in testRun_invalid() local 57 IsAllowedAdSelectionAccessCommand cmd = new IsAllowedAdSelectionAccessCommand(); in testRun_valid() local
|
D | IsAllowedAttributionAccessCommandTest.java | 38 IsAllowedAttributionAccessCommand cmd = new IsAllowedAttributionAccessCommand(); in testRun_invalid() local 57 IsAllowedAttributionAccessCommand cmd = new IsAllowedAttributionAccessCommand(); in testRun_valid() local
|
D | IsAllowedProtectedSignalsAccessCommandTest.java | 38 IsAllowedProtectedSignalsAccessCommand cmd = new IsAllowedProtectedSignalsAccessCommand(); in testRun_invalid() local 57 IsAllowedProtectedSignalsAccessCommand cmd = new IsAllowedProtectedSignalsAccessCommand(); in testRun_valid() local
|
D | IsAllowedTopicsAccessCommandTest.java | 39 IsAllowedTopicsAccessCommand cmd = new IsAllowedTopicsAccessCommand(); in testRun_invalid() local 77 IsAllowedTopicsAccessCommand cmd = new IsAllowedTopicsAccessCommand(); in testRun_valid() local
|
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/ |
D | AbstractAdServicesShellCommandHelper.java | 88 String cmd = in runCommand() local 127 String cmd = in runCommandRwe() local 144 protected abstract String runShellCommand(String cmd); in runShellCommand() 150 protected abstract CommandResult runShellCommandRwe(String cmd); in runShellCommandRwe() 157 private CommandResult runShellCommandRS(String cmd) { in runShellCommandRS()
|
/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/modules/StatsD/lib/libstatssocket/ |
D | stats_buffer_writer_queue.cpp | 42 Cmd cmd = createWriteBufferCmd(buffer, size, atomId); in write() local 54 bool BufferWriterQueue::pushToQueue(const Cmd& cmd) { in pushToQueue() 102 Cmd cmd; in processCommands() 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 | 51 String cmd; field in ShellSubscriberTest.ShellSubscriptionThread 56 String cmd, in ShellSubscriptionThread() 129 String cmd = "cat " + remotePath + " | cmd stats data-subscribe " + timeout; in testShellMaxSubscriptions() local 266 String cmd = "cat " + remotePath + " | cmd stats data-subscribe " + timeout; in startSubscription() local
|
/packages/apps/Traceur/src_common/com/android/traceur/ |
D | TraceUtils.java | 175 String cmd = "rm -f " + TRACE_DIRECTORY + "trace-*.*trace " + in clearSavedTraces() local 192 public static Process exec(String cmd) throws IOException { in exec() 196 public static Process exec(String cmd, String tmpdir) throws IOException { in exec() 200 public static Process exec(String cmd, String tmpdir, boolean logOutput) throws IOException { in exec() 216 public static Process execWithTimeout(String cmd, String tmpdir, long timeout) in execWithTimeout() 222 public static Process execWithTimeout(String cmd, String tmpdir, long timeout, byte[] input) in execWithTimeout()
|
D | PerfettoUtils.java | 199 String cmd = "perfetto --stop --attach=" + PERFETTO_TAG; in traceStop() local 239 String cmd = "perfetto --is_detached=" + PERFETTO_TAG; in isTracingOn() local 261 String cmd = "perfetto --query-raw"; in perfettoListCategories() local 315 String cmd = "perfetto --detach=" + PERFETTO_TAG in startPerfettoWithTextConfig() local 339 String cmd = "perfetto --detach=" + PERFETTO_TAG in startPerfettoWithProtoConfig() local
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | OtDaemonController.java | 108 public String executeCommand(String cmd) { in executeCommand() 117 public List<String> executeCommandAndParse(String cmd) { in executeCommandAndParse()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | ShellCommandRule.java | 47 public ShellCommandRule(String cmd, @Nullable String revertCommand, boolean checkSuccess, in ShellCommandRule() 55 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() 413 public int onCommand(String cmd) { in onCommand() 432 private boolean commandDoesNotRequireP2pAlreadyInitialized(String cmd, PrintWriter pw) { in commandDoesNotRequireP2pAlreadyInitialized()
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_bld_ct.cc | 393 const tAVRC_GET_ITEMS_CMD* cmd) { in avrc_bld_get_folder_items_cmd() 425 const tAVRC_CHG_PATH_CMD* cmd) { in avrc_bld_change_folder_cmd() 443 BT_HDR* p_pkt, const tAVRC_GET_ATTRS_CMD* cmd) { in avrc_bld_get_item_attributes_cmd() 471 BT_HDR* p_pkt, const tAVRC_SET_BR_PLAYER_CMD* cmd) { in avrc_bld_set_browsed_player_cmd() 498 BT_HDR* p_pkt, const tAVRC_SET_ADDR_PLAYER_CMD* cmd) { in avrc_bld_set_addressed_player_cmd()
|