Searched refs:unusedThreshold (Results 1 – 4 of 4) sorted by relevance
44 private var unusedThreshold = getUnusedThresholdMs() in <lambda>() variable in com.android.permissioncontroller.permission.data.UnusedPackagesLiveData45 private var usageStatsLiveData = UsageStatsLiveData[unusedThreshold] in <lambda>()64 unusedThreshold = getUnusedThresholdMs() in <lambda>()65 usageStatsLiveData = UsageStatsLiveData[unusedThreshold] in <lambda>()96 (now - stat.lastTimePackageUsed()) < unusedThreshold) { in <lambda>()
89 long unusedThreshold = DeviceConfig.getLong(DeviceConfig.NAMESPACE_PERMISSIONS, in getNumHibernated() local92 now - unusedThreshold, now); in getNumHibernated()105 && (now - usageStats.getLastTimeAnyComponentUsed() < unusedThreshold in getNumHibernated()106 || now - usageStats.getLastTimeVisible() < unusedThreshold)); in getNumHibernated()
150 final long unusedThreshold = DeviceConfig.getLong(DeviceConfig.NAMESPACE_PERMISSIONS, in getUnusedCount() local153 now - unusedThreshold, now); in getUnusedCount()166 && (now - usageStats.getLastTimeAnyComponentUsed() < unusedThreshold in getUnusedCount()167 || now - usageStats.getLastTimeVisible() < unusedThreshold)); in getUnusedCount()
34 val unusedThreshold: Long, constant in com.android.permissioncontroller.hibernation.HibernationController88 if (now - lastUsedGlobally < unusedThreshold) { in hibernateApps()