Home
last modified time | relevance | path

Searched refs:IsSameObject (Results 1 – 15 of 15) 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.cc575 EXPECT_TRUE(env->IsSameObject(static_cast<jobject>(JniCompilerTest::jklass_), in expectValidJniEnvAndClass()
921 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunIntObjectObjectMethodImpl()
925 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunIntObjectObjectMethodImpl()
928 EXPECT_TRUE(env_->IsSameObject(nullptr, result)); in CompileAndRunIntObjectObjectMethodImpl()
931 EXPECT_TRUE(env_->IsSameObject(jklass_, result)); in CompileAndRunIntObjectObjectMethodImpl()
935 EXPECT_TRUE(env_->IsSameObject(jobj_, result)); in CompileAndRunIntObjectObjectMethodImpl()
938 EXPECT_TRUE(env_->IsSameObject(jklass_, result)); in CompileAndRunIntObjectObjectMethodImpl()
941 EXPECT_TRUE(env_->IsSameObject(nullptr, result)); in CompileAndRunIntObjectObjectMethodImpl()
1141 EXPECT_TRUE(env_->IsSameObject(jklass_, result)); in CompileAndRunStaticIntObjectObjectMethodImpl()
1145 EXPECT_TRUE(env_->IsSameObject(jklass_, result)); in CompileAndRunStaticIntObjectObjectMethodImpl()
[all …]
/art/runtime/native/
Djava_lang_ref_Reference.cc42 return env->IsSameObject(Reference_getReferent(env, javaThis), o); in Reference_refersTo0()
/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/ti-agent/
Dexceptions_helper.cc89 if (!jnienv->IsSameObject(data->exception_klass, jnienv->GetObjectClass(throwable))) { in exceptionCatchCB()
Dsuspend_event_helper.cc218 if (field != data->target_field || !env->IsSameObject(field_klass, data->target_klass)) { in cbFieldAccess()
/art/test/904-object-allocation/
Dtracking.cc135 if (env->IsSameObject(req_thread, thr.get())) { in Java_art_Test904_getTrackingEventMessages()
/art/runtime/jni/
Djni_internal_test.cc1298 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(a, 0), nullptr)); in TEST_F()
1345 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(a, 0), s)); in TEST_F()
1346 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(a, 1), s)); in TEST_F()
1375 ASSERT_TRUE(env_->IsSameObject(string_class, c)); in TEST_F()
1378 ASSERT_TRUE(env_->IsSameObject(class_class, env_->GetObjectClass(c2))); in TEST_F()
1393 ASSERT_TRUE(env_->IsSameObject(object_class, env_->GetSuperclass(string_class))); in TEST_F()
1878 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(array, 0), java_lang_Class)); in TEST_F()
2064 ASSERT_TRUE(env_->IsSameObject(s1, env_->GetStaticObjectField(c, s_fid))); \
2066 ASSERT_TRUE(env_->IsSameObject(s2, env_->GetStaticObjectField(c, s_fid))); \
2069 ASSERT_TRUE(env_->IsSameObject(s1, env_->GetObjectField(o, i_fid))); \
[all …]
Dcheck_jni.cc2170 static jboolean IsSameObject(JNIEnv* env, jobject ref1, jobject ref2) { in IsSameObject() function in art::__anonaa3778310111::CheckJNI
2177 result.b = baseEnv(env)->IsSameObject(env, ref1, ref2); in IsSameObject()
2839 DCHECK_EQ(IsSameObject(env, obj, result.L), JNI_TRUE); in NewRef()
3845 CheckJNI::IsSameObject,
Djni_internal.cc828 static jboolean IsSameObject(JNIEnv* env, jobject obj1, jobject obj2) { in IsSameObject() function in art::JNI
2949 JNIImpl::IsSameObject,
/art/libnativeloader/
Dnative_loader_test.h256 inf->IsSameObject = [](JNIEnv*, jobject a, jobject b) -> jboolean { in CreateJNINativeInterface()
Dlibrary_namespaces.cpp389 return env->IsSameObject(value.first, class_loader); in FindNamespaceByClassLoader()
/art/test/004-JniTest/
Djni_test.cc372 CHECK(env->IsSameObject(unsatisfied_link_error_clazz, thrown_class)); in testShallowGetCallingClassLoader()
/art/runtime/
Dclass_linker.cc10062 CHECK(self->GetJniEnv()->IsSameObject(loader_class, in CreateWellKnownClassLoader()
10064 self->GetJniEnv()->IsSameObject(loader_class, in CreateWellKnownClassLoader()
10066 self->GetJniEnv()->IsSameObject(loader_class, in CreateWellKnownClassLoader()
Dthread.cc2290 CHECK(soa.Env()->IsSameObject(thread_group, thread_group_jobject)); in NotifyThreadGroup()