Home
last modified time | relevance | path

Searched refs:java_lang_Class (Results 1 – 8 of 8) sorted by relevance

/art/runtime/jni/
Djni_internal_test.cc1480 jclass java_lang_Class = env_->FindClass("java/lang/Class"); in TEST_F() local
1481 ASSERT_NE(java_lang_Class, nullptr); in TEST_F()
1482 jobjectArray local_ref = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F()
1871 jclass java_lang_Class = env_->FindClass("java/lang/Class"); in TEST_F() local
1872 ASSERT_TRUE(java_lang_Class != nullptr); in TEST_F()
1874 jobjectArray array = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F()
1877 env_->SetObjectArrayElement(array, 0, java_lang_Class); in TEST_F()
1878 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(array, 0), java_lang_Class)); in TEST_F()
1881 env_->SetObjectArrayElement(array, -1, java_lang_Class); in TEST_F()
1885 env_->SetObjectArrayElement(array, 1, java_lang_Class); in TEST_F()
/art/runtime/
Dclass_linker.cc682 Handle<mirror::Class> java_lang_Class(hs.NewHandle(ObjPtr<mirror::Class>::DownCast( in InitWithoutImage() local
684 CHECK(java_lang_Class != nullptr); in InitWithoutImage()
685 java_lang_Class->SetClassFlags(mirror::kClassFlagClass); in InitWithoutImage()
686 java_lang_Class->SetClass(java_lang_Class.Get()); in InitWithoutImage()
688 java_lang_Class->AssertReadBarrierState(); in InitWithoutImage()
690 java_lang_Class->SetClassSize(class_class_size); in InitWithoutImage()
691 java_lang_Class->SetPrimitiveType(Primitive::kPrimNot); in InitWithoutImage()
698 AllocClass(self, java_lang_Class.Get(), class_array_class_size))); in InitWithoutImage()
699 class_array_class->SetComponentType(java_lang_Class.Get()); in InitWithoutImage()
703 AllocClass(self, java_lang_Class.Get(), mirror::Object::ClassSize(image_pointer_size_)))); in InitWithoutImage()
[all …]
Dclass_linker.h922 ObjPtr<mirror::Class> java_lang_Class,
932 ObjPtr<mirror::Class> java_lang_Class,
DAndroid.bp194 "native/java_lang_Class.cc",
/art/runtime/mirror/
Dobject_test.cc598 Handle<Class> java_lang_Class = in TEST_F() local
603 EXPECT_FALSE(java_lang_Class->InstanceOf(Object_array_class.Get())); in TEST_F()
604 EXPECT_TRUE(Object_array_class->InstanceOf(java_lang_Class.Get())); in TEST_F()
Dobject-inl.h146 ObjPtr<Class> java_lang_Class = klass->GetClass<kVerifyFlags, kWithoutReadBarrier>(); in IsClass() local
147 return klass == java_lang_Class; in IsClass()
Dclass-inl.h853 ObjPtr<Class> java_lang_Class = GetClass<kVerifyFlags, kWithoutReadBarrier>(); in IsClassClass() local
854 return this == java_lang_Class; in IsClassClass()
Dclass.cc1337 ObjPtr<mirror::Class> java_lang_Class = GetClassRoot<mirror::Class>(runtime->GetClassLinker()); in CopyOf() local
1339 heap->AllocObject(self, java_lang_Class, new_length, visitor) : in CopyOf()
1340 heap->AllocNonMovableObject(self, java_lang_Class, new_length, visitor); in CopyOf()