Home
last modified time | relevance | path

Searched refs:ModelFileManager (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;
51 private ModelFileManager.ModelFileSupplierImpl mModelFileSupplierImpl;
52 private ModelFileManager mModelFileManager;
60 mModelFileManager = new ModelFileManager(mModelFileSupplier); in setup()
66 new ModelFileManager.ModelFileSupplierImpl( in setup()
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()
[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/
DTextClassifierImpl.java103 private ModelFileManager.ModelFile mAnnotatorModelInUse;
108 private ModelFileManager.ModelFile mLangIdModelInUse;
113 private ModelFileManager.ModelFile mActionModelInUse;
123 private final ModelFileManager mAnnotatorModelFileManager;
124 private final ModelFileManager mLangIdModelFileManager;
125 private final ModelFileManager mActionsModelFileManager;
137 mAnnotatorModelFileManager = new ModelFileManager( in TextClassifierImpl()
138 new ModelFileManager.ModelFileSupplierImpl( in TextClassifierImpl()
144 mLangIdModelFileManager = new ModelFileManager( in TextClassifierImpl()
145 new ModelFileManager.ModelFileSupplierImpl( in TextClassifierImpl()
[all …]
DModelFileManager.java47 public final class ModelFileManager { class
53 public ModelFileManager(Supplier<List<ModelFile>> modelFileSupplier) { in ModelFileManager() method in ModelFileManager
DActionsModelParamsSupplier.java171 public byte[] getSerializedPreconditions(ModelFileManager.ModelFile modelInUse) { in getSerializedPreconditions()
/frameworks/base/config/
Dpreloaded-classes4128 android.view.textclassifier.ModelFileManager$ModelFileSupplierImpl
4129 android.view.textclassifier.ModelFileManager
Dboot-image-profile.txt18269 HSPLandroid/view/textclassifier/ModelFileManager$ModelFile;-><init>(Ljava/io/File;ILjava/util/List;…
18270 HSPLandroid/view/textclassifier/ModelFileManager$ModelFile;->isPreferredTo(Landroid/view/textclassi…
18271 HSPLandroid/view/textclassifier/ModelFileManager$ModelFile;->toString()Ljava/lang/String;
18272 HSPLandroid/view/textclassifier/ModelFileManager$ModelFileSupplierImpl;-><init>(Ljava/io/File;Ljava…
18273 …ew/textclassifier/ModelFileManager$ModelFileSupplierImpl;->createModelFile(Ljava/io/File;)Landroid…
18274 HSPLandroid/view/textclassifier/ModelFileManager$ModelFileSupplierImpl;->get()Ljava/lang/Object;
18275 HSPLandroid/view/textclassifier/ModelFileManager$ModelFileSupplierImpl;->get()Ljava/util/List;
18276 HSPLandroid/view/textclassifier/ModelFileManager$ModelFileSupplierImpl;->maybeCloseAndLogError(Land…
18277 …id/view/textclassifier/ModelFileManager;->findBestModelFile(Landroid/os/LocaleList;)Landroid/view/…
18278 HSPLandroid/view/textclassifier/ModelFileManager;->listModelFiles()Ljava/util/List;
[all …]