Home
last modified time | relevance | path

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

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DBaseJobSchedulerTest.java91 private boolean mDeviceIdleEnabled; field in BaseJobSchedulerTest
146 mDeviceIdleEnabled = isDeviceIdleEnabled(); in setUp()
148 if (mDeviceIdleEnabled || mDeviceLightIdleEnabled) { in setUp()
182 if (mDeviceIdleEnabled || mDeviceLightIdleEnabled) { in tearDown()
218 return mDeviceIdleEnabled || mDeviceLightIdleEnabled; in isDeviceIdleFeatureEnabled()
379 changeCommand = "force-idle " + (mDeviceIdleEnabled ? "deep" : "light"); in setDeviceIdleState()
388 return mDeviceIdleEnabled in setDeviceIdleState()
DJobThrottlingTest.java102 private boolean mDeviceIdleEnabled; field in JobThrottlingTest
134 mDeviceIdleEnabled = isDeviceIdleEnabled(mUiDevice); in setUp()
136 if (mDeviceIdleEnabled || mDeviceLightIdleEnabled) { in setUp()
193 assumeTrue("device idle not enabled", mDeviceIdleEnabled); in testAllowWhileIdleJobInTempwhitelist()
207 assumeTrue("device idle not enabled", mDeviceIdleEnabled); in testForegroundJobsStartImmediately()
229 assumeTrue("device idle not enabled", mDeviceIdleEnabled); in testBackgroundJobsDelayed()
805 assumeTrue("device idle not enabled", mDeviceIdleEnabled); in testExpeditedJobBypassesDeviceIdle()
816 assumeTrue("device idle not enabled", mDeviceIdleEnabled); in testExpeditedJobBypassesDeviceIdle_toggling()
830 assumeTrue("device idle not enabled", mDeviceIdleEnabled); in testExpeditedJobDeferredAfterTimeoutInDoze()
895 assumeTrue("device idle not enabled", mDeviceIdleEnabled); in testExpeditedJobDeferredAfterTimeout_DozeAndBatterySaver()
[all …]