Home
last modified time | relevance | path

Searched refs:isAsset (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/java/src/com/android/textclassifier/common/
DModelFileManager.java446 public final boolean isAsset; field in ModelFileManager.ModelFile
471 boolean isAsset) { in createFromAssetFileDescriptor() argument
478 isAsset); in createFromAssetFileDescriptor()
487 boolean isAsset) { in ModelFile() argument
496 this.isAsset = isAsset; in ModelFile()
534 if (isAsset) { in open()
544 if (isAsset) { in canWrite()
551 if (isAsset) { in delete()
568 && isAsset == modelFile.isAsset in equals()
577 modelType, absolutePath, version, supportedLocales, languageIndependent, isAsset); in hashCode()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowFontFamily.java28 boolean isAsset, in addFontFromAssetManager() argument
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/
DModelFileManagerTest.java101 modelFiles.stream().filter(modelFile -> modelFile.isAsset).collect(Collectors.toList()); in verifyModelPreloadedAsAsset()
462 assertThat(listedModels.get(0).isAsset).isFalse(); in regularFileFullMatchLister()
480 assertThat(listedModels.get(0).isAsset).isFalse(); in regularFilePatternMatchLister()
481 assertThat(listedModels.get(1).isAsset).isFalse(); in regularFilePatternMatchLister()