Searched refs:maxInstalledCacheDuration (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
H A DInstantAppRegistry.java604 final long maxInstalledCacheDuration = Settings.Global.getLong(
616 maxInstalledCacheDuration, maxUninstalledCacheDuration);
622 boolean pruneInstalledInstantApps(long neededSpace, long maxInstalledCacheDuration) { argument
624 return pruneInstantApps(neededSpace, maxInstalledCacheDuration, Long.MAX_VALUE);
643 * <code>maxInstalledCacheDuration</code> and <code>maxUninstalledCacheDuration</code>
647 * @param maxInstalledCacheDuration The max duration for caching installed apps in millis.
653 private boolean pruneInstantApps(long neededSpace, long maxInstalledCacheDuration, argument
674 if (now - pkg.getLatestPackageUseTimeInMills() < maxInstalledCacheDuration) {

Completed in 65 milliseconds