Home
last modified time | relevance | path

Searched refs:InsertResult (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp52 ASSERT_EQ(BlobCache::InsertResult::kInserted, mBC->set("abcd", 4, "efgh", 4)); in TEST_F()
62 ASSERT_EQ(BlobCache::InsertResult::kInserted, mBC->set("ab", 2, "cd", 2)); in TEST_F()
63 ASSERT_EQ(BlobCache::InsertResult::kInserted, mBC->set("ef", 2, "gh", 2)); in TEST_F()
74 ASSERT_EQ(BlobCache::InsertResult::kInserted, mBC->set("abcd", 4, "efgh", 4)); in TEST_F()
86 ASSERT_EQ(BlobCache::InsertResult::kInserted, mBC->set("abcd", 4, "efgh", 4)); in TEST_F()
94 ASSERT_EQ(BlobCache::InsertResult::kInserted, mBC->set("abcd", 4, "efgh", 4)); in TEST_F()
100 ASSERT_EQ(BlobCache::InsertResult::kInserted, mBC->set("abcd", 4, "efgh", 4)); in TEST_F()
101 ASSERT_EQ(BlobCache::InsertResult::kInserted, mBC->set("abcd", 4, "ijkl", 4)); in TEST_F()
111 ASSERT_EQ(BlobCache::InsertResult::kInserted, mBC->set("abcd", 4, "efgh", 4)); in TEST_F()
112 ASSERT_EQ(BlobCache::InsertResult::kValueTooBig, mBC->set("abcd", 4, buf, MAX_VALUE_SIZE + 1)); in TEST_F()
[all …]
DBlobCache.cpp57 BlobCache::InsertResult BlobCache::set(const void* key, size_t keySize, const void* value, in set()
62 return InsertResult::kKeyTooBig; in set()
67 return InsertResult::kValueTooBig; in set()
73 return InsertResult::kCombinedTooBig; in set()
77 return InsertResult::kInvalidKeySize; in set()
81 return InsertResult::kInvalidValueSize; in set()
106 return InsertResult::kNotEnoughSpace; in set()
128 return InsertResult::kNotEnoughSpace; in set()
137 return didClean ? InsertResult::kDidClean : InsertResult::kInserted; in set()
DBlobCache.h43 enum class InsertResult { enum
77 InsertResult set(const void* key, size_t keySize, const void* value, size_t valueSize);
/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.cpp149 case BlobCache::InsertResult::kInserted: in set()
152 case BlobCache::InsertResult::kDidClean: { in set()
160 case BlobCache::InsertResult::kNotEnoughSpace: { in set()
164 case BlobCache::InsertResult::kInvalidValueSize: in set()
165 case BlobCache::InsertResult::kInvalidKeySize: { in set()
169 case BlobCache::InsertResult::kKeyTooBig: in set()
170 case BlobCache::InsertResult::kValueTooBig: in set()
171 case BlobCache::InsertResult::kCombinedTooBig: { in set()