Home
last modified time | relevance | path

Searched refs:IsSameObject (Results 1 – 13 of 13) sorted by relevance

/art/test/931-agent-thread/
Dagent_thread.cc54 CHECK(!env->IsSameObject(this_thread, data->main_thread)); in AgentMain()
80 if (env->IsSameObject(threads[i], this_thread)) { in AgentMain()
/art/compiler/jni/
Djni_compiler_test.cc494 EXPECT_TRUE(env->IsSameObject(static_cast<jobject>(JniCompilerTest::jklass_), in expectValidJniEnvAndClass()
827 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunIntObjectObjectMethodImpl()
831 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunIntObjectObjectMethodImpl()
834 EXPECT_TRUE(env_->IsSameObject(nullptr, result)); in CompileAndRunIntObjectObjectMethodImpl()
837 EXPECT_TRUE(env_->IsSameObject(jklass_, result)); in CompileAndRunIntObjectObjectMethodImpl()
841 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunIntObjectObjectMethodImpl()
844 EXPECT_TRUE(env_->IsSameObject(jklass_, result)); in CompileAndRunIntObjectObjectMethodImpl()
847 EXPECT_TRUE(env_->IsSameObject(nullptr, result)); in CompileAndRunIntObjectObjectMethodImpl()
1047 EXPECT_TRUE(env_->IsSameObject(jklass_, result)); in CompileAndRunStaticIntObjectObjectMethodImpl()
1051 EXPECT_TRUE(env_->IsSameObject(jklass_, result)); in CompileAndRunStaticIntObjectObjectMethodImpl()
[all …]
/art/test/912-classes/
Dclasses.cc447 CHECK(env->IsSameObject(target, target_local)); in AgentThreadTest()
478 CHECK(jni_env->IsSameObject(stored_class_, klass)); in ClassPrepareCallback()
479 CHECK(jni_env->IsSameObject(weakly_stored_class_, klass)); in ClassPrepareCallback()
504 CHECK(jni_env->IsSameObject(value, stored.get())); in SetOrCompare()
534 CHECK(jni_env->IsSameObject(value, weak_referent.get())); in SetOrCompare()
/art/test/904-object-allocation/
Dtracking.cc137 if (env->IsSameObject(req_thread, thr.get())) { in Java_art_Test904_getTrackingEventMessages()
/art/test/ti-agent/
Dexceptions_helper.cc89 if (!jnienv->IsSameObject(data->exception_klass, jnienv->GetObjectClass(throwable))) { in exceptionCatchCB()
/art/runtime/jni/
Djni_internal_test.cc1297 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(a, 0), nullptr)); in TEST_F()
1344 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(a, 0), s)); in TEST_F()
1345 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(a, 1), s)); in TEST_F()
1374 ASSERT_TRUE(env_->IsSameObject(string_class, c)); in TEST_F()
1377 ASSERT_TRUE(env_->IsSameObject(class_class, env_->GetObjectClass(c2))); in TEST_F()
1392 ASSERT_TRUE(env_->IsSameObject(object_class, env_->GetSuperclass(string_class))); in TEST_F()
1760 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(array, 0), java_lang_Class)); in TEST_F()
1946 ASSERT_TRUE(env_->IsSameObject(s1, env_->GetStaticObjectField(c, s_fid))); \
1948 ASSERT_TRUE(env_->IsSameObject(s2, env_->GetStaticObjectField(c, s_fid))); \
1951 ASSERT_TRUE(env_->IsSameObject(s1, env_->GetObjectField(o, i_fid))); \
[all …]
Dcheck_jni.cc2120 static jboolean IsSameObject(JNIEnv* env, jobject ref1, jobject ref2) { in IsSameObject() function in art::__anon01b981930111::CheckJNI
2127 result.b = baseEnv(env)->IsSameObject(env, ref1, ref2); in IsSameObject()
2789 DCHECK_EQ(IsSameObject(env, obj, result.L), JNI_TRUE); in NewRef()
3795 CheckJNI::IsSameObject,
Djni_internal.cc891 static jboolean IsSameObject(JNIEnv* env, jobject obj1, jobject obj2) { in IsSameObject() function in art::JNI
2908 JNI::IsSameObject,
/art/runtime/jdwp/
Dobject_registry.cc250 return env->IsSameObject(entry.jni_reference, nullptr); // Has the jweak been collected? in IsCollected()
/art/test/004-JniTest/
Djni_test.cc343 CHECK(env->IsSameObject(unsatisfied_link_error_clazz, thrown_class)); in testShallowGetCallingClassLoader()
/art/test/1953-pop-frame/
Dpop_frame.cc219 if (field != data->target_field || !env->IsSameObject(field_klass, data->target_klass)) { in cbFieldAccess()
/art/runtime/
Dclass_linker.cc9523 CHECK(self->GetJniEnv()->IsSameObject(loader_class, in CreateWellKnownClassLoader()
9525 self->GetJniEnv()->IsSameObject(loader_class, in CreateWellKnownClassLoader()
9527 self->GetJniEnv()->IsSameObject(loader_class, in CreateWellKnownClassLoader()
Dthread.cc2275 CHECK(soa.Env()->IsSameObject(thread_group, thread_group_jobject)); in NotifyThreadGroup()