Home
last modified time | relevance | path

Searched refs:UNKNOWN_LAST_USE (Results 1 – 5 of 5) sorted by relevance

/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridge.java46 public static final long UNKNOWN_LAST_USE = -1; field in AppStateUsageStatsBridge
98 return UNKNOWN_LAST_USE; in getDaysSinceLastUse()
118 return UNKNOWN_LAST_USE; in getDaysSinceInstalled()
145 if (state.daysSinceFirstInstall == UNKNOWN_LAST_USE in isExtraInfoValid()
146 || state.daysSinceLastUse == UNKNOWN_LAST_USE) { in isExtraInfoValid()
DAppsAsyncLoader.java57 public static final long UNKNOWN_LAST_USE = -1; field in AppsAsyncLoader
365 if (state.daysSinceFirstInstall == UNKNOWN_LAST_USE in isExtraInfoValid()
366 || state.daysSinceLastUse == UNKNOWN_LAST_USE) { in isExtraInfoValid()
387 return UNKNOWN_LAST_USE; in getDaysSinceLastUse()
407 return UNKNOWN_LAST_USE; in getDaysSinceInstalled()
DAppDeletionPreference.java58 } else if (mApp.daysSinceLastUse == AppsAsyncLoader.UNKNOWN_LAST_USE) { in updateSummary()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridgeTest.java164 assertThat(stats.daysSinceLastUse).isEqualTo(AppStateUsageStatsBridge.UNKNOWN_LAST_USE); in test_unknownLastUse_isFilteredOut()
179 assertThat(stats.daysSinceLastUse).isEqualTo(AppStateUsageStatsBridge.UNKNOWN_LAST_USE); in test_noThresholdFilter_unknownLastUse_isFilteredOut()
DAppDeletionPreferenceTest.java146 .setDaysSinceLastUse(AppsAsyncLoader.UNKNOWN_LAST_USE) in testUnknownLastUsePreferenceSummary()