Lines Matching refs:Self

75   StackHandleScope<2> hs(soa.Self());  in TEST_F()
81 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
87 StackHandleScope<2> hs(soa.Self()); in TEST_F()
93 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
100 StackHandleScope<2> hs(soa.Self()); in TEST_F()
105 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
112 StackHandleScope<2> hs(soa.Self()); in TEST_F()
118 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
119 ASSERT_TRUE(IsWrongMethodTypeException(soa.Self()->GetException())); in TEST_F()
120 soa.Self()->ClearException(); in TEST_F()
126 StackHandleScope<2> hs(soa.Self()); in TEST_F()
132 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
133 ASSERT_TRUE(IsWrongMethodTypeException(soa.Self()->GetException())); in TEST_F()
134 soa.Self()->ClearException(); in TEST_F()
140 StackHandleScope<2> hs(soa.Self()); in TEST_F()
146 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
147 ASSERT_TRUE(IsWrongMethodTypeException(soa.Self()->GetException())); in TEST_F()
148 soa.Self()->ClearException(); in TEST_F()
154 StackHandleScope<2> hs(soa.Self()); in TEST_F()
160 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
161 ASSERT_TRUE(IsWrongMethodTypeException(soa.Self()->GetException())); in TEST_F()
162 soa.Self()->ClearException(); in TEST_F()
172 StackHandleScope<3> hs(soa.Self()); in TEST_F()
177 Handle<mirror::Class> to = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Number;")); in TEST_F()
180 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
189 StackHandleScope<3> hs(soa.Self()); in TEST_F()
193 Handle<mirror::Class> to = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Integer;")); in TEST_F()
195 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
197 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
198 ASSERT_TRUE(IsClassCastException(soa.Self()->GetException())); in TEST_F()
199 soa.Self()->ClearException(); in TEST_F()
209 StackHandleScope<2> hs(soa.Self()); in TEST_F()
213 Handle<mirror::Class> to = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Integer;")); in TEST_F()
215 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
224 StackHandleScope<2> hs(soa.Self()); in TEST_F()
228 Handle<mirror::Class> to = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Number;")); in TEST_F()
230 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
239 StackHandleScope<2> hs(soa.Self()); in TEST_F()
243 Handle<mirror::Class> to = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Runtime;")); in TEST_F()
245 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
246 ASSERT_TRUE(IsWrongMethodTypeException(soa.Self()->GetException())); in TEST_F()
247 soa.Self()->ClearException(); in TEST_F()
253 StackHandleScope<2> hs(soa.Self()); in TEST_F()
257 Handle<mirror::Class> to = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Long;")); in TEST_F()
259 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
260 ASSERT_TRUE(IsWrongMethodTypeException(soa.Self()->GetException())); in TEST_F()
261 soa.Self()->ClearException(); in TEST_F()
267 StackHandleScope<2> hs(soa.Self()); in TEST_F()
271 Handle<mirror::Class> to = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Byte;")); in TEST_F()
273 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
274 ASSERT_TRUE(IsWrongMethodTypeException(soa.Self()->GetException())); in TEST_F()
275 soa.Self()->ClearException(); in TEST_F()
285 StackHandleScope<3> hs(soa.Self()); in TEST_F()
289 Handle<mirror::Class> from = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Integer;")); in TEST_F()
293 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
300 StackHandleScope<3> hs(soa.Self()); in TEST_F()
304 Handle<mirror::Class> from = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Integer;")); in TEST_F()
314 StackHandleScope<3> hs(soa.Self()); in TEST_F()
317 Handle<mirror::Class> from = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Integer;")); in TEST_F()
321 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
322 ASSERT_TRUE(IsNullPointerException(soa.Self()->GetException())); in TEST_F()
323 soa.Self()->ClearException(); in TEST_F()
329 StackHandleScope<2> hs(soa.Self()); in TEST_F()
330 Handle<mirror::Class> from = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Class;")); in TEST_F()
336 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
337 ASSERT_TRUE(IsClassCastException(soa.Self()->GetException())); in TEST_F()
338 soa.Self()->ClearException(); in TEST_F()
344 StackHandleScope<3> hs(soa.Self()); in TEST_F()
348 Handle<mirror::Class> from = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Integer;")); in TEST_F()
352 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
353 ASSERT_TRUE(IsWrongMethodTypeException(soa.Self()->GetException())); in TEST_F()
354 soa.Self()->ClearException(); in TEST_F()
360 StackHandleScope<3> hs(soa.Self()); in TEST_F()
364 Handle<mirror::Class> from = hs.NewHandle(cl->FindSystemClass(soa.Self(), "Ljava/lang/Number;")); in TEST_F()
368 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
369 ASSERT_TRUE(IsClassCastException(soa.Self()->GetException())); in TEST_F()
370 soa.Self()->ClearException(); in TEST_F()