Home
last modified time | relevance | path

Searched refs:NEVER_USED (Results 1 – 6 of 6) sorted by relevance

/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridge.java45 public static final long NEVER_USED = Long.MAX_VALUE; field in AppStateUsageStatsBridge
93 return NEVER_USED; in getDaysSinceLastUse()
104 return NEVER_USED; in getDaysSinceLastUse()
DAppsAsyncLoader.java56 public static final long NEVER_USED = Long.MAX_VALUE; field in AppsAsyncLoader
382 return NEVER_USED; in getDaysSinceLastUse()
393 return NEVER_USED; in getDaysSinceLastUse()
DAppDeletionPreference.java56 if (mApp.daysSinceLastUse == AppsAsyncLoader.NEVER_USED) { in updateSummary()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridgeTest.java107 assertThat(stats.daysSinceLastUse).isEqualTo(AppStateUsageStatsBridge.NEVER_USED); in test_appInstalledSameDayNeverUsed_isInvalid()
121 assertThat(stats.daysSinceLastUse).isEqualTo(AppStateUsageStatsBridge.NEVER_USED); in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid()
135 assertThat(stats.daysSinceLastUse).isEqualTo(AppStateUsageStatsBridge.NEVER_USED); in test_unusedApp_isValid()
149 assertThat(stats.daysSinceLastUse).isEqualTo(AppStateUsageStatsBridge.NEVER_USED); in test_noThresholdFilter_unusedApp_isValid()
376 assertThat(stats.daysSinceLastUse).isEqualTo(AppStateUsageStatsBridge.NEVER_USED); in testAppUsedOverOneYearAgoIsValid()
DAppsAsyncLoaderTest.java118 createPackage(PACKAGE_NAME, AppsAsyncLoader.NEVER_USED, 0); in test_appInstalledSameDayNeverUsed_isInvalid()
126 createPackage(PACKAGE_NAME, AppsAsyncLoader.NEVER_USED, 0); in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid()
134 createPackage(PACKAGE_NAME, AppsAsyncLoader.NEVER_USED, 90); in test_unusedApp_isValid()
142 createPackage(PACKAGE_NAME, AppsAsyncLoader.NEVER_USED, 90); in test_noThresholdFilter_unusedApp_isValid()
DAppDeletionPreferenceTest.java127 .setDaysSinceLastUse(AppsAsyncLoader.NEVER_USED) in testNeverUsedPreferenceSummary()