Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
H A DAppStandbyControllerTests.java2011 mController.mAppStandbyScreenThresholds[i]); in testChangingSettings_ScreenThreshold_Invalid()
2028 mController.mAppStandbyScreenThresholds[i]); in testChangingSettings_ScreenThreshold_Valid()
2040 for (int i = 0; i < mController.mAppStandbyScreenThresholds.length; ++i) { in testChangingSettings_ScreenThreshold_Valid()
2041 assertEquals((90 + i) * DAY_MS, mController.mAppStandbyScreenThresholds[i]); in testChangingSettings_ScreenThreshold_Valid()
2054 assertEquals(DEFAULT_SCREEN_TIME_THRESHOLDS[0], mController.mAppStandbyScreenThresholds[0]); in testChangingSettings_ScreenThreshold_Valid()
2055 assertEquals(31 * DAY_MS, mController.mAppStandbyScreenThresholds[1]); in testChangingSettings_ScreenThreshold_Valid()
2056 assertEquals(62 * DAY_MS, mController.mAppStandbyScreenThresholds[2]); in testChangingSettings_ScreenThreshold_Valid()
2057 assertEquals(DEFAULT_SCREEN_TIME_THRESHOLDS[3], mController.mAppStandbyScreenThresholds[3]); in testChangingSettings_ScreenThreshold_Valid()
2058 assertEquals(93 * DAY_MS, mController.mAppStandbyScreenThresholds[4]); in testChangingSettings_ScreenThreshold_Valid()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
H A DAppStandbyController.java330 long[] mAppStandbyScreenThresholds = DEFAULT_SCREEN_TIME_THRESHOLDS; field in AppStandbyController
1115 elapsedRealtime, mAppStandbyScreenThresholds, mAppStandbyElapsedThresholds); in getBucketForLocked()
2516 pw.print("mScreenThresholds="); pw.println(Arrays.toString(mAppStandbyScreenThresholds)); in dumpState()
3235 mAppStandbyScreenThresholds = generateThresholdArray( in updateTimeThresholds()