Searched refs:local_ref (Results 1 – 5 of 5) sorted by relevance
154 jobject local_ref = env->NewStringUTF("Dummy"); in TEST_F() local156 global_refs_.push_back(env->NewGlobalRef(local_ref)); in TEST_F()169 global_refs_.push_back(env->NewGlobalRef(local_ref)); in TEST_F()
948 ScopedLocalRef<jobject> local_ref(env, env->NewLocalRef(obj)); in LoadNativeLibrary() local949 if (local_ref != nullptr) { in LoadNativeLibrary()950 ScopedLocalRef<jclass> local_class(env, env->GetObjectClass(local_ref.get())); in LoadNativeLibrary()956 env->CallObjectMethod(local_ref.get(), to_string)); in LoadNativeLibrary()
1482 jobjectArray local_ref = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F() local1483 ASSERT_NE(local_ref, nullptr); in TEST_F()1484 jweak weak_global = env_->NewWeakGlobalRef(local_ref); in TEST_F()1486 env_->DeleteLocalRef(local_ref); in TEST_F()
886 ScopedLocalRef<jobject> local_ref( in CreateClassLoader() local888 return soa.Env()->NewGlobalRef(local_ref.get()); in CreateClassLoader()
9740 ScopedLocalRef<jobject> local_ref( in CreateWellKnownClassLoader() local9742 return soa.Env()->NewGlobalRef(local_ref.get()); in CreateWellKnownClassLoader()