Home
last modified time | relevance | path

Searched refs:IsInstanceOf (Results 1 – 21 of 21) sorted by relevance

/art/test/ti-agent/
Dmonitors_helper.cc90 if (!jnienv->IsInstanceOf(obj, data->monitor_klass)) { in monitorEnterCB()
104 if (!jnienv->IsInstanceOf(obj, data->monitor_klass)) { in monitorEnteredCB()
119 if (!jnienv->IsInstanceOf(obj, data->monitor_klass)) { in monitorWaitCB()
134 if (!jnienv->IsInstanceOf(obj, data->monitor_klass)) { in monitorWaitedCB()
Dexceptions_helper.cc51 if (!jnienv->IsInstanceOf(throwable, data->exception_klass)) { in exceptionCB()
/art/test/004-JniTest/
Djni_test.cc530 CHECK(env_->IsInstanceOf(super_super, super_)); in TestNewObject()
531 CHECK(!env_->IsInstanceOf(super_super, sub_)); in TestNewObject()
535 CHECK(env_->IsInstanceOf(super_sub, super_)); in TestNewObject()
536 CHECK(!env_->IsInstanceOf(super_sub, sub_)); in TestNewObject()
540 CHECK(env_->IsInstanceOf(sub_super, super_)); in TestNewObject()
541 CHECK(env_->IsInstanceOf(sub_super, sub_)); in TestNewObject()
543 CHECK(env_->IsInstanceOf(sub_sub, super_)); in TestNewObject()
544 CHECK(env_->IsInstanceOf(sub_sub, sub_)); in TestNewObject()
/art/test/928-jni-table/
Djni_table.cc45 if (env->IsInstanceOf(o, thr)) { in DoDeleteGlobalRef()
/art/openjdkjvmti/
Dti_threadgroup.cc98 if (soa.Env()->IsInstanceOf(group, art::WellKnownClasses::java_lang_ThreadGroup) == JNI_FALSE) { in GetThreadGroupInfo()
229 if (!soa.Env()->IsInstanceOf(group, art::WellKnownClasses::java_lang_ThreadGroup)) { in GetThreadGroupChildren()
Dti_search.cc347 if (!env->IsInstanceOf(classloader, art::WellKnownClasses::dalvik_system_BaseDexClassLoader)) { in AddToDexClassLoader()
401 if (!env->IsInstanceOf(loader, art::WellKnownClasses::dalvik_system_BaseDexClassLoader)) { in AddToSystemClassLoaderSearch()
Dti_class.cc932 jnienv->IsInstanceOf(loader, art::WellKnownClasses::java_lang_BootClassLoader)) { in GetClassLoaderClassDescriptors()
939 if (!jnienv->IsInstanceOf(loader, art::WellKnownClasses::java_lang_ClassLoader)) { in GetClassLoaderClassDescriptors()
941 } else if (!jnienv->IsInstanceOf(loader, in GetClassLoaderClassDescriptors()
976 if (!self->GetJniEnv()->IsInstanceOf(initiating_loader, in GetClassLoaderClasses()
980 if (self->GetJniEnv()->IsInstanceOf(initiating_loader, in GetClassLoaderClasses()
Dti_thread.cc238 } else if (!soa.Env()->IsInstanceOf(thread, art::WellKnownClasses::java_lang_Thread)) { in GetNativeThread()
814 if (thread == nullptr || !env->IsInstanceOf(thread, art::WellKnownClasses::java_lang_Thread)) { in RunAgentThread()
Dti_stack.cc581 if (!soa.Env()->IsInstanceOf(thread_list[i], art::WellKnownClasses::java_lang_Thread)) { in GetThreadListStackTraces()
/art/compiler/optimizing/
Dreference_type_propagation.cc187 } else if (instr->IsInstanceOf()) { in ValidateTypes()
456 if (lhs->IsInstanceOf() && rhs->IsIntConstant()) { in MatchIfInstanceOf()
473 if (lhs->IsInstanceOf() && rhs->IsIntConstant()) { in MatchIfInstanceOf()
486 } else if (input->IsInstanceOf()) { in MatchIfInstanceOf()
493 if (not_input->IsInstanceOf()) { in MatchIfInstanceOf()
Dgraph_visualizer.cc683 instruction->IsInstanceOf() || in PrintInstruction()
689 : instruction->IsInstanceOf() in PrintInstruction()
702 instruction->IsInstanceOf() || in PrintInstruction()
Dscheduler.cc742 instruction->IsInstanceOf() || in IsSchedulable()
Dcode_generator.cc1601 instruction->IsInstanceOf() || in ValidateInvokeRuntime()
1637 instruction->IsInstanceOf() || in ValidateInvokeRuntimeWithoutRecordingPcInfo()
Dinliner.cc2242 } else if (return_replacement->IsInstanceOf()) { in ReturnTypeMoreSpecific()
/art/runtime/jni/
Djni_internal_test.cc68 EXPECT_TRUE(env_->IsInstanceOf(exception, exception_class)); in ExpectException()
682 ASSERT_TRUE(env_->IsInstanceOf(o, c)); in TEST_F()
957 ASSERT_TRUE(env_->IsInstanceOf(field, jlrField)); in TEST_F()
999 ASSERT_TRUE(env_->IsInstanceOf(method, jlrConstructor)); in TEST_F()
1015 ASSERT_TRUE(env_->IsInstanceOf(method, jlrMethod)); in TEST_F()
1151 EXPECT_TRUE(env_->IsInstanceOf(a, env_->FindClass(expected_class_descriptor))); \
1290 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F()
1295 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F()
1342 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F()
2244 EXPECT_TRUE(env_->IsInstanceOf(thrown_exception, exception_class)); in TEST_F()
[all …]
Djava_vm_ext.cc1185 if (!env->IsInstanceOf(class_loader, WellKnownClasses::dalvik_system_BaseDexClassLoader)) { in GetLibrarySearchPath()
Djni_internal.cc576 static jboolean IsInstanceOf(JNIEnv* env, jobject jobj, jclass java_class) { in IsInstanceOf() function in art::JNI
2758 JNIImpl::IsInstanceOf,
/art/runtime/entrypoints/
Dentrypoint_utils.cc64 DCHECK(soa.Env()->IsInstanceOf(rcvr_jobj, WellKnownClasses::java_lang_reflect_Proxy)); in InvokeProxyInvocationHandler()
/art/dex2oat/driver/
Dcompiler_driver_test.cc191 EXPECT_TRUE(env_->IsInstanceOf(exception, jlame)); in TEST_F()
/art/runtime/native/
Dsun_misc_Unsafe.cc524 if (jthread == nullptr || !env->IsInstanceOf(jthread, WellKnownClasses::java_lang_Thread)) { in Unsafe_unpark()
/art/compiler/jni/
Djni_compiler_test.cc477 EXPECT_TRUE(env->IsInstanceOf(thisObj, JniCompilerTest::jklass_)); in expectValidJniEnvAndObject()
1163 EXPECT_TRUE(env_->IsInstanceOf(exception.get(), jlre.get())); in ExceptionHandlingImpl()
1300 EXPECT_TRUE(env->IsInstanceOf(JniCompilerTest::jobj_, klass)); in JNI_TEST()