Home
last modified time | relevance | path

Searched refs:runCommandLine (Results 1 – 25 of 74) sorted by relevance

123

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2021_39795.java43 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_39795()
44 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_39795()
45 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_39795()
50 AdbUtils.runCommandLine("mkdir " + DIR_PATH, device); in testPocCVE_2021_39795()
53 AdbUtils.runCommandLine( in testPocCVE_2021_39795()
55 AdbUtils.runCommandLine( in testPocCVE_2021_39795()
59 AdbUtils.runCommandLine( in testPocCVE_2021_39795()
67 AdbUtils.runCommandLine("rm -rf " + DIR_PATH, device); in testPocCVE_2021_39795()
DCVE_2021_39622.java48 AdbUtils.runCommandLine("pm list packages", iTestDevice) in testPocCVE_2021_39622()
51 if (AdbUtils.runCommandLine( in testPocCVE_2021_39622()
59 AdbUtils.runCommandLine( in testPocCVE_2021_39622()
65 if (!AdbUtils.runCommandLine("ime list -s", iTestDevice) in testPocCVE_2021_39622()
67 AdbUtils.runCommandLine("ime enable " + GBOARD_PKG_NAME + mIdGboard, iTestDevice); in testPocCVE_2021_39622()
70 AdbUtils.runCommandLine( in testPocCVE_2021_39622()
80 AdbUtils.runCommandLine( in testPocCVE_2021_39622()
86 AdbUtils.runCommandLine("ime reset", iTestDevice); in testPocCVE_2021_39622()
DCVE_2021_0478.java53 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_0478()
54 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_0478()
55 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_0478()
58 AdbUtils.runCommandLine("pm install " + appPath, device); in testPocCVE_2021_0478()
61 AdbUtils.runCommandLine("am start -n " + packageName + "/.PocActivity", getDevice()); in testPocCVE_2021_0478()
67 AdbUtils.runCommandLine("pm uninstall " + packageName, device); in testPocCVE_2021_0478()
71 String logcat = AdbUtils.runCommandLine("logcat -d *:S AndroidRuntime:E", device); in testPocCVE_2021_0478()
DPoc18_02.java38 AdbUtils.runCommandLine("logcat -c" , getDevice()); in testPocCVE_2017_13232()
40 String logcatOutput = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2017_13232()
52 AdbUtils.runCommandLine("dmesg -c" ,getDevice()); in testPocCVE_2017_13273()
53 AdbUtils.runCommandLine("setenforce 0",getDevice()); in testPocCVE_2017_13273()
57 String dmesgOut = AdbUtils.runCommandLine("cat /sys/fs/pstore/console-ramoops", in testPocCVE_2017_13273()
62 AdbUtils.runCommandLine("setenforce 1",getDevice()); in testPocCVE_2017_13273()
DCVE_2021_39797.java41 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_39797()
42 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_39797()
43 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_39797()
47 String previous = AdbUtils.runCommandLine("settings get global hidden_api_policy", device); in testPocCVE_2021_39797()
51 AdbUtils.runCommandLine("settings put global hidden_api_policy 1", device); in testPocCVE_2021_39797()
55 AdbUtils.runCommandLine("settings put global hidden_api_policy " + previous, device); in testPocCVE_2021_39797()
DCVE_2021_39796.java45 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_39796()
46 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_39796()
47 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_39796()
51 AdbUtils.runCommandLine("pm set-harmful-app-warning " + HARMFUL_PKG + " harmful 0", device); in testPocCVE_2021_39796()
55 AdbUtils.runCommandLine("pm grant " + TEST_PKG + " android.permission.SYSTEM_ALERT_WINDOW", in testPocCVE_2021_39796()
59 AdbUtils.runCommandLine("input keyevent KEYCODE_BACK", device); in testPocCVE_2021_39796()
DPoc20_06.java40 String isApplicable = AdbUtils.runCommandLine("service list", getDevice()); in testPocCVE_2020_3635()
44 AdbUtils.runCommandLine( in testPocCVE_2020_3635()
56 AdbUtils.runCommandLine("pm list package com.qualcomm.qti.lpa", getDevice()); in testPocCVE_2020_3626()
59 AdbUtils.runCommandLine("dumpsys package com.qualcomm.qti.lpa", getDevice()); in testPocCVE_2020_3626()
70 String result = AdbUtils.runCommandLine( in testPocCVE_2020_3628()
81 String isApplicable = AdbUtils.runCommandLine("service list", getDevice()); in testPocCVE_2020_3676()
85 AdbUtils.runCommandLine( in testPocCVE_2020_3676()
DCVE_2021_39707.java42 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_39707()
43 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_39707()
44 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_39707()
47 String commandOutput = AdbUtils.runCommandLine( in testPocCVE_2021_39707()
64 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_39707()
67 AdbUtils.runCommandLine("pm remove-user " + userId, device); in testPocCVE_2021_39707()
DCVE_2022_20223.java42 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2022_20223()
43 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2022_20223()
44 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2022_20223()
47 String commandOutput = AdbUtils.runCommandLine( in testPocCVE_2022_20223()
65 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2022_20223()
68 AdbUtils.runCommandLine("pm remove-user " + userId, device); in testPocCVE_2022_20223()
DCVE_2021_30351.java51 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_30351()
52 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_30351()
53 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_30351()
56 AdbUtils.runCommandLine("pm install " + appPath, device); in testPocCVE_2021_30351()
59 AdbUtils.runCommandLine("am start -n " + packageName + "/.MainActivity", getDevice()); in testPocCVE_2021_30351()
65 AdbUtils.runCommandLine("pm uninstall " + packageName, device); in testPocCVE_2021_30351()
DCVE_2021_0487.java47 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_0487()
48 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_0487()
49 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_0487()
54 AdbUtils.runCommandLine( in testPocCVE_2021_0487()
62 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_0487()
DCVE_2021_39706.java45 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_39706()
46 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_39706()
47 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_39706()
50 String result = AdbUtils.runCommandLine("dpm set-device-owner --user " + userId + " '" in testPocCVE_2021_39706()
61 AdbUtils.runCommandLine("dpm remove-active-admin --user " + userId + " '" in testPocCVE_2021_39706()
DCVE_2021_39704.java41 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_39704()
42 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_39704()
43 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_39704()
46 AdbUtils.runCommandLine( in testPocCVE_2021_39704()
DCVE_2022_20353.java40 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2022_20353()
41 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2022_20353()
42 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2022_20353()
45 AdbUtils.runCommandLine("am start -a android.settings.LICENSE", device); in testPocCVE_2022_20353()
DPoc18_07.java52 String result = AdbUtils.runCommandLine( in testPocCVE_2017_18275()
55 AdbUtils.runCommandLine("logcat -c", getDevice()); in testPocCVE_2017_18275()
56 AdbUtils.runCommandLine(command, getDevice()); in testPocCVE_2017_18275()
57 String logcat = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2017_18275()
DCVE_2021_0315.java35 AdbUtils.runCommandLine("input keyevent KEYCODE_BACK", getDevice()); in tearDown()
45 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_0315()
46 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_0315()
47 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_0315()
DCVE_2021_0954.java42 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_0954()
43 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_0954()
44 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_0954()
47 AdbUtils.runCommandLine( in testPocCVE_2021_0954()
DCVE_2022_20349.java42 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2022_20349()
43 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2022_20349()
44 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2022_20349()
50 AdbUtils.runCommandLine( in testPocCVE_2022_20349()
DCVE_2022_20348.java42 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2022_20348()
43 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2022_20348()
44 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2022_20348()
50 AdbUtils.runCommandLine( in testPocCVE_2022_20348()
DCVE_2022_20116.java41 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2022_20223()
42 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2022_20223()
43 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2022_20223()
54 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2022_20223()
DCVE_2020_0015.java43 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2020_0015()
44 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2020_0015()
45 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2020_0015()
48 AdbUtils.runCommandLine("pm grant " + testPkg + " android.permission.SYSTEM_ALERT_WINDOW", in testPocCVE_2020_0015()
DCVE_2021_39692.java43 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_39692()
44 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_39692()
45 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_39692()
48 AdbUtils.runCommandLine("pm grant " + testPkg + " android.permission.SYSTEM_ALERT_WINDOW", in testPocCVE_2021_39692()
DCVE_2022_20230.java45 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2022_20230()
46 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2022_20230()
47 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2022_20230()
51 AdbUtils.runCommandLine("dpm set-device-owner --user " + USER_ID + " '" + TEST_PKG + "/" in testPocCVE_2022_20230()
DCVE_2021_39794.java50 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in testPocCVE_2021_39794()
51 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in testPocCVE_2021_39794()
52 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in testPocCVE_2021_39794()
55 AdbUtils.runCommandLine("am start -n " + RECEIVER_PKG + "/.PocActivity", device); in testPocCVE_2021_39794()
DCVE_2021_0523.java42 AdbUtils.runCommandLine("input keyevent KEYCODE_WAKEUP", device); in setUp()
43 AdbUtils.runCommandLine("input keyevent KEYCODE_MENU", device); in setUp()
44 AdbUtils.runCommandLine("input keyevent KEYCODE_HOME", device); in setUp()
55 AdbUtils.runCommandLine("pm grant " + TEST_PKG + " android.permission.SYSTEM_ALERT_WINDOW", in testPocCVE_2021_0523()

123