Home
last modified time | relevance | path

Searched refs:g_jenv (Results 1 – 9 of 9) sorted by relevance

/external/libtextclassifier/native/utils/
Djvm-test-utils.h27 extern JNIEnv* g_jenv;
34 return std::make_unique<UniLib>(JniCache::Create(g_jenv)); in CreateUniLibForTesting()
42 return std::make_unique<CalendarLib>(JniCache::Create(g_jenv)); in CreateCalendarLibForTesting()
49 inline JNIEnv* GetJenv() { return g_jenv; } in GetJenv()
/external/icing/icing/testing/
Djni-test-helpers.h26 extern JNIEnv* g_jenv;
28 #define ICING_TEST_JNI_CACHE JniCache::Create(g_jenv).ValueOrDie()
/external/icing/icing/tokenization/
Dlanguage-segmenter-iterator-test-jni-layer.cc21 JNIEnv* g_jenv = nullptr; variable
26 g_jenv = env; in Java_icing_jni_LanguageSegmenterIteratorJniTest_testsMain()
Dplain-tokenizer-test-jni-layer.cc21 JNIEnv* g_jenv = nullptr; variable
25 g_jenv = env; in Java_icing_jni_PlainTokenizerJniTest_testsMain()
/external/icing/icing/
Dicing-search-engine-test-jni-layer.cc21 JNIEnv* g_jenv = nullptr; variable
25 g_jenv = env; in Java_icing_jni_IcingSearchEngineJniTest_testsMain()
/external/icing/icing/query/
Dquery-processor-test-jni-layer.cc21 JNIEnv* g_jenv = nullptr; variable
25 g_jenv = env; in Java_icing_jni_QueryProcessorJniTest_testsMain()
/external/icing/icing/result/
Dsnippet-retriever-test-jni-layer.cc21 JNIEnv* g_jenv = nullptr; variable
25 g_jenv = env; in Java_icing_jni_SnippetRetrieverJniTest_testsMain()
/external/icing/icing/tokenization/reverse_jni/
Dreverse-jni-language-segmenter-test-jni-layer.cc21 JNIEnv* g_jenv = nullptr; variable
26 g_jenv = env; in Java_icing_jni_ReverseJniLanguageSegmenterJniTest_testsMain()
/external/libtextclassifier/native/testing/
Djvm_test_launcher.cc6 JNIEnv* g_jenv = nullptr; variable
13 g_jenv = env; in Java_com_google_android_textclassifier_tests_JvmTestLauncher_testsMain()