Home
last modified time | relevance | path

Searched refs:fileCount (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/jni/
Dandroid_backup_FileBackupHelperBase.cpp51 const int fileCount = env->GetArrayLength(files); in performBackup_native() local
52 char const** filesUTF = (char const**)malloc(sizeof(char*)*fileCount); in performBackup_native()
53 for (int i=0; i<fileCount; i++) { in performBackup_native()
63 err = back_up_files(oldStateFD, dataStream, newStateFD, filesUTF, keysUTF, fileCount); in performBackup_native()
65 for (int i=0; i<fileCount; i++) { in performBackup_native()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java171 final int fileCount = files.size(); in init() local
172 for (int i = startIndex; i < fileCount; i++) { in init()
178 for (int i = startIndex; i < fileCount; i++) { in init()
202 final int fileCount = files.size(); in checkinDailyFiles() local
207 for (int i = 0; i < fileCount - 1; i++) { in checkinDailyFiles()
214 if (start == fileCount - 1) { in checkinDailyFiles()
220 for (int i = start; i < fileCount - 1; i++) { in checkinDailyFiles()
233 for (int i = start; i < fileCount - 1; i++) { in checkinDailyFiles()
520 final int fileCount = files.size(); in onTimeChanged() local
521 for (int i = 0; i < fileCount; i++) { in onTimeChanged()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DParallelPackageParserTest.java51 int fileCount = 15; in test() local
52 for (int i = 0; i < fileCount; i++) { in test()
58 for (int i = 0; i < fileCount; i++) { in test()
/frameworks/base/libs/androidfw/include/androidfw/
DBackupHelpers.h40 int fileCount; member
137 char const* const* files, char const* const *keys, int fileCount);
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp644 int fileCount = 0; in printDirStats() local
654 dprintf(outFd, "\t #%d, Last updated: %lld, UID: %d, Config ID: %lld, %s", fileCount + 1, in printDirStats()
667 fileCount++; in printDirStats()
669 dprintf(outFd, "\tTotal number of files: %d, Total size of files: %d bytes.\n", fileCount, in printDirStats()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp103 for (int i=0; i<header.fileCount; i++) { in read_snapshot_file()
145 int fileCount = 0; in write_snapshot_file() local
154 fileCount++; in write_snapshot_file()
161 SnapshotHeader header = { MAGIC0, fileCount, MAGIC1, bytesWritten }; in write_snapshot_file()
334 char const* const* files, char const* const* keys, int fileCount) in back_up_files() argument
348 for (int i=0; i<fileCount; i++) { in back_up_files()
/frameworks/base/tools/split-select/
DMain.cpp226 const size_t fileCount = dir->getFileCount(); in extractSplitDescriptionsFromApk() local
227 for (size_t i = 0; i < fileCount; i++) { in extractSplitDescriptionsFromApk()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java382 final int fileCount = files.length; in handleReadPrintJobsLocked() local
383 for (int i = 0; i < fileCount; i++) { in handleReadPrintJobsLocked()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java1611 final int fileCount = files.size(); in getOldestFileOffsetMillis() local
1612 for (int i = 1; i < fileCount; i++) { in getOldestFileOffsetMillis()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java9027 int fileCount = 0;
9036 fileCount++;
9040 for (; fileCount > 0; fileCount--) {