Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java2022 mController.mAppStandbyScreenThresholds[i]); in testChangingSettings_ScreenThreshold_Invalid()
2039 mController.mAppStandbyScreenThresholds[i]); in testChangingSettings_ScreenThreshold_Valid()
2051 for (int i = 0; i < mController.mAppStandbyScreenThresholds.length; ++i) { in testChangingSettings_ScreenThreshold_Valid()
2052 assertEquals((90 + i) * DAY_MS, mController.mAppStandbyScreenThresholds[i]); in testChangingSettings_ScreenThreshold_Valid()
2065 assertEquals(DEFAULT_SCREEN_TIME_THRESHOLDS[0], mController.mAppStandbyScreenThresholds[0]); in testChangingSettings_ScreenThreshold_Valid()
2066 assertEquals(31 * DAY_MS, mController.mAppStandbyScreenThresholds[1]); in testChangingSettings_ScreenThreshold_Valid()
2067 assertEquals(62 * DAY_MS, mController.mAppStandbyScreenThresholds[2]); in testChangingSettings_ScreenThreshold_Valid()
2068 assertEquals(DEFAULT_SCREEN_TIME_THRESHOLDS[3], mController.mAppStandbyScreenThresholds[3]); in testChangingSettings_ScreenThreshold_Valid()
2069 assertEquals(93 * DAY_MS, mController.mAppStandbyScreenThresholds[4]); in testChangingSettings_ScreenThreshold_Valid()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java333 long[] mAppStandbyScreenThresholds = DEFAULT_SCREEN_TIME_THRESHOLDS; field in AppStandbyController
1121 elapsedRealtime, mAppStandbyScreenThresholds, mAppStandbyElapsedThresholds); in getBucketForLocked()
2547 pw.print("mScreenThresholds="); pw.println(Arrays.toString(mAppStandbyScreenThresholds)); in dumpState()
3298 mAppStandbyScreenThresholds = generateThresholdArray( in updateTimeThresholds()