Searched refs:isCachedHtmlFileOutdated (Results 1 – 3 of 3) sorted by relevance
287 assertThat(ModuleLicenseProvider.isCachedHtmlFileOutdated(context, PACKAGE_NAME)).isTrue(); in isCachedHtmlFileOutdated_packageNotInSharedPrefs_returnTrue()306 assertThat(ModuleLicenseProvider.isCachedHtmlFileOutdated(context, PACKAGE_NAME)).isTrue(); in isCachedHtmlFileOutdated_versionCodeDiffersFromSharedPref_returnTrue()328 assertThat(ModuleLicenseProvider.isCachedHtmlFileOutdated(context, PACKAGE_NAME)).isTrue(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue()353 assertThat(ModuleLicenseProvider.isCachedHtmlFileOutdated(context, PACKAGE_NAME)).isTrue(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue()381 assertThat(ModuleLicenseProvider.isCachedHtmlFileOutdated(context, PACKAGE_NAME)).isFalse(); in isCachedHtmlFileOutdated_notOutdated_returnFalse()
67 if (!isCachedHtmlFileOutdated(xmlFiles, cachedHtmlFile) in generateHtmlFromDefaultXmlFiles()90 private boolean isCachedHtmlFileOutdated(List<File> xmlFiles, File cachedHtmlFile) { in isCachedHtmlFileOutdated() method in LicenseHtmlLoader
93 if (isCachedHtmlFileOutdated(context, packageName)) { in openFile()127 static boolean isCachedHtmlFileOutdated(Context context, String packageName) in isCachedHtmlFileOutdated() method in ModuleLicenseProvider