• Home
  • Raw
  • Download

Lines Matching refs:soa

628   ScopedObjectAccess soa(Thread::Current());  in TEST_F()  local
645 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
651 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
665 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
666 StackHandleScope<1> hs(soa.Self()); in TEST_F()
668 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Nested")))); in TEST_F()
670 mirror::Class* outer = class_linker_->FindClass(soa.Self(), "LNested;", class_loader); in TEST_F()
675 mirror::Class* inner = class_linker_->FindClass(soa.Self(), "LNested$Inner;", class_loader); in TEST_F()
682 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
696 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
697 mirror::Class* JavaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F()
738 StackHandleScope<1> hs(soa.Self()); in TEST_F()
740 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("MyClass")))); in TEST_F()
742 mirror::Class* MyClass = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader); in TEST_F()
784 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
792 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
793 mirror::Class* array_class = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F()
795 mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), array_class, 0); in TEST_F()
807 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
808 StackHandleScope<5> hs(soa.Self()); in TEST_F()
809 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0))); in TEST_F()
810 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[J"), long_array->GetClass()); in TEST_F()
814 Handle<mirror::DoubleArray> double_array(hs.NewHandle(mirror::DoubleArray::Alloc(soa.Self(), 0))); in TEST_F()
815 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[D"), double_array->GetClass()); in TEST_F()
819 Handle<mirror::IntArray> int_array(hs.NewHandle(mirror::IntArray::Alloc(soa.Self(), 0))); in TEST_F()
820 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[I"), int_array->GetClass()); in TEST_F()
824 Handle<mirror::CharArray> char_array(hs.NewHandle(mirror::CharArray::Alloc(soa.Self(), 0))); in TEST_F()
825 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[C"), char_array->GetClass()); in TEST_F()
829 Handle<mirror::ShortArray> short_array(hs.NewHandle(mirror::ShortArray::Alloc(soa.Self(), 0))); in TEST_F()
830 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[S"), short_array->GetClass()); in TEST_F()
840 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
843 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Boolean;", class_loader); in TEST_F()
845 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Byte;", class_loader); in TEST_F()
847 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Character;", class_loader); in TEST_F()
849 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Double;", class_loader); in TEST_F()
851 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Float;", class_loader); in TEST_F()
853 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Integer;", class_loader); in TEST_F()
855 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Long;", class_loader); in TEST_F()
857 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Short;", class_loader); in TEST_F()
862 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
863 StackHandleScope<2> hs(soa.Self()); in TEST_F()
865 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("MyClass")))); in TEST_F()
867 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("MyClass")))); in TEST_F()
868 mirror::Class* MyClass_1 = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader_1); in TEST_F()
869 mirror::Class* MyClass_2 = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader_2); in TEST_F()
876 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
877 StackHandleScope<2> hs(soa.Self()); in TEST_F()
879 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Statics")))); in TEST_F()
881 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
882 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
892 ArtField* s0 = mirror::Class::FindStaticField(soa.Self(), statics, "s0", "Z"); in TEST_F()
897 ArtField* s1 = mirror::Class::FindStaticField(soa.Self(), statics, "s1", "B"); in TEST_F()
902 ArtField* s2 = mirror::Class::FindStaticField(soa.Self(), statics, "s2", "C"); in TEST_F()
907 ArtField* s3 = mirror::Class::FindStaticField(soa.Self(), statics, "s3", "S"); in TEST_F()
912 ArtField* s4 = mirror::Class::FindStaticField(soa.Self(), statics, "s4", "I"); in TEST_F()
917 ArtField* s5 = mirror::Class::FindStaticField(soa.Self(), statics, "s5", "J"); in TEST_F()
922 ArtField* s6 = mirror::Class::FindStaticField(soa.Self(), statics, "s6", "F"); in TEST_F()
927 ArtField* s7 = mirror::Class::FindStaticField(soa.Self(), statics, "s7", "D"); in TEST_F()
932 ArtField* s8 = mirror::Class::FindStaticField(soa.Self(), statics, "s8", in TEST_F()
937 mirror::String::AllocFromModifiedUtf8(soa.Self(), "robot")); in TEST_F()
953 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
954 StackHandleScope<6> hs(soa.Self()); in TEST_F()
956 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Interfaces")))); in TEST_F()
958 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F()
960 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F()
962 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$K;", class_loader))); in TEST_F()
964 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$A;", class_loader))); in TEST_F()
966 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$B;", class_loader))); in TEST_F()
1004 ArtField* Afoo = mirror::Class::FindStaticField(soa.Self(), A, "foo", "Ljava/lang/String;"); in TEST_F()
1005 ArtField* Bfoo = mirror::Class::FindStaticField(soa.Self(), B, "foo", "Ljava/lang/String;"); in TEST_F()
1006 ArtField* Jfoo = mirror::Class::FindStaticField(soa.Self(), J, "foo", "Ljava/lang/String;"); in TEST_F()
1007 ArtField* Kfoo = mirror::Class::FindStaticField(soa.Self(), K, "foo", "Ljava/lang/String;"); in TEST_F()
1020 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
1023 StackHandleScope<1> hs(soa.Self()); in TEST_F()
1025 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in TEST_F()
1026 mirror::Class* klass = class_linker_->FindClass(soa.Self(), "LStaticsFromCode;", class_loader); in TEST_F()
1034 mirror::Class* uninit = ResolveVerifyAndClinit(type_idx, clinit, soa.Self(), true, false); in TEST_F()
1037 mirror::Class* init = ResolveVerifyAndClinit(type_idx, getS0, soa.Self(), true, false); in TEST_F()
1043 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
1047 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F()
1051 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Enum;"); in TEST_F()
1055 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/math/RoundingMode;"); in TEST_F()
1059 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/RandomAccessFile;"); in TEST_F()
1063 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/InputStream;"); in TEST_F()
1065 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/FileInputStream;"); in TEST_F()
1070 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/util/concurrent/ThreadPoolExecutor;"); in TEST_F()
1072 …c = class_linker_->FindSystemClass(soa.Self(), "Ljava/util/concurrent/ScheduledThreadPoolExecutor;… in TEST_F()
1077 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
1088 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
1092 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Class;", class_loader); in TEST_F()
1096 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Object;", class_loader); in TEST_F()
1100 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/String;", class_loader); in TEST_F()
1104 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/DexCache;", class_loader); in TEST_F()
1130 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
1132 mirror::Class* JavaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F()
1140 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
1142 StackHandleScope<1> hs(soa.Self()); in TEST_F()
1145 soa.Self(), "Ljava/lang/SecurityManager;"))); in TEST_F()
1151 class_linker_->EnsureInitialized(soa.Self(), security_manager, true, true); in TEST_F()
1156 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
1158 StackHandleScope<2> hs(soa.Self()); in TEST_F()
1160 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Statics")))); in TEST_F()
1162 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1166 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1171 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
1173 StackHandleScope<3> hs(soa.Self()); in TEST_F()
1175 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Statics")))); in TEST_F()
1179 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
1185 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()