Home
last modified time | relevance | path

Searched refs:fileCount (Results 1 – 9 of 9) 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/tests/servicestests/src/com/android/server/pm/
DParallelPackageParserTest.java58 int fileCount = 15; in test() local
59 for (int i = 0; i < fileCount; i++) { in test()
65 for (int i = 0; i < fileCount; i++) { in test()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java184 final int fileCount = files.size(); in init() local
185 for (int i = startIndex; i < fileCount; i++) { in init()
191 for (int i = startIndex; i < fileCount; i++) { in init()
215 final int fileCount = files.size(); in checkinDailyFiles() local
220 for (int i = 0; i < fileCount - 1; i++) { in checkinDailyFiles()
227 if (start == fileCount - 1) { in checkinDailyFiles()
232 for (int i = start; i < fileCount - 1; i++) { in checkinDailyFiles()
246 for (int i = start; i < fileCount - 1; i++) { in checkinDailyFiles()
693 final int fileCount = files.size(); in onTimeChanged() local
694 for (int i = 0; i < fileCount; i++) { in onTimeChanged()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DBackupHelpers.h40 int fileCount; member
137 char const* const* files, char const* const *keys, int fileCount);
/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.cpp230 const size_t fileCount = dir->getFileCount(); in extractSplitDescriptionsFromApk() local
231 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.java1789 final int fileCount = files.size(); in getOldestFileOffsetMillis() local
1790 for (int i = 1; i < fileCount; i++) { in getOldestFileOffsetMillis()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java11816 int fileCount = 0; in scanDirLI() local
11825 fileCount++; in scanDirLI()
11829 for (; fileCount > 0; fileCount--) { in scanDirLI()