Searched refs:stayAwake (Results 1 – 2 of 2) sorted by relevance
456 final String stayAwake = getDevice().getSetting("global", "stay_on_while_plugged_in"); in testSecurityLoggingWithSingleUser() local487 if (stayAwake != null) { in testSecurityLoggingWithSingleUser()488 getDevice().setSetting("global", "stay_on_while_plugged_in", stayAwake); in testSecurityLoggingWithSingleUser()
220 stayAwake(); in setUp()1025 private void stayAwake() throws Exception { in stayAwake() method in BaseDevicePolicyTest