Home
last modified time | relevance | path

Searched refs:LICENSE_FILE_NAME (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProviderTest.java19 import static com.android.settings.deviceinfo.legal.ModuleLicenseProvider.LICENSE_FILE_NAME;
91 .appendPath(LICENSE_FILE_NAME) in getType_notContentScheme_throwsIllegalArgumentException()
102 .appendPath(LICENSE_FILE_NAME) in getType_invalidAuthority_throwsIllegalArgumentException()
121 .appendPath(LICENSE_FILE_NAME) in getType_missingPackageName_throwsIllegalArgumentException()
161 .appendPath(LICENSE_FILE_NAME) in getType_packageNotAModule_throwsIllegalArgumentException()
180 .appendPath(LICENSE_FILE_NAME) in getType_validUri_returnsHtmlMimeType()
191 .appendPath(LICENSE_FILE_NAME) in openFile_notContentScheme_throwsIllegalArgumentException()
202 .appendPath(LICENSE_FILE_NAME) in openFile_invalidAuthority_throwsIllegalArgumentException()
221 .appendPath(LICENSE_FILE_NAME) in openFile_missingPackageName_throwsIllegalArgumentException()
261 .appendPath(LICENSE_FILE_NAME) in openFile_packageNotAModule_throwsIllegalArgumentException()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProvider.java48 static final String LICENSE_FILE_NAME = "NOTICE.html"; field in ModuleLicenseProvider
150 .appendPath(LICENSE_FILE_NAME) in getUriForPackage()
165 || !LICENSE_FILE_NAME.equals(pathSegments.get(1))) { in checkUri()
183 return new File(context.getCacheDir() + "/" + packageName, LICENSE_FILE_NAME); in getCachedHtmlFile()