Home | History | Annotate | Download | only in runtime

Lines Matching refs:soa

710   ScopedObjectAccess soa(Thread::Current());
727 ScopedObjectAccess soa(Thread::Current());
733 ScopedObjectAccess soa(Thread::Current());
747 ScopedObjectAccess soa(Thread::Current());
748 StackHandleScope<1> hs(soa.Self());
750 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Nested"))));
752 mirror::Class* outer = class_linker_->FindClass(soa.Self(), "LNested;", class_loader);
757 mirror::Class* inner = class_linker_->FindClass(soa.Self(), "LNested$Inner;", class_loader);
764 ScopedObjectAccess soa(Thread::Current());
778 ScopedObjectAccess soa(Thread::Current());
779 mirror::Class* JavaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;");
782 StackHandleScope<1> hs(soa.Self());
784 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("MyClass"))));
786 mirror::Class* MyClass = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader);
829 ScopedObjectAccess soa(Thread::Current());
837 ScopedObjectAccess soa(Thread::Current());
838 mirror::Class* array_class = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;");
840 mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), array_class, 0);
852 ScopedObjectAccess soa(Thread::Current());
853 StackHandleScope<5> hs(soa.Self());
854 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0)));
855 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[J"), long_array->GetClass());
859 Handle<mirror::DoubleArray> double_array(hs.NewHandle(mirror::DoubleArray::Alloc(soa.Self(), 0)));
860 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[D"), double_array->GetClass());
864 Handle<mirror::IntArray> int_array(hs.NewHandle(mirror::IntArray::Alloc(soa.Self(), 0)));
865 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[I"), int_array->GetClass());
869 Handle<mirror::CharArray> char_array(hs.NewHandle(mirror::CharArray::Alloc(soa.Self(), 0)));
870 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[C"), char_array->GetClass());
874 Handle<mirror::ShortArray> short_array(hs.NewHandle(mirror::ShortArray::Alloc(soa.Self(), 0)));
875 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[S"), short_array->GetClass());
885 ScopedObjectAccess soa(Thread::Current());
888 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Boolean;", class_loader);
890 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Byte;", class_loader);
892 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Character;", class_loader);
894 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Double;", class_loader);
896 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Float;", class_loader);
898 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Integer;", class_loader);
900 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Long;", class_loader);
902 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Short;", class_loader);
907 ScopedObjectAccess soa(Thread::Current());
908 StackHandleScope<2> hs(soa.Self());
910 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("MyClass"))));
912 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("MyClass"))));
913 mirror::Class* MyClass_1 = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader_1);
914 mirror::Class* MyClass_2 = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader_2);
921 ScopedObjectAccess soa(Thread::Current());
922 StackHandleScope<2> hs(soa.Self());
924 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Statics"))));
926 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader)));
927 class_linker_->EnsureInitialized(soa.Self(), statics, true, true);
937 ArtField* s0 = mirror::Class::FindStaticField(soa.Self(), statics, "s0", "Z");
942 ArtField* s1 = mirror::Class::FindStaticField(soa.Self(), statics, "s1", "B");
947 ArtField* s2 = mirror::Class::FindStaticField(soa.Self(), statics, "s2", "C");
952 ArtField* s3 = mirror::Class::FindStaticField(soa.Self(), statics, "s3", "S");
957 ArtField* s4 = mirror::Class::FindStaticField(soa.Self(), statics, "s4", "I");
962 ArtField* s5 = mirror::Class::FindStaticField(soa.Self(), statics, "s5", "J");
967 ArtField* s6 = mirror::Class::FindStaticField(soa.Self(), statics, "s6", "F");
972 ArtField* s7 = mirror::Class::FindStaticField(soa.Self(), statics, "s7", "D");
977 ArtField* s8 = mirror::Class::FindStaticField(soa.Self(), statics, "s8",
982 mirror::String::AllocFromModifiedUtf8(soa.Self(), "robot"));
998 ScopedObjectAccess soa(Thread::Current());
999 StackHandleScope<6> hs(soa.Self());
1001 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Interfaces"))));
1003 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader)));
1005 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader)));
1007 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$K;", class_loader)));
1009 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$A;", class_loader)));
1011 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$B;", class_loader)));
1049 ArtField* Afoo = mirror::Class::FindStaticField(soa.Self(), A, "foo", "Ljava/lang/String;");
1050 ArtField* Bfoo = mirror::Class::FindStaticField(soa.Self(), B, "foo", "Ljava/lang/String;");
1051 ArtField* Jfoo = mirror::Class::FindStaticField(soa.Self(), J, "foo", "Ljava/lang/String;");
1052 ArtField* Kfoo = mirror::Class::FindStaticField(soa.Self(), K, "foo", "Ljava/lang/String;");
1065 ScopedObjectAccess soa(Thread::Current());
1068 StackHandleScope<1> hs(soa.Self());
1070 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader)));
1071 mirror::Class* klass = class_linker_->FindClass(soa.Self(), "LStaticsFromCode;", class_loader);
1077 mirror::Class* uninit = ResolveVerifyAndClinit(type_idx, clinit, soa.Self(), true, false);
1080 mirror::Class* init = ResolveVerifyAndClinit(type_idx, getS0, soa.Self(), true, false);
1086 ScopedObjectAccess soa(Thread::Current());
1090 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;");
1094 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Enum;");
1098 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/math/RoundingMode;");
1102 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/RandomAccessFile;");
1106 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/InputStream;");
1108 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/FileInputStream;");
1113 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/util/concurrent/ThreadPoolExecutor;");
1115 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/util/concurrent/ScheduledThreadPoolExecutor;");
1120 ScopedObjectAccess soa(Thread::Current());
1131 ScopedObjectAccess soa(Thread::Current());
1135 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Class;", class_loader);
1139 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Object;", class_loader);
1143 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/String;", class_loader);
1147 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/DexCache;", class_loader);
1170 ScopedObjectAccess soa(Thread::Current());
1172 mirror::Class* JavaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;");
1180 ScopedObjectAccess soa(Thread::Current());
1182 StackHandleScope<1> hs(soa.Self());
1185 soa.Self(), "Ljava/lang/SecurityManager;")));
1191 class_linker_->EnsureInitialized(soa.Self(), security_manager, true, true);
1196 ScopedObjectAccess soa(Thread::Current());
1198 StackHandleScope<2> hs(soa.Self());
1200 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Statics"))));
1202 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader)));
1206 class_linker_->EnsureInitialized(soa.Self(), statics, true, true);
1211 ScopedObjectAccess soa(Thread::Current());
1213 StackHandleScope<3> hs(soa.Self());
1215 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Statics"))));
1219 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")));
1225 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader)));
1232 ScopedObjectAccess soa(Thread::Current());
1233 StackHandleScope<2> hs(soa.Self());
1237 ReaderMutexLock mu(soa.Self(), *class_linker->DexLock());
1239 dex_cache.Assign(down_cast<mirror::DexCache*>(soa.Self()->DecodeJObject(data.weak_root)));
1247 dex_cache.Assign(dex_cache->Clone(soa.Self())->AsDexCache());
1249 Handle<mirror::String> location(hs.NewHandle(mirror::String::AllocFromUtf16(soa.Self(),
1262 WriterMutexLock mu(soa.Self(), *class_linker->DexLock());