Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
H A DAppStandbyControllerTests.java1919 mController.mAppStandbyScreenThresholds[i]); in testChangingSettings_ScreenThreshold_Invalid()
1936 mController.mAppStandbyScreenThresholds[i]); in testChangingSettings_ScreenThreshold_Valid()
1948 for (int i = 0; i < mController.mAppStandbyScreenThresholds.length; ++i) { in testChangingSettings_ScreenThreshold_Valid()
1949 assertEquals((90 + i) * DAY_MS, mController.mAppStandbyScreenThresholds[i]); in testChangingSettings_ScreenThreshold_Valid()
1962 assertEquals(DEFAULT_SCREEN_TIME_THRESHOLDS[0], mController.mAppStandbyScreenThresholds[0]); in testChangingSettings_ScreenThreshold_Valid()
1963 assertEquals(31 * DAY_MS, mController.mAppStandbyScreenThresholds[1]); in testChangingSettings_ScreenThreshold_Valid()
1964 assertEquals(62 * DAY_MS, mController.mAppStandbyScreenThresholds[2]); in testChangingSettings_ScreenThreshold_Valid()
1965 assertEquals(DEFAULT_SCREEN_TIME_THRESHOLDS[3], mController.mAppStandbyScreenThresholds[3]); in testChangingSettings_ScreenThreshold_Valid()
1966 assertEquals(93 * DAY_MS, mController.mAppStandbyScreenThresholds[4]); in testChangingSettings_ScreenThreshold_Valid()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
H A DAppStandbyController.java285 long[] mAppStandbyScreenThresholds = DEFAULT_SCREEN_TIME_THRESHOLDS; field in AppStandbyController
916 elapsedRealtime, mAppStandbyScreenThresholds, mAppStandbyElapsedThresholds); in getBucketForLocked()
1971 pw.print("mScreenThresholds="); pw.println(Arrays.toString(mAppStandbyScreenThresholds)); in dumpState()
2542 mAppStandbyScreenThresholds = generateThresholdArray( in updateTimeThresholds()