Searched refs:local_ref (Results 1 – 5 of 5) sorted by relevance
154 jobject local_ref = env->NewStringUTF("Hello"); 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()
950 ScopedLocalRef<jobject> local_ref(env, env->NewLocalRef(obj)); in LoadNativeLibrary() local951 if (local_ref != nullptr) { in LoadNativeLibrary()952 ScopedLocalRef<jclass> local_class(env, env->GetObjectClass(local_ref.get())); in LoadNativeLibrary()958 env->CallObjectMethod(local_ref.get(), to_string)); in LoadNativeLibrary()
1481 jobjectArray local_ref = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F() local1482 ASSERT_NE(local_ref, nullptr); in TEST_F()1483 jweak weak_global = env_->NewWeakGlobalRef(local_ref); in TEST_F()1485 env_->DeleteLocalRef(local_ref); in TEST_F()
887 ScopedLocalRef<jobject> local_ref( in CreateClassLoader() local889 return soa.Env()->NewGlobalRef(local_ref.get()); in CreateClassLoader()
9839 ScopedLocalRef<jobject> local_ref( in CreateWellKnownClassLoader() local9841 return soa.Env()->NewGlobalRef(local_ref.get()); in CreateWellKnownClassLoader()