Searched refs:local_ref (Results 1 – 4 of 4) sorted by relevance
158 jobject local_ref = env->NewStringUTF("Hello"); in TEST_F() local160 global_refs_.push_back(env->NewGlobalRef(local_ref)); in TEST_F()173 global_refs_.push_back(env->NewGlobalRef(local_ref)); in TEST_F()
978 ScopedLocalRef<jobject> local_ref(env, env->NewLocalRef(obj)); in LoadNativeLibrary() local979 if (local_ref != nullptr) { in LoadNativeLibrary()980 ScopedLocalRef<jclass> local_class(env, env->GetObjectClass(local_ref.get())); in LoadNativeLibrary()986 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()
908 ScopedLocalRef<jobject> local_ref(soa.Env(), soa.Env()->AddLocalReference<jobject>(loader)); in CreateClassLoader() local909 return soa.Env()->NewGlobalRef(local_ref.get()); in CreateClassLoader()