Home
last modified time | relevance | path

Searched refs:stayAwake (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceOwnerTest.java456 final String stayAwake = getDevice().getSetting("global", "stay_on_while_plugged_in"); in testSecurityLoggingWithSingleUser() local
487 if (stayAwake != null) { in testSecurityLoggingWithSingleUser()
488 getDevice().setSetting("global", "stay_on_while_plugged_in", stayAwake); in testSecurityLoggingWithSingleUser()
DBaseDevicePolicyTest.java220 stayAwake(); in setUp()
1025 private void stayAwake() throws Exception { in stayAwake() method in BaseDevicePolicyTest