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.cpp600 cache->numDirs, cache->numFiles); in _inc_num_cache_collected()
614 if (cache->numDirs >= cache->availDirs) { in _add_cache_dir_t()
625 cache->dirs[cache->numDirs] = dir; in _add_cache_dir_t()
626 cache->numDirs++; in _add_cache_dir_t()
894 cache->numDirs, cache->numFiles); in clear_cache_files()
901 for (i=cache->numDirs; i>0; i--) { in clear_cache_files()
934 CACHE_NOISY(ALOGI("clear_cache_files: %d dirs, %d files\n", cache->numDirs, cache->numFiles)); in finish_cache_collection()
936 for (i=0; i<cache->numDirs; i++) { in finish_cache_collection()
Dutils.h53 size_t numDirs; member
/frameworks/base/tools/aapt/
DCommand.cpp2398 const size_t numDirs = dir->getDirs().size(); in addResourcesToBuilder() local
2399 for (size_t i = 0; i < numDirs; i++) { in addResourcesToBuilder()