Searched refs:annotatorPtr (Results 1 – 4 of 4) sorted by relevance
/external/libtextclassifier/java/com/google/android/textclassifier/ |
D | AnnotatorModel.java | 46 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 …]
|
D | ActionsSuggestionsModel.java | 259 long annotatorPtr, in nativeSuggestActions() argument
|
/external/libtextclassifier/actions/ |
D | actions_jni.h | 42 jlong annotatorPtr, jobject app_context, jstring device_locales,
|
D | actions_jni.cc | 360 jlong annotatorPtr, jobject app_context, jstring device_locales, in TC3_JNI_METHOD() 370 const Annotator* annotator = reinterpret_cast<Annotator*>(annotatorPtr); in TC3_JNI_METHOD()
|