Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java235 int numDirs = 3; in testAppCreateCacheFiles() local
236 File fileArr[] = new File[numDirs]; in testAppCreateCacheFiles()
237 for(int i = 0; i < numDirs; i++) { in testAppCreateCacheFiles()
243 for(int i = 0; i < numDirs; i++) { in testAppCreateCacheFiles()
406 …void createTestFiles2(File cacheDir, String rootTestDirName, String subDirPrefix, int numDirs, Str… in createTestFiles2() argument
410 File fileArr[] = new File[numDirs]; in createTestFiles2()
411 for(int i = 0; i < numDirs; i++) { in createTestFiles2()
416 for(int i = 0; i < numDirs; i++) { in createTestFiles2()
/frameworks/native/cmds/installd/
Dutils.cpp605 cache->numDirs, cache->numFiles); in _inc_num_cache_collected()
619 if (cache->numDirs >= cache->availDirs) { in _add_cache_dir_t()
630 cache->dirs[cache->numDirs] = dir; in _add_cache_dir_t()
631 cache->numDirs++; in _add_cache_dir_t()
984 cache->numDirs, cache->numFiles); in clear_cache_files()
991 for (i=cache->numDirs; i>0; i--) { in clear_cache_files()
1024 CACHE_NOISY(ALOGI("clear_cache_files: %zu dirs, %zu files\n", cache->numDirs, cache->numFiles)); in finish_cache_collection()
1026 for (i=0; i<cache->numDirs; i++) { in finish_cache_collection()
Dutils.h53 size_t numDirs; member
/frameworks/base/tools/aapt/
DCommand.cpp2427 const size_t numDirs = dir->getDirs().size(); in addResourcesToBuilder() local
2428 for (size_t i = 0; i < numDirs; i++) { in addResourcesToBuilder()