/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | ServiceProcessController.java | 111 String cmd = "appops set --user " + mUserId + " " in denyBackgroundOp() local 121 String cmd = "appops set --user " + mUserId + " " in allowBackgroundOp() local 128 String cmd = "appops set --user " + mUserId + " " in denyAnyInBackgroundOp() local 134 String cmd = "appops set --user " + mUserId + " " in allowAnyInBackgroundOp() local 140 String cmd = "am make-uid-idle " + mServicePackage; in makeUidIdle() local 145 String cmd = "cmd deviceidle whitelist -" + mServicePackage; in removeFromWhitelist() local 150 String cmd = "cmd deviceidle whitelist +" + mServicePackage; in addToWhitelist() local 155 String cmd = "cmd deviceidle tempwhitelist -u " + mUserId in tempWhitelist() local 161 String cmd = "cmd deviceidle tempwhitelist -u " + mUserId in removeFromTempWhitelist() local 167 String cmd = "cmd appops set --user " + mUserId + " " in setAppOpMode() local
|
D | WatchUidRunner.java | 131 public void expect(int cmd, String procState) { in expect() 135 public void expect(int cmd, String procState, long timeout) { in expect() 155 public void waitFor(int cmd) { in waitFor() 159 public void waitFor(int cmd, long timeout) { in waitFor() 163 public void waitFor(int cmd, String procState) { in waitFor() 167 public void waitFor(int cmd, String procState, Integer capability) { in waitFor() 171 public void waitFor(int cmd, String procState, long timeout) { in waitFor() 175 public void waitFor(int cmd, String procState, Integer capability, long timeout) { in waitFor() 230 String[] waitForNextLine(long waitUntil, int cmd, String procState, Integer capability) { in waitForNextLine()
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
D | CategoryTest.java | 28 String cmd = MONKEY_CMD + " -v -p " + PKGS[0] + " 5000"; in testDefaultCategories() local 43 String cmd = MONKEY_CMD + " -v -p " + PKGS[0] in testSingleCategory() local 73 String cmd = MONKEY_CMD + " -v -p " + PKGS[0] in testMultipleCategories() local
|
D | PackageTest.java | 37 String cmd = MONKEY_CMD + " -v -p " + PKGS[0] + " 5000"; in testSinglePackage() local 67 String cmd = MONKEY_CMD + " -v -p " + PKGS[0] + " -p " + PKGS[1] + " 5000"; in testMultiplePackages() local
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 74 public static String runShellCommand(Instrumentation instrumentation, String cmd) in runShellCommand() 88 public static String runShellCommand(UiAutomation automation, String cmd) in runShellCommand() 103 static byte[] runShellCommandByteOutput(UiAutomation automation, String cmd) in runShellCommandByteOutput() 112 private static void checkCommandBeforeRunning(String cmd) { in checkCommandBeforeRunning() 123 public static String runShellCommand(String cmd) { in runShellCommand() 136 public static String runShellCommandOrThrow(String cmd) { in runShellCommandOrThrow() 182 public static String runShellCommand(String cmd, Predicate<String> resultChecker) { in runShellCommand() 195 public static String runShellCommandForNoOutput(String cmd) { in runShellCommandForNoOutput() 206 public static void runCommandAndPrintOnLogcat(String logtag, String cmd) { in runCommandAndPrintOnLogcat() 219 public static String runCommandAndExtractSection(String cmd, in runCommandAndExtractSection()
|
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/ |
D | LocationTimeZoneManagerShellHelper.java | 118 String cmd = SHELL_COMMAND_CLEAR_RECORDED_PROVIDER_STATES; in clearRecordedProviderStates() local 127 String cmd = String.format("%s --%s", SHELL_COMMAND_DUMP_STATE, DUMP_STATE_OPTION_PROTO); in dumpState() local 139 String cmd = String.format("%s %s %s %s", in startWithTestProviders() local
|
D | DeviceConfigShellHelper.java | 75 String cmd = SHELL_CMD_PREFIX + "get_sync_disabled_for_tests"; in getSyncDisabled() local 85 String cmd = String.format( in setSyncDisabled() local 96 String cmd = String.format(SHELL_CMD_PREFIX + "list %s", namespace); in list() local 119 String cmd = String.format(SHELL_CMD_PREFIX + "put %s %s %s", namespace, key, value); in put() local 128 String cmd = String.format(SHELL_CMD_PREFIX + "delete %s %s", namespace, key); in delete() local
|
D | TimeZoneDetectorShellHelper.java | 86 String cmd = String.format("%s %s", SHELL_COMMAND_SET_AUTO_DETECTION_ENABLED, enabled); in setAutoDetectionEnabled() local 98 String cmd = String.format("%s %s", SHELL_COMMAND_SET_GEO_DETECTION_ENABLED, enabled); in setGeoDetectionEnabled() local
|
D | LocationShellHelper.java | 59 String cmd = String.format("%s %s", SHELL_COMMAND_SET_LOCATION_ENABLED, enabled); in setLocationEnabledForCurrentUser() local
|
/cts/tests/app/src/android/app/cts/ |
D | CtsAppTestUtils.java | 31 public static String executeShellCmd(Instrumentation instrumentation, String cmd) in executeShellCmd() 64 String cmd = "am make-uid-idle " + packageName; in makeUidIdle() local
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfilePasswordTest.java | 222 final String cmd = "am broadcast --receiver-foreground --user " + mProfileUserId in lockProfile() local 230 final String cmd = String.format("am get-started-user-state %d", mProfileUserId); in waitUntilProfileLocked() local
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | BaseHostTestCase.java | 32 protected String executeShellCommand(String cmd, Object... args) throws Exception { in executeShellCommand() 36 protected CommandResult executeShellV2Command(String cmd, Object... args) throws Exception { in executeShellV2Command()
|
D | PublicVolumeCoreHostTest.java | 30 String executeShellCommand(String cmd) throws Exception { in executeShellCommand()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | Poc16_12.java | 40 String cmd = "ls /sys/kernel/slab 2>/dev/null | grep nf_conntrack"; in testPocCVE_2016_8406() local
|
D | CVE_2021_0691.java | 57 String cmd; in testRunDeviceTest() local
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | EnvironmentHostTests.java | 47 private String executeShellCommand(String cmd) throws Exception { in executeShellCommand()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | DatabaseTestUtils.java | 50 static String executeShellCommand(String cmd) throws Exception { in executeShellCommand()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/ |
D | BaseHostTestCase.java | 40 protected String executeShellCommand(String cmd, Object... args) throws Exception { in executeShellCommand() 44 protected CommandResult executeShellV2Command(String cmd, Object... args) throws Exception { in executeShellV2Command()
|
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/ |
D | CtsCarShellCommand.java | 43 String cmd = mCommand; in executeWith() local
|
/cts/hostsidetests/theme/ |
D | android_device.py | 34 def run_adb_command(self, cmd, timeout=None): argument 42 def run_shell_command(self, cmd): argument
|
/cts/hostsidetests/videoencodingminimum/src/android/videoqualityfloor/cts/ |
D | CtsVideoQualityFloorHostTest.java | 190 private String runCmd(String cmd, File cwd) { in runCmd() 236 String cmd = "wget -O " + destination.getPath() + " " + url; in downloadFile() local
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0844/ |
D | poc.c | 48 unsigned cmd = RMNET_IOCTL_EXTENDED; in trigger() local
|
/cts/tests/BlobStore/src/com/android/cts/blob/ |
D | DumpOnFailureRule.java | 65 void dumpCommandOutput(FileOutputStream out, String cmd) { in dumpCommandOutput()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0670/ |
D | poc.c | 43 char cmd[MAX_STRLEN]; in getMemoryUsage() local
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | BaseBlobStoreHostTest.java | 154 final String cmd = String.format("cmd role add-role-holder " in addAssistRoleHolder() local 177 final String cmd = String.format("cmd role remove-role-holder " in removeAssistRoleHolder() local 184 final String cmd = String.format("cmd package revoke --user %d %s %s", in revokePermission() local
|