Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DPeriodicJobReceiverTest.java96 insertExpiredData(/*shiftDay=*/ DatabaseUtils.DATA_RETENTION_INTERVAL_DAY); in onReceive_containsExpiredData_clearsExpiredDataFromDatabase()
107 insertExpiredData(/*shiftDay=*/ DatabaseUtils.DATA_RETENTION_INTERVAL_DAY - 1); in onReceive_withoutExpiredData_notClearsExpiredDataFromDatabase()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DDatabaseUtils.java72 static final int DATA_RETENTION_INTERVAL_DAY = 9; field in DatabaseUtils
400 - Duration.ofDays(DATA_RETENTION_INTERVAL_DAY).toMillis(); in clearExpiredDataIfNeeded()