Home
last modified time | relevance | path

Searched refs:getDevice (Results 1 – 25 of 131) sorted by relevance

123456

/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java88 getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG); in testInstallSharedLibrary()
89 getDevice().uninstallPackage(STATIC_LIB_PROVIDER2_PKG); in testInstallSharedLibrary()
90 getDevice().uninstallPackage(STATIC_LIB_PROVIDER_RECURSIVE_PKG); in testInstallSharedLibrary()
93 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testInstallSharedLibrary()
96 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testInstallSharedLibrary()
99 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testInstallSharedLibrary()
102 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG)); in testInstallSharedLibrary()
104 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER2_PKG)); in testInstallSharedLibrary()
106 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER_RECURSIVE_PKG)); in testInstallSharedLibrary()
108 getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG); in testInstallSharedLibrary()
[all …]
/cts/hostsidetests/security/src/android/security/cts/
DPoc16_12.java44 if(containsDriver(getDevice(), "/dev/nvmap")) { in testPocCVE_2016_8424()
45 AdbUtils.runPoc("CVE-2016-8424", getDevice(), 60); in testPocCVE_2016_8424()
54 if(containsDriver(getDevice(), "/dev/nvhost-vic")) { in testPocCVE_2016_8425()
55 AdbUtils.runPoc("CVE-2016-8425", getDevice(), 60); in testPocCVE_2016_8425()
64 if(containsDriver(getDevice(), "/dev/nvhost-gpu")) { in testPocCVE_2016_8426()
65 AdbUtils.runPoc("CVE-2016-8426", getDevice(), 60); in testPocCVE_2016_8426()
74 if(containsDriver(getDevice(), "/dev/nvhost-gpu") || in testPocCVE_2016_8427()
75 containsDriver(getDevice(), "/dev/nvhost-dbg-gpu")) { in testPocCVE_2016_8427()
76 AdbUtils.runPoc("CVE-2016-8427", getDevice(), 60); in testPocCVE_2016_8427()
85 if(containsDriver(getDevice(), "/dev/nvmap")) { in testPocCVE_2016_8428()
[all …]
DPoc17_04.java28 enableAdbRoot(getDevice()); in testPocCVE_2017_0576()
29 if(containsDriver(getDevice(), "/dev/qce")) { in testPocCVE_2017_0576()
30 AdbUtils.runPoc("CVE-2017-0576", getDevice(), 60); in testPocCVE_2017_0576()
39 enableAdbRoot(getDevice()); in testPocCVE_2017_0580()
40 if(containsDriver(getDevice(), "/dev/touch_fwu")) { in testPocCVE_2017_0580()
41 AdbUtils.runPoc("CVE-2017-0580", getDevice(), 60); in testPocCVE_2017_0580()
50 enableAdbRoot(getDevice()); in testPocCVE_2017_0462()
51 if(containsDriver(getDevice(), "/dev/seemplog")) { in testPocCVE_2017_0462()
52 AdbUtils.runPoc("CVE-2017-0462", getDevice(), 60); in testPocCVE_2017_0462()
61 enableAdbRoot(getDevice()); in testPocCVE_2017_0577()
[all …]
DPoc17_06.java29 enableAdbRoot(getDevice()); in testPocBug_34328139()
30 if(containsDriver(getDevice(), "/dev/mdss_rotator")) { in testPocBug_34328139()
31 AdbUtils.runPoc("Bug-34328139", getDevice(), 60); in testPocBug_34328139()
40 enableAdbRoot(getDevice()); in testPocBug_33452365()
41 if(containsDriver(getDevice(), "/dev/snd/pcmC0D16c")) { in testPocBug_33452365()
42 AdbUtils.runPoc("Bug-33452365", getDevice(), 60); in testPocBug_33452365()
51 enableAdbRoot(getDevice()); in testPocCVE_2017_0579()
52 if(containsDriver(getDevice(), "/dev/graphics/fb0")) { in testPocCVE_2017_0579()
53 AdbUtils.runPoc("CVE-2017-0579", getDevice(), 60); in testPocCVE_2017_0579()
62 enableAdbRoot(getDevice()); in testPocCVE_2017_7369()
[all …]
DPoc17_07.java29 enableAdbRoot(getDevice()); in testPocBug_33863407()
30 if(containsDriver(getDevice(), "/sys/kernel/debug/mdp/reg")) { in testPocBug_33863407()
31 AdbUtils.runPoc("Bug-33863407", getDevice(), 60); in testPocBug_33863407()
40 enableAdbRoot(getDevice()); in testPocBug_36604779()
41 if(containsDriver(getDevice(), "/dev/port")) { in testPocBug_36604779()
42 AdbUtils.runCommandLine("cat /dev/port", getDevice()); in testPocBug_36604779()
51 enableAdbRoot(getDevice()); in testPocCVE_2017_0705()
52 if(containsDriver(getDevice(), "/proc/net/psched")) { in testPocCVE_2017_0705()
53 AdbUtils.runPoc("CVE-2017-0705", getDevice(), 60); in testPocCVE_2017_0705()
62 enableAdbRoot(getDevice()); in testPocCVE_2017_8263()
[all …]
DPoc16_10.java43 if(containsDriver(getDevice(), "/dev/dri/renderD129")) { in testPocCVE_2016_6730()
44 AdbUtils.runPoc("CVE-2016-6730", getDevice(), 60); in testPocCVE_2016_6730()
53 if(containsDriver(getDevice(), "/dev/dri/renderD129")) { in testPocCVE_2016_6731()
54 AdbUtils.runPoc("CVE-2016-6731", getDevice(), 60); in testPocCVE_2016_6731()
63 if(containsDriver(getDevice(), "/dev/dri/renderD129")) { in testPocCVE_2016_6732()
64 AdbUtils.runPoc("CVE-2016-6732", getDevice(), 60); in testPocCVE_2016_6732()
73 if(containsDriver(getDevice(), "/dev/dri/renderD129")) { in testPocCVE_2016_6733()
74 AdbUtils.runPoc("CVE-2016-6733", getDevice(), 60); in testPocCVE_2016_6733()
83 if(containsDriver(getDevice(), "/dev/dri/renderD129")) { in testPocCVE_2016_6734()
84 AdbUtils.runPoc("CVE-2016-6734", getDevice(), 60); in testPocCVE_2016_6734()
[all …]
DPoc17_01.java29 if(containsDriver(getDevice(), "/dev/nvmap")) { in testPocCVE_2016_8482()
30 AdbUtils.runPoc("CVE-2016-8482", getDevice(), 60); in testPocCVE_2016_8482()
39 if(containsDriver(getDevice(), "/dev/nvhost-as-gpu")) { in testPocCVE_2017_0429()
40 enableAdbRoot(getDevice()); in testPocCVE_2017_0429()
41 AdbUtils.runPoc("CVE-2017-0429", getDevice(), 60); in testPocCVE_2017_0429()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java48 mUsers = Utils.prepareMultipleUsers(getDevice()); in setUp()
55 getDevice().executeShellCommand("appops set --user " + user + " " + PKG_STATS in setUp()
64 getDevice().uninstallPackage(PKG_STATS); in tearDown()
65 getDevice().uninstallPackage(PKG_A); in tearDown()
66 getDevice().uninstallPackage(PKG_B); in tearDown()
71 Utils.runDeviceTests(getDevice(), PKG_STATS, CLASS_STATS, "testVerifyQuota"); in testVerifyQuota()
81 getDevice().executeShellCommand("sync"); in testVerifyAppStats()
156 getDevice().executeShellCommand("settings put global sys_storage_threshold_max_bytes 0"); in testCache()
157 getDevice().executeShellCommand("settings put global sys_storage_cache_max_bytes 0"); in testCache()
158 getDevice().executeShellCommand("svc data disable"); in testCache()
[all …]
DPackageVisibilityTest.java41 mUsers = Utils.prepareMultipleUsers(getDevice()); in setUp()
43 getDevice().executeShellCommand("settings get global package_verifier_enable"); in setUp()
44 getDevice().executeShellCommand("settings put global package_verifier_enable 0"); in setUp()
45 getDevice().uninstallPackage(TEST_PKG); in setUp()
46 getDevice().uninstallPackage(TINY_PKG); in setUp()
51 getDevice().uninstallPackage(TEST_PKG); in tearDown()
52 getDevice().uninstallPackage(TINY_PKG); in tearDown()
53 getDevice().executeShellCommand("settings put global package_verifier_enable " in tearDown()
65 getDevice().startUser(userId); in testUninstalledPackageVisibility()
76 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility()
[all …]
DIsolatedSplitsTests.java47 Utils.prepareSingleUser(getDevice()); in setUp()
48 getDevice().uninstallPackage(PKG); in setUp()
54 getDevice().uninstallPackage(PKG); in tearDown()
59 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallBase()
64 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); in testInstallBaseAndConfigSplit()
73 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallOneFeatureSplit()
74 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureADefault"); in testInstallOneFeatureSplit()
75 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureAReceivers"); in testInstallOneFeatureSplit()
81 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); in testInstallOneFeatureSplitAndConfigSplits()
82 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureAPolishLocale"); in testInstallOneFeatureSplitAndConfigSplits()
[all …]
DPermissionsHostTest.java61 Utils.prepareSingleUser(getDevice()); in setUp()
65 getDevice().uninstallPackage(USES_PERMISSION_PKG); in setUp()
66 getDevice().uninstallPackage(ESCALATE_PERMISSION_PKG); in setUp()
73 getDevice().uninstallPackage(USES_PERMISSION_PKG); in tearDown()
74 getDevice().uninstallPackage(ESCALATE_PERMISSION_PKG); in tearDown()
79 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testFail()
94 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testKill()
108 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testCompatDefault22()
114 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testCompatRevoked22()
130 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testNoRuntimePrompt22()
[all …]
DPrivilegedUpdateTests.java66 Utils.prepareSingleUser(getDevice()); in setUp()
70 getDevice().uninstallPackage(SHIM_PKG); in setUp()
71 getDevice().uninstallPackage(TEST_PKG); in setUp()
73 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(TEST_APK), false)); in setUp()
74 getDevice().executeShellCommand("pm enable " + SHIM_PKG); in setUp()
81 getDevice().uninstallPackage(SHIM_PKG); in tearDown()
82 getDevice().uninstallPackage(TEST_PKG); in tearDown()
83 getDevice().executeShellCommand("pm enable " + SHIM_PKG); in tearDown()
87 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradeRestricted()
88 assertEquals(RESTRICTED_UPGRADE_FAILURE, getDevice().installPackage( in testPrivilegedAppUpgradeRestricted()
[all …]
DExternalStorageHostTest.java78 mUsers = Utils.prepareMultipleUsers(getDevice()); in setUp()
95 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageNone()
97 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageNone()
104 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageNone()
117 getDevice().uninstallPackage(READ_PKG); in testExternalStorageRead()
119 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageRead()
126 getDevice().uninstallPackage(READ_PKG); in testExternalStorageRead()
139 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageWrite()
141 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageWrite()
148 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageWrite()
[all …]
DAppSecurityTests.java114 Utils.prepareSingleUser(getDevice()); in setUp()
126 getDevice().uninstallPackage(SHARED_UI_PKG); in testSharedUidDifferentCerts()
127 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG); in testSharedUidDifferentCerts()
130 String installResult = getDevice().installPackage(getTestAppFile(SHARED_UI_APK), in testSharedUidDifferentCerts()
134 installResult = getDevice().installPackage(getTestAppFile(SHARED_UI_DIFF_CERT_APK), in testSharedUidDifferentCerts()
141 getDevice().uninstallPackage(SHARED_UI_PKG); in testSharedUidDifferentCerts()
142 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG); in testSharedUidDifferentCerts()
154 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts()
157 String installResult = getDevice().installPackage(getTestAppFile(SIMPLE_APP_APK), in testAppUpgradeDifferentCerts()
161 installResult = getDevice().installPackage(getTestAppFile(SIMPLE_APP_DIFF_CERT_APK), in testAppUpgradeDifferentCerts()
[all …]
DAdoptableHostTest.java58 Utils.prepareSingleUser(getDevice()); in setUp()
62 getDevice().uninstallPackage(PKG); in setUp()
69 getDevice().uninstallPackage(PKG); in tearDown()
88 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private")); in testApps()
92 assertSuccess(getDevice().executeShellCommand( in testApps()
99 getDevice().executeShellCommand("sm unmount " + vol.volId); in testApps()
100 getDevice().executeShellCommand("sm mount " + vol.volId); in testApps()
106 assertSuccess(getDevice().executeShellCommand("pm move-package " + PKG + " internal")); in testApps()
112 getDevice().executeShellCommand("sm partition " + diskId + " public"); in testApps()
126 final String originalVol = getDevice() in testPrimaryStorage()
[all …]
DDirectBootHostTest.java75 mUsers = Utils.prepareSingleUser(getDevice()); in setUp()
79 getDevice().uninstallPackage(PKG); in setUp()
80 getDevice().uninstallPackage(OTHER_PKG); in setUp()
87 getDevice().uninstallPackage(PKG); in tearDown()
88 getDevice().uninstallPackage(OTHER_PKG); in tearDown()
160 getDevice().executeShellCommand("am start -a android.intent.action.MAIN" in doDirectBootTest()
173 final String res = getDevice().executeShellCommand("sm set-emulate-fbe true"); in doDirectBootTest()
177 getDevice().waitForDeviceNotAvailable(SHUTDOWN_TIME_MS); in doDirectBootTest()
178 getDevice().waitForDeviceOnline(); in doDirectBootTest()
180 getDevice().rebootUntilOnline(); in doDirectBootTest()
[all …]
DUsesLibraryHostTest.java54 Utils.prepareSingleUser(getDevice()); in setUp()
58 getDevice().uninstallPackage(PKG); in setUp()
65 getDevice().uninstallPackage(PKG); in tearDown()
69 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testUsesLibrary()
74 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testMissingLibrary()
79 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testDuplicateLibrary()
85 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java62 mHasFeature = getDevice().isMultiUserSupported() in setUp()
63 && getDevice().hasFeature(FEATURE_TELEPHONY) in setUp()
64 && getDevice().hasFeature(FEATURE_CONNECTION_SERVICE); in setUp()
70 installTestAppForUser(getDevice().getPrimaryUserId()); in setUp()
74 mPrimaryUserSerialNumber = getUserSerialNumber(getDevice().getPrimaryUserId()); in setUp()
81 getDevice().removeUser(mSecondaryUserId); in tearDown()
103 true /* setToSmsApp */, getDevice().getPrimaryUserId()); in testNumberBlocking()
111 false /* setToSmsApp */, getDevice().getPrimaryUserId()); in testNumberBlocking()
122 assertTrue(getDevice().startUser(mSecondaryUserId)); in testNumberBlocking()
139 true /* setToSmsApp */, getDevice().getPrimaryUserId()); in testNumberBlocking()
[all …]
/cts/hostsidetests/content/src/android/content/cts/
DSyncAdapterAccountAccessHostTest.java64 getDevice().uninstallPackage(STUBS_PKG); in setUp()
66 assertNull(getDevice().installPackage(mBuildHelper in setUp()
73 getDevice().uninstallPackage(STUBS_APK); in tearDown()
77 getDevice().uninstallPackage(ACCOUNT_ACCESS_TESTS_SAME_CERT_PKG); in testSameCertAuthenticatorCanSeeAccount()
79 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testSameCertAuthenticatorCanSeeAccount()
86 getDevice().uninstallPackage(ACCOUNT_ACCESS_TESTS_SAME_CERT_PKG); in testSameCertAuthenticatorCanSeeAccount()
91 getDevice().uninstallPackage(ACCOUNT_ACCESS_TESTS_OTHER_CERT_PKG); in testOtherCertAuthenticatorCanSeeAccount()
93 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testOtherCertAuthenticatorCanSeeAccount()
100 getDevice().uninstallPackage(ACCOUNT_ACCESS_TESTS_OTHER_CERT_PKG); in testOtherCertAuthenticatorCanSeeAccount()
106 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java51 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
53 mPrimaryUserId = getDevice().getPrimaryUserId(); in setUp()
59 getDevice().switchUser(mPrimaryUserId); in setUp()
65 if (getDevice().getCurrentUser() != mPrimaryUserId) { in tearDown()
67 getDevice().switchUser(mPrimaryUserId); in tearDown()
78 final String output = getDevice().executeShellCommand(command); in createRestrictedProfile()
101 final String output = getDevice().executeShellCommand(command); in createUser()
117 for (int userId : getDevice().listUsers()) { in removeTestUsers()
119 getDevice().removeUser(userId); in removeTestUsers()
125 final String commandOuput = getDevice().executeShellCommand( in checkIfSplitSystemUser()
DCreateUsersNoAppCrashesTest.java37 mInitialUserId = getDevice().getCurrentUser(); in setUp()
44 int userId = getDevice().createUser( in testCanCreateGuestUser()
48 getDevice().executeAdbCommand("logcat", "-c"); // Reset log in testCanCreateGuestUser()
49 assertTrue("Couldn't switch to user " + userId, getDevice().switchUser(userId)); in testCanCreateGuestUser()
54 assertTrue("Couldn't switch to user " + userId, getDevice().switchUser(mInitialUserId)); in testCanCreateGuestUser()
61 String logs = getDevice().executeAdbCommand("logcat", "-v", "brief", "-d"); in waitForBootCompleted()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java115 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown()
116 getDevice().uninstallPackage(PERMISSIONS_APP_PKG); in tearDown()
117 getDevice().uninstallPackage(SIMPLE_PRE_M_APP_PKG); in tearDown()
118 getDevice().uninstallPackage(APP_RESTRICTIONS_TARGET_APP_PKG); in tearDown()
119 getDevice().uninstallPackage(CERT_INSTALLER_PKG); in tearDown()
120 getDevice().uninstallPackage(DELEGATE_APP_PKG); in tearDown()
121 getDevice().uninstallPackage(ACCOUNT_MANAGEMENT_PKG); in tearDown()
122 getDevice().uninstallPackage(VPN_APP_PKG); in tearDown()
123 getDevice().uninstallPackage(INTENT_RECEIVER_PKG); in tearDown()
124 getDevice().uninstallPackage(INTENT_SENDER_PKG); in tearDown()
[all …]
DBaseDevicePolicyTest.java118 mHasFeature = getDevice().getApiLevel() >= 21 /* Build.VERSION_CODES.L */ in setUp()
122 mFixedPackages = getDevice().getInstalledPackageNames(); in setUp()
125 mPackageVerifier = getDevice().executeShellCommand( in setUp()
127 getDevice().executeShellCommand("settings put global package_verifier_enable 0"); in setUp()
145 getDevice().executeShellCommand("settings put global package_verifier_enable " in tearDown()
162 String result = getDevice().installPackageForUser( in installAppAsUser()
175 String commandOutput = getDevice().executeShellCommand(command); in executeShellCommand()
181 getDevice().startUser(userId); in startUser()
190 return getDevice().getMaxNumberOfUsersSupported(); in getMaxNumberOfUsersSupported()
195 String commandOutput = getDevice().executeShellCommand(command); in getUserFlags()
[all …]
/cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/
DTrustedVoiceHostTest.java97 getDevice().executeAdbCommand("logcat", "-c"); in testUnlock()
99 getDevice().executeShellCommand(SLEEP_COMMAND); in testUnlock()
101 getDevice().executeShellCommand(START_COMMAND); in testUnlock()
105 String logs = getDevice().executeAdbCommand( in testUnlock()
127 getDevice().executeShellCommand(AWAKE_COMMAND); in testUnlock()
128 getDevice().executeShellCommand(DISMISS_KEYGUARD_COMMAND); in testUnlock()
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsValidationTest.java80 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in setUp()
88 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown()
95 getDevice().executeShellCommand("dumpsys batterystats enable pretend-screen-off"); in screenOff()
102 getDevice().executeShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOnForReal()
103 getDevice().executeShellCommand("wm dismiss-keyguard"); in turnScreenOnForReal()
107 getDevice().executeShellCommand("dumpsys battery unplug"); in batteryOnScreenOn()
108 getDevice().executeShellCommand("dumpsys batterystats disable pretend-screen-off"); in batteryOnScreenOn()
112 getDevice().executeShellCommand("dumpsys battery unplug"); in batteryOnScreenOff()
113 getDevice().executeShellCommand("dumpsys batterystats enable pretend-screen-off"); in batteryOnScreenOff()
117 getDevice().executeShellCommand("dumpsys battery reset"); in batteryOffScreenOn()
[all …]

123456