Home
last modified time | relevance | path

Searched refs:numCached (Results 1 – 5 of 5) sorted by relevance

/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache_test.cpp299 int numCached = 0; in TEST_P() local
303 numCached++; in TEST_P()
306 ASSERT_GE(MAX_TOTAL_SIZE / 2, numCached); in TEST_P()
326 int numCached = 0; in TEST_P() local
330 if (found) numCached++; in TEST_P()
336 ASSERT_EQ(maxEntries / 2 + 1, numCached); in TEST_P()
355 int numCached = 0; in TEST_P() local
358 if (mBC->get(&k, 1, NULL, 0) == 1) numCached++; in TEST_P()
360 ASSERT_EQ(maxEntries, numCached); in TEST_P()
381 int numCached = 0; in TEST_P() local
[all …]
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp237 int numCached = 0; in TEST_F() local
241 numCached++; in TEST_F()
244 ASSERT_GE(MAX_TOTAL_SIZE / 2, numCached); in TEST_F()
260 int numCached = 0; in TEST_F() local
264 numCached++; in TEST_F()
267 ASSERT_EQ(maxEntries/2 + 1, numCached); in TEST_F()
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache_test.cpp132 int numCached = 0; in TEST_P() local
138 numCached++; in TEST_P()
146 ASSERT_EQ(maxEntries / 2, numCached); in TEST_P()
165 ASSERT_EQ(postCleanNumEntries + 1, numCached); in TEST_P()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java303 int numCached = 0; in updateOomAdjLocked() local
458 numCached++; in updateOomAdjLocked()
473 if ((numCached - numCachedExtraGroup) > cachedProcessLimit) { in updateOomAdjLocked()
474 app.kill("cached #" + numCached, true); in updateOomAdjLocked()
529 boolean allChanged = mService.updateLowMemStateLocked(numCached, numEmpty, numTrimming); in updateOomAdjLocked()
DActivityManagerService.java16886 final boolean updateLowMemStateLocked(int numCached, int numEmpty, int numTrimming) { in updateLowMemStateLocked() argument
16899 if (numCached <= mConstants.CUR_TRIM_CACHED_PROCESSES in updateLowMemStateLocked()
16901 final int numCachedAndEmpty = numCached + numEmpty; in updateLowMemStateLocked()