Home
last modified time | relevance | path

Searched refs:ModelFile (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DModelFileManagerTest.java50 private Supplier<List<ModelFileManager.ModelFile>> mModelFileSupplier;
71 fd -> ModelFileManager.ModelFile.LANGUAGE_INDEPENDENT in setup()
87 ModelFileManager.ModelFile modelFile = in get()
88 new ModelFileManager.ModelFile( in get()
92 List<ModelFileManager.ModelFile> modelFiles = mModelFileManager.listModelFiles(); in get()
100 ModelFileManager.ModelFile olderModelFile = in findBestModel_versionCode()
101 new ModelFileManager.ModelFile( in findBestModel_versionCode()
105 ModelFileManager.ModelFile newerModelFile = in findBestModel_versionCode()
106 new ModelFileManager.ModelFile( in findBestModel_versionCode()
112 ModelFileManager.ModelFile bestModelFile = in findBestModel_versionCode()
[all …]
DActionsModelParamsSupplierTest.java36 ModelFileManager.ModelFile modelFile = new ModelFileManager.ModelFile( in getSerializedPreconditions_validActionsModelParams()
56 ModelFileManager.ModelFile modelFile = new ModelFileManager.ModelFile( in getSerializedPreconditions_invalidVersion()
77 ModelFileManager.ModelFile modelFile = new ModelFileManager.ModelFile( in getSerializedPreconditions_invalidLocales()
/frameworks/base/core/java/android/view/textclassifier/
DModelFileManager.java49 private final Supplier<List<ModelFile>> mModelFileSupplier;
51 private List<ModelFile> mModelFiles;
53 public ModelFileManager(Supplier<List<ModelFile>> modelFileSupplier) { in ModelFileManager()
62 public List<ModelFile> listModelFiles() { in listModelFiles()
76 public ModelFile findBestModelFile(@Nullable LocaleList localeList) { in findBestModelFile()
82 ModelFile bestModel = null; in findBestModelFile()
83 for (ModelFile model : listModelFiles()) { in findBestModelFile()
96 public static final class ModelFileSupplierImpl implements Supplier<List<ModelFile>> {
118 public List<ModelFile> get() { in get()
119 final List<ModelFile> modelFiles = new ArrayList<>(); in get()
[all …]
DTextClassifierImpl.java103 private ModelFileManager.ModelFile mAnnotatorModelInUse;
108 private ModelFileManager.ModelFile mLangIdModelInUse;
113 private ModelFileManager.ModelFile mActionModelInUse;
150 fd -> ModelFileManager.ModelFile.LANGUAGE_INDEPENDENT)); in TextClassifierImpl()
548 final ModelFileManager.ModelFile bestModel = in getAnnotatorImpl()
576 final ModelFileManager.ModelFile bestModel = in getLangIdImpl()
602 final ModelFileManager.ModelFile bestModel = in getActionsImpl()
858 for (ModelFileManager.ModelFile modelFile : in dump()
865 for (ModelFileManager.ModelFile modelFile : in dump()
872 for (ModelFileManager.ModelFile modelFile : in dump()
DActionsModelParamsSupplier.java171 public byte[] getSerializedPreconditions(ModelFileManager.ModelFile modelInUse) { in getSerializedPreconditions()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt77069 Landroid/view/textclassifier/TextClassifierImpl$ModelFile;-><init>(Ljava/lang/String;Ljava/lang/Str…
77070 …assifier/TextClassifierImpl$ModelFile;->fromPath(Ljava/lang/String;)Landroid/view/textclassifier/T…
77071 Landroid/view/textclassifier/TextClassifierImpl$ModelFile;->getName()Ljava/lang/String;
77072 Landroid/view/textclassifier/TextClassifierImpl$ModelFile;->getPath()Ljava/lang/String;
77073 Landroid/view/textclassifier/TextClassifierImpl$ModelFile;->getSupportedLocales()Ljava/util/List;
77074 Landroid/view/textclassifier/TextClassifierImpl$ModelFile;->getVersion()I
77075 Landroid/view/textclassifier/TextClassifierImpl$ModelFile;->isAnyLanguageSupported(Ljava/util/List;…
77076 …/textclassifier/TextClassifierImpl$ModelFile;->isPreferredTo(Landroid/view/textclassifier/TextClas…
77077 Landroid/view/textclassifier/TextClassifierImpl$ModelFile;->mLanguageIndependent:Z
77078 Landroid/view/textclassifier/TextClassifierImpl$ModelFile;->mName:Ljava/lang/String;
[all …]
Dboot-image-profile.txt18269 HSPLandroid/view/textclassifier/ModelFileManager$ModelFile;-><init>(Ljava/io/File;ILjava/util/List;…
18270 …iew/textclassifier/ModelFileManager$ModelFile;->isPreferredTo(Landroid/view/textclassifier/ModelFi…
18271 HSPLandroid/view/textclassifier/ModelFileManager$ModelFile;->toString()Ljava/lang/String;
18273 …plierImpl;->createModelFile(Ljava/io/File;)Landroid/view/textclassifier/ModelFileManager$ModelFile;
18277 …>findBestModelFile(Landroid/os/LocaleList;)Landroid/view/textclassifier/ModelFileManager$ModelFile;