Lines Matching refs:Get
37 ASSERT_TRUE(class_loader.Get() != nullptr); in testTransactionAbort()
45 ASSERT_TRUE(h_klass.Get() != nullptr); in testTransactionAbort()
51 ASSERT_TRUE(h_klass.Get() != nullptr); in testTransactionAbort()
58 ASSERT_TRUE(h_klass.Get() != nullptr); in testTransactionAbort()
64 ASSERT_TRUE(h_klass.Get() != nullptr); in testTransactionAbort()
97 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
102 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
103 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
108 EXPECT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
117 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
119 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
120 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
146 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
156 mirror::Array::Alloc<true>(soa.Self(), h_klass.Get(), kArraySize, in TEST_F()
159 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
160 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
174 ASSERT_TRUE(class_loader.Get() != nullptr); in TEST_F()
178 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
188 ASSERT_EQ(booleanField->GetBoolean(h_klass.Get()), false); in TEST_F()
193 ASSERT_EQ(byteField->GetByte(h_klass.Get()), 0); in TEST_F()
198 ASSERT_EQ(charField->GetChar(h_klass.Get()), 0u); in TEST_F()
203 ASSERT_EQ(shortField->GetShort(h_klass.Get()), 0); in TEST_F()
208 ASSERT_EQ(intField->GetInt(h_klass.Get()), 0); in TEST_F()
213 ASSERT_EQ(longField->GetLong(h_klass.Get()), static_cast<int64_t>(0)); in TEST_F()
218 ASSERT_FLOAT_EQ(floatField->GetFloat(h_klass.Get()), static_cast<float>(0.0f)); in TEST_F()
223 ASSERT_DOUBLE_EQ(doubleField->GetDouble(h_klass.Get()), static_cast<double>(0.0)); in TEST_F()
229 ASSERT_EQ(objectField->GetObject(h_klass.Get()), nullptr); in TEST_F()
234 ASSERT_TRUE(object_klass.Get() != nullptr); in TEST_F()
236 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
237 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
242 booleanField->SetBoolean<true>(h_klass.Get(), true); in TEST_F()
243 byteField->SetByte<true>(h_klass.Get(), 1); in TEST_F()
244 charField->SetChar<true>(h_klass.Get(), 1u); in TEST_F()
245 shortField->SetShort<true>(h_klass.Get(), 1); in TEST_F()
246 intField->SetInt<true>(h_klass.Get(), 1); in TEST_F()
247 longField->SetLong<true>(h_klass.Get(), 1); in TEST_F()
248 floatField->SetFloat<true>(h_klass.Get(), 1.0); in TEST_F()
249 doubleField->SetDouble<true>(h_klass.Get(), 1.0); in TEST_F()
250 objectField->SetObject<true>(h_klass.Get(), h_obj.Get()); in TEST_F()
255 EXPECT_EQ(booleanField->GetBoolean(h_klass.Get()), false); in TEST_F()
256 EXPECT_EQ(byteField->GetByte(h_klass.Get()), 0); in TEST_F()
257 EXPECT_EQ(charField->GetChar(h_klass.Get()), 0u); in TEST_F()
258 EXPECT_EQ(shortField->GetShort(h_klass.Get()), 0); in TEST_F()
259 EXPECT_EQ(intField->GetInt(h_klass.Get()), 0); in TEST_F()
260 EXPECT_EQ(longField->GetLong(h_klass.Get()), static_cast<int64_t>(0)); in TEST_F()
261 EXPECT_FLOAT_EQ(floatField->GetFloat(h_klass.Get()), static_cast<float>(0.0f)); in TEST_F()
262 EXPECT_DOUBLE_EQ(doubleField->GetDouble(h_klass.Get()), static_cast<double>(0.0)); in TEST_F()
263 EXPECT_EQ(objectField->GetObject(h_klass.Get()), nullptr); in TEST_F()
272 ASSERT_TRUE(class_loader.Get() != nullptr); in TEST_F()
276 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
284 ASSERT_TRUE(h_instance.Get() != nullptr); in TEST_F()
290 ASSERT_EQ(booleanField->GetBoolean(h_instance.Get()), false); in TEST_F()
295 ASSERT_EQ(byteField->GetByte(h_instance.Get()), 0); in TEST_F()
300 ASSERT_EQ(charField->GetChar(h_instance.Get()), 0u); in TEST_F()
305 ASSERT_EQ(shortField->GetShort(h_instance.Get()), 0); in TEST_F()
310 ASSERT_EQ(intField->GetInt(h_instance.Get()), 0); in TEST_F()
315 ASSERT_EQ(longField->GetLong(h_instance.Get()), static_cast<int64_t>(0)); in TEST_F()
320 ASSERT_FLOAT_EQ(floatField->GetFloat(h_instance.Get()), static_cast<float>(0.0f)); in TEST_F()
325 ASSERT_DOUBLE_EQ(doubleField->GetDouble(h_instance.Get()), static_cast<double>(0.0)); in TEST_F()
331 ASSERT_EQ(objectField->GetObject(h_instance.Get()), nullptr); in TEST_F()
336 ASSERT_TRUE(object_klass.Get() != nullptr); in TEST_F()
338 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
339 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
344 booleanField->SetBoolean<true>(h_instance.Get(), true); in TEST_F()
345 byteField->SetByte<true>(h_instance.Get(), 1); in TEST_F()
346 charField->SetChar<true>(h_instance.Get(), 1u); in TEST_F()
347 shortField->SetShort<true>(h_instance.Get(), 1); in TEST_F()
348 intField->SetInt<true>(h_instance.Get(), 1); in TEST_F()
349 longField->SetLong<true>(h_instance.Get(), 1); in TEST_F()
350 floatField->SetFloat<true>(h_instance.Get(), 1.0); in TEST_F()
351 doubleField->SetDouble<true>(h_instance.Get(), 1.0); in TEST_F()
352 objectField->SetObject<true>(h_instance.Get(), h_obj.Get()); in TEST_F()
357 EXPECT_EQ(booleanField->GetBoolean(h_instance.Get()), false); in TEST_F()
358 EXPECT_EQ(byteField->GetByte(h_instance.Get()), 0); in TEST_F()
359 EXPECT_EQ(charField->GetChar(h_instance.Get()), 0u); in TEST_F()
360 EXPECT_EQ(shortField->GetShort(h_instance.Get()), 0); in TEST_F()
361 EXPECT_EQ(intField->GetInt(h_instance.Get()), 0); in TEST_F()
362 EXPECT_EQ(longField->GetLong(h_instance.Get()), static_cast<int64_t>(0)); in TEST_F()
363 EXPECT_FLOAT_EQ(floatField->GetFloat(h_instance.Get()), static_cast<float>(0.0f)); in TEST_F()
364 EXPECT_DOUBLE_EQ(doubleField->GetDouble(h_instance.Get()), static_cast<double>(0.0)); in TEST_F()
365 EXPECT_EQ(objectField->GetObject(h_instance.Get()), nullptr); in TEST_F()
374 ASSERT_TRUE(class_loader.Get() != nullptr); in TEST_F()
378 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
387 …mirror::BooleanArray* booleanArray = booleanArrayField->GetObject(h_klass.Get())->AsBooleanArray(); in TEST_F()
394 mirror::ByteArray* byteArray = byteArrayField->GetObject(h_klass.Get())->AsByteArray(); in TEST_F()
401 mirror::CharArray* charArray = charArrayField->GetObject(h_klass.Get())->AsCharArray(); in TEST_F()
408 mirror::ShortArray* shortArray = shortArrayField->GetObject(h_klass.Get())->AsShortArray(); in TEST_F()
415 mirror::IntArray* intArray = intArrayField->GetObject(h_klass.Get())->AsIntArray(); in TEST_F()
422 mirror::LongArray* longArray = longArrayField->GetObject(h_klass.Get())->AsLongArray(); in TEST_F()
429 mirror::FloatArray* floatArray = floatArrayField->GetObject(h_klass.Get())->AsFloatArray(); in TEST_F()
436 mirror::DoubleArray* doubleArray = doubleArrayField->GetObject(h_klass.Get())->AsDoubleArray(); in TEST_F()
445 objectArrayField->GetObject(h_klass.Get())->AsObjectArray<mirror::Object>(); in TEST_F()
453 ASSERT_TRUE(object_klass.Get() != nullptr); in TEST_F()
455 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
456 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
469 objectArray->SetWithoutChecks<true>(0, h_obj.Get()); in TEST_F()
491 ASSERT_TRUE(class_loader.Get() != nullptr); in TEST_F()
496 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
515 ASSERT_TRUE(class_loader.Get() != nullptr); in TEST_F()
520 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()