Searched refs:daysSinceFirstInstall (Results 1 – 3 of 3) sorted by relevance
106 assertThat(stats.daysSinceFirstInstall).isEqualTo(0); in test_appInstalledSameDayNeverUsed_isInvalid()120 assertThat(stats.daysSinceFirstInstall).isEqualTo(0); in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid()134 assertThat(stats.daysSinceFirstInstall).isEqualTo(90); in test_unusedApp_isValid()148 assertThat(stats.daysSinceFirstInstall).isEqualTo(90); in test_noThresholdFilter_unusedApp_isValid()163 assertThat(stats.daysSinceFirstInstall).isEqualTo(90); in test_unknownLastUse_isFilteredOut()178 assertThat(stats.daysSinceFirstInstall).isEqualTo(90); in test_noThresholdFilter_unknownLastUse_isFilteredOut()193 assertThat(stats.daysSinceFirstInstall).isEqualTo(200); in test_oldAppRecentlyUsed_isNotValid()208 assertThat(stats.daysSinceFirstInstall).isEqualTo(200); in test_noThresholdFilter_oldAppRecentlyUsed_isValid()223 assertThat(stats.daysSinceFirstInstall).isEqualTo(200); in test_oldUnusedApp_isValid()238 assertThat(stats.daysSinceFirstInstall).isEqualTo(200); in test_noThresholdFilter_oldUnusedApp_isValid()[all …]
145 if (state.daysSinceFirstInstall == UNKNOWN_LAST_USE in isExtraInfoValid()153 long mostRecentUse = Math.min(state.daysSinceFirstInstall, state.daysSinceLastUse); in isExtraInfoValid()204 public long daysSinceFirstInstall; field in AppStateUsageStatsBridge.UsageStatsState207 public UsageStatsState(long daysSinceLastUse, long daysSinceFirstInstall, int userId) { in UsageStatsState() argument209 this.daysSinceFirstInstall = daysSinceFirstInstall; in UsageStatsState()
365 if (state.daysSinceFirstInstall == UNKNOWN_LAST_USE in isExtraInfoValid()373 long mostRecentUse = Math.min(state.daysSinceFirstInstall, state.daysSinceLastUse); in isExtraInfoValid()437 public long daysSinceFirstInstall; field in AppsAsyncLoader.PackageInfo451 long daysSinceFirstInstall, in PackageInfo() argument459 this.daysSinceFirstInstall = daysSinceFirstInstall; in PackageInfo()483 public Builder setDaysSinceFirstInstall(long daysSinceFirstInstall) { in setDaysSinceFirstInstall() argument484 this.mDaysSinceFirstInstall = daysSinceFirstInstall; in setDaysSinceFirstInstall()