Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp45 mBC.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE)); in SetUp()
49 mBC.reset(); in TearDown()
52 std::unique_ptr<BlobCache> mBC; member in android::BlobCacheTest
57 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
58 ASSERT_EQ(size_t(4), mBC->get("abcd", 4, buf, 4)); in TEST_F()
67 mBC->set("ab", 2, "cd", 2); in TEST_F()
68 mBC->set("ef", 2, "gh", 2); in TEST_F()
69 ASSERT_EQ(size_t(2), mBC->get("ab", 2, buf, 2)); in TEST_F()
72 ASSERT_EQ(size_t(2), mBC->get("ef", 2, buf, 2)); in TEST_F()
79 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
[all …]
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache_test.cpp49 mBC.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam())); in SetUp()
53 mBC.reset(); in TearDown()
56 std::unique_ptr<BlobCache> mBC; member in android::BlobCacheTest
71 mBC->set("abcd", 4, "efgh", 4); in TEST_P()
72 ASSERT_EQ(size_t(4), mBC->get("abcd", 4, buf, 4)); in TEST_P()
81 mBC->set("ab", 2, "cd", 2); in TEST_P()
82 mBC->set("ef", 2, "gh", 2); in TEST_P()
83 ASSERT_EQ(size_t(2), mBC->get("ab", 2, buf, 2)); in TEST_P()
86 ASSERT_EQ(size_t(2), mBC->get("ef", 2, buf, 2)); in TEST_P()
93 mBC->set("ab", 2, "cd", 2); in TEST_P()
[all …]