Home
last modified time | relevance | path

Searched refs:maxEntries (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NeuralNetworks/driver/cache/BlobCache/
DBlobCache_test.cpp313 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_P() local
314 for (int i = 0; i < maxEntries; i++) { in TEST_P()
320 uint8_t k = maxEntries; in TEST_P()
326 for (int i = 0; i < maxEntries + 1; i++) { in TEST_P()
332 ASSERT_EQ(found, i >= maxEntries / 2); in TEST_P()
335 ASSERT_EQ(maxEntries / 2 + 1, numCached); in TEST_P()
343 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_P() local
344 for (int i = 0; i < maxEntries; i++) { in TEST_P()
350 uint8_t k = maxEntries; in TEST_P()
355 for (int i = 0; i < maxEntries + 1; i++) { in TEST_P()
[all …]
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache_test.cpp117 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_P() local
118 for (int i = 0; i < maxEntries; i++) { in TEST_P()
128 uint8_t k = maxEntries; in TEST_P()
134 for (int i = 0; i < maxEntries + 1; i++) { in TEST_P()
146 ASSERT_EQ(maxEntries / 2, numCached); in TEST_P()
147 ASSERT_EQ(size_t((maxEntries / 2) * 2), sizeCached); in TEST_P()
153 const int initialNumEntries = maxEntries; in TEST_P()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java133 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) in BlobCache() argument
135 this(path, maxEntries, maxBytes, reset, 0); in BlobCache()
138 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset, in BlobCache() argument
149 resetCache(maxEntries, maxBytes); in BlobCache()
300 private void resetCache(int maxEntries, int maxBytes) throws IOException { in resetCache() argument
302 mIndexFile.setLength(INDEX_HEADER_SIZE + maxEntries * 12 * 2); in resetCache()
306 writeInt(buf, IH_MAX_ENTRIES, maxEntries); in resetCache()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DCacheManager.java40 int maxEntries, int maxBytes, int version) { in getCache() argument
51 cache = new BlobCache(path, maxEntries, maxBytes, false, in getCache()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DLog.h114 Log(const std::string& tag, size_t maxEntries) : mTag(tag), mMaxEntries(maxEntries) {} in Log() argument
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DCustomAudienceDao.java195 @NonNull DBCustomAudienceQuarantine dbCustomAudienceQuarantine, long maxEntries) in safelyInsertCustomAudienceQuarantine() argument
199 if (getTotalNumCustomAudienceQuarantineEntries() >= maxEntries) { in safelyInsertCustomAudienceQuarantine()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...