Searched refs:isCachedHtmlFileOutdated (Results 1 – 3 of 3) sorted by relevance
291 assertThat(ModuleLicenseProvider.isCachedHtmlFileOutdated(context, PACKAGE_NAME)).isTrue(); in isCachedHtmlFileOutdated_packageNotInSharedPrefs_returnTrue()310 assertThat(ModuleLicenseProvider.isCachedHtmlFileOutdated(context, PACKAGE_NAME)).isTrue(); in isCachedHtmlFileOutdated_versionCodeDiffersFromSharedPref_returnTrue()332 assertThat(ModuleLicenseProvider.isCachedHtmlFileOutdated(context, PACKAGE_NAME)).isTrue(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue()357 assertThat(ModuleLicenseProvider.isCachedHtmlFileOutdated(context, PACKAGE_NAME)).isTrue(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue()385 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