/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | CVE_2021_39795.java | 43 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()
|
D | CVE_2021_39622.java | 48 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()
|
D | CVE_2021_0478.java | 53 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()
|
D | Poc18_02.java | 38 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()
|
D | CVE_2021_39797.java | 41 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()
|
D | CVE_2021_39796.java | 45 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()
|
D | Poc20_06.java | 40 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()
|
D | CVE_2021_39707.java | 42 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()
|
D | CVE_2022_20223.java | 42 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()
|
D | CVE_2021_30351.java | 51 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()
|
D | CVE_2021_0487.java | 47 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()
|
D | CVE_2021_39706.java | 45 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()
|
D | CVE_2021_39704.java | 41 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()
|
D | CVE_2022_20353.java | 40 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()
|
D | Poc18_07.java | 52 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()
|
D | CVE_2021_0315.java | 35 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()
|
D | CVE_2021_0954.java | 42 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()
|
D | CVE_2022_20349.java | 42 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()
|
D | CVE_2022_20348.java | 42 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()
|
D | CVE_2022_20116.java | 41 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()
|
D | CVE_2020_0015.java | 43 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()
|
D | CVE_2021_39692.java | 43 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()
|
D | CVE_2022_20230.java | 45 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()
|
D | CVE_2021_39794.java | 50 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()
|
D | CVE_2021_0523.java | 42 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()
|