Home
last modified time | relevance | path

Searched refs:modelFile (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DActionsModelParamsSupplierTest.java36 ModelFileManager.ModelFile modelFile = new ModelFileManager.ModelFile( in getSerializedPreconditions_validActionsModelParams() local
49 byte[] actual = params.getSerializedPreconditions(modelFile); in getSerializedPreconditions_validActionsModelParams()
56 ModelFileManager.ModelFile modelFile = new ModelFileManager.ModelFile( in getSerializedPreconditions_invalidVersion() local
69 byte[] actual = params.getSerializedPreconditions(modelFile); in getSerializedPreconditions_invalidVersion()
77 ModelFileManager.ModelFile modelFile = new ModelFileManager.ModelFile( in getSerializedPreconditions_invalidLocales() local
90 byte[] actual = params.getSerializedPreconditions(modelFile); in getSerializedPreconditions_invalidLocales()
DModelFileManagerTest.java87 ModelFileManager.ModelFile modelFile = in get() local
90 when(mModelFileSupplier.get()).thenReturn(Collections.singletonList(modelFile)); in get()
95 assertThat(modelFiles.get(0)).isEqualTo(modelFile); in get()
324 .map(modelFile -> modelFile.getPath()) in testFileSupplierImpl_updatedFileOnly()
/frameworks/ml/nn/tools/test_generator/
Dcts_generator.py87 [tg.FileNames.modelFile, tg.FileNames.exampleFile, tg.FileNames.testFile]):
90 modelTime = os.path.getmtime(tg.FileNames.modelFile)
115 model_file=re.sub(pathRegex, "", tg.FileNames.modelFile),
291 print("Output CTS model: %s" % tg.FileNames.modelFile, file=sys.stderr)
294 with SmartOpen(tg.FileNames.modelFile) as model_fd, \
Dvts_generator.py316 model_file=re.sub(pathRegex, "", tg.FileNames.modelFile),
325 print("Output VTS model: %s" % tg.FileNames.modelFile, file=sys.stderr)
327 with SmartOpen(tg.FileNames.modelFile) as model_fd, \
Dtest_generator.py1219 modelFile = "" variable in FileNames
1263 FileNames.modelFile = FileNames.modelFiles[FileNames.fileIndex]
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierImpl.java858 for (ModelFileManager.ModelFile modelFile : in dump()
860 printWriter.println(modelFile.toString()); in dump()
865 for (ModelFileManager.ModelFile modelFile : in dump()
867 printWriter.println(modelFile.toString()); in dump()
872 for (ModelFileManager.ModelFile modelFile : in dump()
874 printWriter.println(modelFile.toString()); in dump()