Home
last modified time | relevance | path

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

123

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DSystemUtil.java64 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/
DServiceProcessController.java108 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
DWatchUidRunner.java128 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/
DCategoryTest.java28 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
DPackageTest.java37 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/
DFileSystemPermissionTest.java61 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()
DPerfEventParanoidTest.java38 String cmd = "cat " + PERF_EVENT_PARANOID_PATH; in testPerfEventRestricted() local
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java274 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/
DDatabaseTestUtils.java49 static String executeShellCommand(String cmd) throws Exception { in executeShellCommand()
/cts/apps/CameraITS/tools/
Drun_parallel_tests.py107 def run_cmd(cmd): argument
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsImportanceTests.java173 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/
DActivityManagerProcessStateTest.java115 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/
Dpoc.c48 unsigned cmd = RMNET_IOCTL_EXTENDED; in trigger() local
/cts/hostsidetests/theme/
Dandroid_device.py34 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/
DCaptioningManagerTest.java137 private void execShellCommand(String cmd) { in execShellCommand()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DMeteredDataRestrictionTest.java196 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/
DNetPolicyTestsPreparer.java58 private String executeCmd(String cmd) throws DeviceNotAvailableException { in executeCmd()
/cts/tests/tests/os/src/android/os/cts/
DCrossProcessExceptionTest.java137 private void doCommand(String cmd) throws Exception { in doCommand()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
DHceFReaderActivity.java77 static boolean verifyResponse(byte[] cmd, byte[] resp) { in verifyResponse()
/cts/tests/tests/media/src/android/media/cts/
DRingtoneTest.java86 StringBuilder cmd = new StringBuilder(); in enableAppOps() local
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DBaseInstallMultiple.java77 final StringBuilder cmd = new StringBuilder(); in run() local
/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java363 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/
DSettings_SystemTest.java64 StringBuilder cmd = new StringBuilder(); in enableAppOps() local
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyVpnService.java41 String cmd = intent.getStringExtra(packageName + ".cmd"); in onStartCommand() local
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseInstallMultiple.java113 final StringBuilder cmd = new StringBuilder(); in run() local

123