Home
last modified time | relevance | path

Searched refs:validateCache (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp95 static bool validateCache(ShaderCache& cache, std::vector<T> hash) { in validateCache() function in android::uirenderer::skiapipeline::ShaderCacheTestUtils
97 return cache.validateCache(hash.data(), hash.size() * sizeof(T)); in validateCache()
324 ASSERT_FALSE(ShaderCacheTestUtils::validateCache(ShaderCache::get(), identity)); in TEST()
331 ASSERT_TRUE(ShaderCacheTestUtils::validateCache(ShaderCache::get(), identity)); in TEST()
351 ASSERT_TRUE(ShaderCacheTestUtils::validateCache(ShaderCache::get(), identity)); in TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.cpp53 bool ShaderCache::validateCache(const void* identity, ssize_t size) { in validateCache() function in android::uirenderer::skiapipeline::ShaderCache
93 validateCache(identity, size); in initShaderDiskCache()
DShaderCache.h103 bool validateCache(const void* identity, ssize_t size) REQUIRES(mMutex);