Searched refs:modelFile (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | ActionsModelParamsSupplierTest.java | 36 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()
|
D | ModelFileManagerTest.java | 87 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/ |
D | cts_generator.py | 87 [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, \
|
D | vts_generator.py | 316 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, \
|
D | test_generator.py | 1219 modelFile = "" variable in FileNames 1263 FileNames.modelFile = FileNames.modelFiles[FileNames.fileIndex]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierImpl.java | 858 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()
|