Home
last modified time | relevance | path

Searched refs:annotatorPtr (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/java/com/google/android/textclassifier/
DAnnotatorModel.java46 private long annotatorPtr; field in AnnotatorModel
75 annotatorPtr = nativeNewAnnotator(fileDescriptor); in AnnotatorModel()
76 if (annotatorPtr == 0L) { in AnnotatorModel()
86 annotatorPtr = nativeNewAnnotatorFromPath(path); in AnnotatorModel()
87 if (annotatorPtr == 0L) { in AnnotatorModel()
94 if (!nativeInitializeKnowledgeEngine(annotatorPtr, serializedConfig)) { in initializeKnowledgeEngine()
101 if (!nativeInitializeContactEngine(annotatorPtr, serializedConfig)) { in initializeContactEngine()
108 if (!nativeInitializeInstalledAppEngine(annotatorPtr, serializedConfig)) { in initializeInstalledAppEngine()
125 return nativeSuggestSelection(annotatorPtr, context, selectionBegin, selectionEnd, options); in suggestSelection()
155 annotatorPtr, context, selectionBegin, selectionEnd, options, appContext, deviceLocales); in classifyText()
[all …]
DActionsSuggestionsModel.java259 long annotatorPtr, in nativeSuggestActions() argument
/external/libtextclassifier/actions/
Dactions_jni.h42 jlong annotatorPtr, jobject app_context, jstring device_locales,
Dactions_jni.cc360 jlong annotatorPtr, jobject app_context, jstring device_locales, in TC3_JNI_METHOD()
370 const Annotator* annotator = reinterpret_cast<Annotator*>(annotatorPtr); in TC3_JNI_METHOD()