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()
1885 jclass java_lang_Class = env_->FindClass("java/lang/Class"); in TEST_F() local
1886 ASSERT_TRUE(java_lang_Class != nullptr); in TEST_F()
1888 jobjectArray array = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F()
1891 env_->SetObjectArrayElement(array, 0, java_lang_Class); in TEST_F()
1892 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(array, 0), java_lang_Class)); in TEST_F()
1895 env_->SetObjectArrayElement(array, -1, java_lang_Class); in TEST_F()
1899 env_->SetObjectArrayElement(array, 1, java_lang_Class); in TEST_F()
/art/runtime/
Dclass_linker.cc651 Handle<mirror::Class> java_lang_Class(hs.NewHandle(ObjPtr<mirror::Class>::DownCast( in InitWithoutImage() local
653 CHECK(java_lang_Class != nullptr); in InitWithoutImage()
654 java_lang_Class->SetClassFlags(mirror::kClassFlagClass); in InitWithoutImage()
655 java_lang_Class->SetClass(java_lang_Class.Get()); in InitWithoutImage()
657 java_lang_Class->AssertReadBarrierState(); in InitWithoutImage()
659 java_lang_Class->SetClassSize(class_class_size); in InitWithoutImage()
660 java_lang_Class->SetPrimitiveType(Primitive::kPrimNot); in InitWithoutImage()
667 AllocClass(self, java_lang_Class.Get(), class_array_class_size))); in InitWithoutImage()
668 class_array_class->SetComponentType(java_lang_Class.Get()); in InitWithoutImage()
672 AllocClass(self, java_lang_Class.Get(), mirror::Object::ClassSize(image_pointer_size_)))); in InitWithoutImage()
[all …]
Dclass_linker.h940 ObjPtr<mirror::Class> java_lang_Class,
950 ObjPtr<mirror::Class> java_lang_Class,
DAndroid.bp237 "native/java_lang_Class.cc",
/art/runtime/mirror/
Dobject_test.cc604 Handle<Class> java_lang_Class = in TEST_F() local
609 EXPECT_FALSE(java_lang_Class->InstanceOf(Object_array_class.Get())); in TEST_F()
610 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.h810 ObjPtr<Class> java_lang_Class = GetClass<kVerifyFlags, kWithoutReadBarrier>(); in IsClassClass() local
811 return this == java_lang_Class; in IsClassClass()
Dclass.cc1683 ObjPtr<mirror::Class> java_lang_Class = GetClassRoot<mirror::Class>(runtime->GetClassLinker()); in CopyOf() local
1685 heap->AllocObject(self, java_lang_Class, new_length, visitor) : in CopyOf()
1686 heap->AllocNonMovableObject(self, java_lang_Class, new_length, visitor); in CopyOf()