Home
last modified time | relevance | path

Searched defs:cmd (Results 1 – 25 of 190) sorted by relevance

12345678

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxShellCommandUnitTest.java143 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/
DCommandRunner.java49 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/
DCommandApduTest.java43 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/
DBluetoothShellCommand.java58 boolean isMatch(String cmd) { in isMatch()
66 abstract int exec(String cmd) throws RemoteException; in exec()
78 public int exec(String cmd) throws RemoteException { in exec()
102 public int exec(String cmd) throws RemoteException { in exec()
126 public int exec(String cmd) throws RemoteException { in exec()
146 public int exec(String cmd) throws RemoteException { in exec()
194 boolean isMatch(String cmd) { in isMatch()
199 public int exec(String cmd) throws RemoteException { in exec()
220 public int onCommand(String cmd) { in onCommand()
/packages/apps/Messaging/src/com/android/messaging/util/
DNotificationPlayer.java75 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/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesShellCommandTest.java196 String cmd = "D'OH!"; in testExec_invalidCommand() local
209 expectHelpOutputHasMessages(getErr(), cmd, helpMsg); in testExec_invalidCommand() local
214 String cmd = "echo"; in testExec_adServicesCommand_throwsRemoteException() local
227 String cmd = "xxx"; in testExec_adServicesCommand_timeoutHappens() local
350 String cmd = "CMD_XYZ"; in testExec_validAdServicesShellCommand_noArgs() local
365 String cmd = "CMD_XYZ"; in testExec_validAdServicesShellCommand_withArgs() local
382 String cmd = "CMD_XYZ"; in testExec_validAdServicesShellCommandWithTimeout() local
399 String cmd = "CMD_XYZ"; in testExec_validAdServicesShellCommandWithTimeoutInAnyOrder() local
436 String cmd = "CMD_XYZ"; in testExec_validAdServicesShellCommand_secondaryUser_noArgs() local
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DAdServicesShellCommandHelper.java46 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/
DHostSideAdServicesShellCommandHelper.java30 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/
DIsAllowedProtectedSignalsAccessCommandTest.java38 IsAllowedProtectedSignalsAccessCommand cmd = new IsAllowedProtectedSignalsAccessCommand(); in testRun_invalid() local
57 IsAllowedProtectedSignalsAccessCommand cmd = new IsAllowedProtectedSignalsAccessCommand(); in testRun_valid() local
DIsAllowedAdSelectionAccessCommandTest.java38 IsAllowedAdSelectionAccessCommand cmd = new IsAllowedAdSelectionAccessCommand(); in testRun_invalid() local
57 IsAllowedAdSelectionAccessCommand cmd = new IsAllowedAdSelectionAccessCommand(); in testRun_valid() local
DIsAllowedAttributionAccessCommandTest.java38 IsAllowedAttributionAccessCommand cmd = new IsAllowedAttributionAccessCommand(); in testRun_invalid() local
57 IsAllowedAttributionAccessCommand cmd = new IsAllowedAttributionAccessCommand(); in testRun_valid() local
DIsAllowedCustomAudiencesAccessCommandTest.java38 IsAllowedCustomAudiencesAccessCommand cmd = new IsAllowedCustomAudiencesAccessCommand(); in testRun_invalid() local
57 IsAllowedCustomAudiencesAccessCommand cmd = new IsAllowedCustomAudiencesAccessCommand(); in testRun_valid() local
DIsAllowedTopicsAccessCommandTest.java39 IsAllowedTopicsAccessCommand cmd = new IsAllowedTopicsAccessCommand(); in testRun_invalid() local
77 IsAllowedTopicsAccessCommand cmd = new IsAllowedTopicsAccessCommand(); in testRun_valid() local
/packages/modules/Virtualization/tests/hypervisor_neverallow_test/
Davf_hypervisor_neverallow_test.py28 def _RunCommand(cmd, timeout=_DEFAULT_COMMAND_TIMEOUT): argument
78 def _runAdbCommand(self, cmd): argument
82 def _checkAdbCommandOutput(self, cmd): argument
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractAdServicesShellCommandHelper.java88 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/AdServices/shared/testing-libraries/device-side/java/com/android/adservices/shared/testing/device/
DDeviceGatewayImpl.java51 String cmd = input.getCommand(); in runShellCommandRwe() local
62 private ShellCommandOutput runShellCommandRweTPlus(String cmd) { in runShellCommandRweTPlus()
105 private ShellCommandOutput runShellCommandRweSMinus(String cmd) { in runShellCommandRweSMinus()
/packages/modules/DeviceLock/tests/cts/src/com/android/cts/devicelock/
DDeviceLockManagerTest.java75 final String cmd = in addFinancedDeviceKioskRole() local
84 final String cmd = in removeFinancedDeviceKioskRole() local
/packages/apps/Traceur/src_common/com/android/traceur/
DTraceUtils.java140 String cmd = "rm -f " + TRACE_DIRECTORY + "trace-*.*trace " + in clearSavedTraces() local
157 public static Process exec(String cmd) throws IOException { in exec()
161 public static Process exec(String cmd, String tmpdir) throws IOException { in exec()
165 public static Process exec(String cmd, String tmpdir, boolean logOutput) throws IOException { in exec()
181 public static Process execWithTimeout(String cmd, String tmpdir, long timeout) in execWithTimeout()
187 public static Process execWithTimeout(String cmd, String tmpdir, long timeout, byte[] input) in execWithTimeout()
/packages/services/Car/tools/cpu_perf/
Dcpu_perf.py74 def run_adb_cmd(cmd): argument
78 def run_adb_shell_cmd(cmd): argument
81 def run_shell_cmd(cmd): argument
/packages/modules/StatsD/lib/libstatssocket/
Dstats_buffer_writer_queue.cpp46 Cmd cmd = createWriteBufferCmd(buffer, size, atomId); in write() local
58 bool BufferWriterQueue::pushToQueue(const Cmd& cmd) { in pushToQueue()
106 Cmd cmd; in processCommands() local
/packages/modules/StatsD/tests/src/android/cts/statsd/subscriber/
DShellSubscriberTest.java51 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/Launcher3/tests/src/com/android/launcher3/util/rule/
DShellCommandRule.java47 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/
DWifiP2pShellCommand.java60 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/
Davrc_bld_ct.cc389 static tAVRC_STS avrc_bld_get_folder_items_cmd(BT_HDR* p_pkt, const tAVRC_GET_ITEMS_CMD* cmd) { in avrc_bld_get_folder_items_cmd()
419 static tAVRC_STS avrc_bld_change_folder_cmd(BT_HDR* p_pkt, const tAVRC_CHG_PATH_CMD* cmd) { in avrc_bld_change_folder_cmd()
436 static tAVRC_STS avrc_bld_get_item_attributes_cmd(BT_HDR* p_pkt, const tAVRC_GET_ATTRS_CMD* cmd) { in avrc_bld_get_item_attributes_cmd()
464 const tAVRC_SET_BR_PLAYER_CMD* cmd) { in avrc_bld_set_browsed_player_cmd()
491 const tAVRC_SET_ADDR_PLAYER_CMD* cmd) { in avrc_bld_set_addressed_player_cmd()
/packages/modules/AdServices/shared/testing-libraries/side-less/java/com/android/adservices/shared/meta_testing/
DFakeDeviceGateway.java47 String cmd = String.format(cmdFmt, cmdArgs); in onCommand() local
74 String cmd = input.getCommand(); in expectCalled() local

12345678