Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
H A DAppStandbyControllerTests.java1855 mController.mAppStandbyElapsedThresholds[i]); in testChangingSettings_ElapsedThreshold_Invalid()
1872 mController.mAppStandbyElapsedThresholds[i]); in testChangingSettings_ElapsedThreshold_Valid()
1884 for (int i = 0; i < mController.mAppStandbyElapsedThresholds.length; ++i) { in testChangingSettings_ElapsedThreshold_Valid()
1885 assertEquals((90 + i) * DAY_MS, mController.mAppStandbyElapsedThresholds[i]); in testChangingSettings_ElapsedThreshold_Valid()
1899 mController.mAppStandbyElapsedThresholds[0]); in testChangingSettings_ElapsedThreshold_Valid()
1900 assertEquals(31 * DAY_MS, mController.mAppStandbyElapsedThresholds[1]); in testChangingSettings_ElapsedThreshold_Valid()
1901 assertEquals(62 * DAY_MS, mController.mAppStandbyElapsedThresholds[2]); in testChangingSettings_ElapsedThreshold_Valid()
1903 mController.mAppStandbyElapsedThresholds[3]); in testChangingSettings_ElapsedThreshold_Valid()
1904 assertEquals(93 * DAY_MS, mController.mAppStandbyElapsedThresholds[4]); in testChangingSettings_ElapsedThreshold_Valid()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
H A DAppStandbyController.java290 long[] mAppStandbyElapsedThresholds = DEFAULT_ELAPSED_TIME_THRESHOLDS; field in AppStandbyController
916 elapsedRealtime, mAppStandbyScreenThresholds, mAppStandbyElapsedThresholds); in getBucketForLocked()
1972 pw.print("mElapsedThresholds="); pw.println(Arrays.toString(mAppStandbyElapsedThresholds)); in dumpState()
2545 mAppStandbyElapsedThresholds = generateThresholdArray( in updateTimeThresholds()
2548 mCheckIdleIntervalMillis = Math.min(mAppStandbyElapsedThresholds[1] / 4, in updateTimeThresholds()