/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 64 public static String runShellCommand(Instrumentation instrumentation, String cmd) in runShellCommand() 86 public static String runShellCommand(String cmd) { in runShellCommand() 99 public static String runShellCommand(String cmd, Predicate<String> resultChecker) { in runShellCommand() 112 public static String runShellCommandForNoOutput(String cmd) { in runShellCommandForNoOutput() 123 public static void runCommandAndPrintOnLogcat(String logtag, String cmd) { in runCommandAndPrintOnLogcat() 136 public static String runCommandAndExtractSection(String cmd, in runCommandAndExtractSection()
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | ServiceProcessController.java | 108 String cmd = "appops set " + mServicePackage + " RUN_IN_BACKGROUND deny"; in denyBackgroundOp() local 117 String cmd = "appops set " + mServicePackage + " RUN_IN_BACKGROUND allow"; in allowBackgroundOp() local 122 String cmd = "am make-uid-idle " + mServicePackage; in makeUidIdle() local 127 String cmd = "cmd deviceidle whitelist -" + mServicePackage; in removeFromWhitelist() local 132 String cmd = "cmd deviceidle whitelist +" + mServicePackage; in addToWhitelist() local 137 String cmd = "cmd deviceidle tempwhitelist -d " + duration + " " + mServicePackage; in tempWhitelist() local 142 String cmd = "cmd deviceidle tempwhitelist -r " + mServicePackage; in removeFromTempWhitelist() local 147 String cmd = "cmd appops set " + mServicePackage + " " + opStr + " " + mode; in setAppOpMode() local
|
D | WatchUidRunner.java | 128 public void expect(int cmd, String procState) { in expect() 132 public void expect(int cmd, String procState, long timeout) { in expect() 152 public void waitFor(int cmd, String procState) { in waitFor() 156 public void waitFor(int cmd, String procState, long timeout) { in waitFor() 192 String[] waitForNextLine(long waitUntil, int cmd, String procState) { 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/hostsidetests/security/src/android/cts/security/ |
D | FileSystemPermissionTest.java | 61 String cmd = getInsecureDeviceAdbCommand(path, type); in getAllInsecureDevicesInDirAndSubdir() local 178 List<String> cmd = new ArrayList<>(3 + args.length); in execSearchPolicy() local 204 private static byte[] execAndCaptureOutput(String[] cmd, String[] envp) in execAndCaptureOutput()
|
D | PerfEventParanoidTest.java | 38 String cmd = "cat " + PERF_EVENT_PARANOID_PATH; in testPerfEventRestricted() local
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AppStandbyTests.java | 274 final StringBuffer cmd = new StringBuffer("settings put global alarm_manager_constants "); in updateAlarmManagerConstants() local 285 final StringBuffer cmd = new StringBuffer("cmd deviceidle whitelist "); in setPowerWhitelisted() local 301 final String cmd = "dumpsys battery " + (charging ? "reset" : "unplug"); in setBatteryCharging() local 308 private String executeAndLog(String cmd) throws IOException { in executeAndLog()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | DatabaseTestUtils.java | 49 static String executeShellCommand(String cmd) throws Exception { in executeShellCommand()
|
/cts/apps/CameraITS/tools/ |
D | run_parallel_tests.py | 107 def run_cmd(cmd): argument
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AlertWindowsImportanceTests.java | 173 final String cmd = "appops set " + mServicePackageName in setAlertWindowPermission() local 175 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), cmd); in setAlertWindowPermission() local
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessStateTest.java | 115 private String executeShellCmd(String cmd) throws Exception { in executeShellCmd() 415 String cmd = "appops set " + SIMPLE_PACKAGE_NAME + " RUN_IN_BACKGROUND deny"; in testBackgroundCheckService() local 589 String cmd = "appops set " + SIMPLE_PACKAGE_NAME + " RUN_IN_BACKGROUND deny"; in testBackgroundCheckStopsService() local 1112 String cmd = "am make-uid-idle " + CANT_SAVE_STATE_1_PACKAGE_NAME; in testCantSaveStateLaunchAndBackground() local 1243 String cmd = "am make-uid-idle " + CANT_SAVE_STATE_1_PACKAGE_NAME; in testCantSaveStateLaunchAndSwitch() local
|
/cts/hostsidetests/security/securityPatch/CVE-2016-0844/ |
D | poc.c | 48 unsigned cmd = RMNET_IOCTL_EXTENDED; in trigger() 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/tests/accessibility/src/android/view/accessibility/cts/ |
D | CaptioningManagerTest.java | 137 private void execShellCommand(String cmd) { in execShellCommand()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | MeteredDataRestrictionTest.java | 196 final String cmd = "cmd netpolicy list wifi-networks"; in assertWifiMeteredStatus() local 224 private String executeCmd(String cmd) throws Exception { in executeCmd()
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | NetPolicyTestsPreparer.java | 58 private String executeCmd(String cmd) throws DeviceNotAvailableException { in executeCmd()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CrossProcessExceptionTest.java | 137 private void doCommand(String cmd) throws Exception { in doCommand()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/ |
D | HceFReaderActivity.java | 77 static boolean verifyResponse(byte[] cmd, byte[] resp) { in verifyResponse()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RingtoneTest.java | 86 StringBuilder cmd = new StringBuilder(); in enableAppOps() local
|
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/ |
D | BaseInstallMultiple.java | 77 final StringBuilder cmd = new StringBuilder(); in run() local
|
/cts/tests/tests/security/src/android/security/cts/ |
D | EffectBundleTest.java | 363 int cmd[] = {command, band}; in eqGetParam() local 391 int cmd[] = {command, band}; in eqGetParam() local 432 int cmd[] = {command, band}; in eqSetParam() local
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | Settings_SystemTest.java | 64 StringBuilder cmd = new StringBuilder(); in enableAppOps() local
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MyVpnService.java | 41 String cmd = intent.getStringExtra(packageName + ".cmd"); in onStartCommand() local
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | BaseInstallMultiple.java | 113 final StringBuilder cmd = new StringBuilder(); in run() local
|