Searched refs:oa (Results 1 – 2 of 2) sorted by relevance
122 Handle<ObjectArray<Object>> oa(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 2))); in TEST_F() local123 EXPECT_EQ(2, oa->GetLength()); in TEST_F()124 EXPECT_TRUE(oa->Get(0) == nullptr); in TEST_F()125 EXPECT_TRUE(oa->Get(1) == nullptr); in TEST_F()126 oa->Set<false>(0, oa.Get()); in TEST_F()127 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F()128 EXPECT_TRUE(oa->Get(1) == nullptr); in TEST_F()129 oa->Set<false>(1, oa.Get()); in TEST_F()130 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F()131 EXPECT_TRUE(oa->Get(1) == oa.Get()); in TEST_F()[all …]
1283 ObjPtr<mirror::ObjectArray<mirror::Object>> oa = a->AsObjectArray<mirror::Object>(); in OutputArray() local1285 ObjPtr<mirror::Object> element = oa->Get(offset + i); in OutputArray()1334 ObjPtr<mirror::ObjectArray<mirror::Object>> oa = dst->AsObjectArray<mirror::Object>(); in SetArrayElements() local1342 if (o != nullptr && !o->InstanceOf(oa->GetClass()->GetComponentType())) { in SetArrayElements()1345 oa->Set<false>(offset + i, o); in SetArrayElements()