Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
H A DAppStandbyControllerTests.java1947 mController.mAppStandbyElapsedThresholds[i]); in testChangingSettings_ElapsedThreshold_Invalid()
1964 mController.mAppStandbyElapsedThresholds[i]); in testChangingSettings_ElapsedThreshold_Valid()
1976 for (int i = 0; i < mController.mAppStandbyElapsedThresholds.length; ++i) { in testChangingSettings_ElapsedThreshold_Valid()
1977 assertEquals((90 + i) * DAY_MS, mController.mAppStandbyElapsedThresholds[i]); in testChangingSettings_ElapsedThreshold_Valid()
1991 mController.mAppStandbyElapsedThresholds[0]); in testChangingSettings_ElapsedThreshold_Valid()
1992 assertEquals(31 * DAY_MS, mController.mAppStandbyElapsedThresholds[1]); in testChangingSettings_ElapsedThreshold_Valid()
1993 assertEquals(62 * DAY_MS, mController.mAppStandbyElapsedThresholds[2]); in testChangingSettings_ElapsedThreshold_Valid()
1995 mController.mAppStandbyElapsedThresholds[3]); in testChangingSettings_ElapsedThreshold_Valid()
1996 assertEquals(93 * DAY_MS, mController.mAppStandbyElapsedThresholds[4]); in testChangingSettings_ElapsedThreshold_Valid()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
H A DAppStandbyController.java335 long[] mAppStandbyElapsedThresholds = DEFAULT_ELAPSED_TIME_THRESHOLDS; field in AppStandbyController
1115 elapsedRealtime, mAppStandbyScreenThresholds, mAppStandbyElapsedThresholds); in getBucketForLocked()
2517 pw.print("mElapsedThresholds="); pw.println(Arrays.toString(mAppStandbyElapsedThresholds)); in dumpState()
3238 mAppStandbyElapsedThresholds = generateThresholdArray( in updateTimeThresholds()
3241 mCheckIdleIntervalMillis = Math.min(mAppStandbyElapsedThresholds[1] / 4, in updateTimeThresholds()