Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp30 class BlobCacheTest : public ::testing::Test { class
55 TEST_F(BlobCacheTest, CacheSingleValueSucceeds) { in TEST_F() argument
65 TEST_F(BlobCacheTest, CacheTwoValuesSucceeds) { in TEST_F() argument
77 TEST_F(BlobCacheTest, GetOnlyWritesInsideBounds) { in TEST_F() argument
89 TEST_F(BlobCacheTest, GetOnlyWritesIfBufferIsLargeEnough) { in TEST_F() argument
98 TEST_F(BlobCacheTest, GetDoesntAccessNullBuffer) { in TEST_F() argument
103 TEST_F(BlobCacheTest, MultipleSetsCacheLatestValue) { in TEST_F() argument
114 TEST_F(BlobCacheTest, SecondSetKeepsFirstValueIfTooLarge) { in TEST_F() argument
125 TEST_F(BlobCacheTest, DoesntCacheIfKeyIsTooBig) { in TEST_F() argument
139 TEST_F(BlobCacheTest, DoesntCacheIfValueIsTooBig) { in TEST_F() argument
[all …]
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache_test.cpp34 class BlobCacheTest : public ::testing::TestWithParam<BlobCache::Policy> { class
59 INSTANTIATE_TEST_CASE_P(Policy, BlobCacheTest,
69 TEST_P(BlobCacheTest, CacheSingleValueSucceeds) { in TEST_P() argument
79 TEST_P(BlobCacheTest, CacheTwoValuesSucceeds) { in TEST_P() argument
91 TEST_P(BlobCacheTest, CacheTwoValuesMallocSucceeds) { in TEST_P() argument
111 TEST_P(BlobCacheTest, GetOnlyWritesInsideBounds) { in TEST_P() argument
123 TEST_P(BlobCacheTest, GetOnlyWritesIfBufferIsLargeEnough) { in TEST_P() argument
132 TEST_P(BlobCacheTest, GetWithFailedAllocator) { in TEST_P() argument
147 TEST_P(BlobCacheTest, GetDoesntAccessNullBuffer) { in TEST_P() argument
152 TEST_P(BlobCacheTest, MultipleSetsCacheLatestValue) { in TEST_P() argument
[all …]