Home
last modified time | relevance | path

Searched refs:mBC2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp274 mBC2.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE)); in SetUp()
278 mBC2.reset(); in TearDown()
286 ASSERT_EQ(OK, mBC2->unflatten(flat, size)); in roundTrip()
290 sp<BlobCache> mBC2; member in android::BlobCacheFlattenTest
297 ASSERT_EQ(size_t(4), mBC2->get("abcd", 4, buf, 4)); in TEST_F()
318 ASSERT_EQ(size_t(1), mBC2->get(&k, 1, &v, 1)); in TEST_F()
371 ASSERT_EQ(BAD_VALUE, mBC2->unflatten(flat, size)); in TEST_F()
375 ASSERT_EQ(size_t(0), mBC2->get("abcd", 4, buf, 4)); in TEST_F()
389 ASSERT_EQ(OK, mBC2->unflatten(flat, size)); in TEST_F()
394 ASSERT_EQ(size_t(0), mBC2->get("abcd", 4, buf, 4)); in TEST_F()
[all …]
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache_test.cpp506 mBC2.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam())); in SetUp()
510 mBC2.reset(); in TearDown()
518 ASSERT_EQ(OK, mBC2->unflatten(flat, size)); in roundTrip()
522 sp<BlobCache> mBC2; member in android::BlobCacheFlattenTest
539 ASSERT_EQ(size_t(4), mBC2->get("abcd", 4, buf, 4)); in TEST_P()
560 ASSERT_EQ(size_t(1), mBC2->get(&k, 1, &v, 1)); in TEST_P()
613 ASSERT_EQ(BAD_VALUE, mBC2->unflatten(flat, size)); in TEST_P()
617 ASSERT_EQ(size_t(0), mBC2->get("abcd", 4, buf, 4)); in TEST_P()
631 ASSERT_EQ(OK, mBC2->unflatten(flat, size)); in TEST_P()
636 ASSERT_EQ(size_t(0), mBC2->get("abcd", 4, buf, 4)); in TEST_P()
[all …]