Searched refs:fileNames (Results 1 – 8 of 8) sorted by relevance
699 void StorageManager::sortFiles(vector<FileInfo>* fileNames) { in sortFiles() argument703 sort(fileNames->begin(), fileNames->end(), [](FileInfo& lhs, FileInfo& rhs) { in sortFiles()731 vector<FileInfo> fileNames; in trimToFit() local765 fileNames.emplace_back(file_name, output.mIsHistory, fileSize, fileAge); in trimToFit()768 if (fileNames.size() > StatsdStats::kMaxFileNumber || in trimToFit()770 sortFiles(&fileNames); in trimToFit()774 while (fileNames.size() > 0 && (fileNames.size() > StatsdStats::kMaxFileNumber || in trimToFit()776 totalFileSize -= fileNames.at(fileNames.size() - 1).mFileSizeBytes; in trimToFit()777 deleteFile(fileNames.at(fileNames.size() - 1).mFileName.c_str()); in trimToFit()778 fileNames.pop_back(); in trimToFit()
166 static void sortFiles(vector<FileInfo>* fileNames);
36 public BackupFileNamesSet(@NonNull Set<String> fileNames) { in BackupFileNamesSet() argument37 Objects.requireNonNull(fileNames); in BackupFileNamesSet()38 mFileNames = fileNames; in BackupFileNamesSet()
87 Set<String> fileNames = new HashSet<>(); in loadDataFromCursor() local100 fileNames.add( in loadDataFromCursor()110 mFileNames = fileNames; in loadDataFromCursor()
113 const /** !Array<string> */ fileNames = responseObject['file_names'];117 for (const [i, fileName] of fileNames.entries()) {121 if (i !== fileNames.length - 1) {
411 String[] fileNames = mMetricsReportDirectory.list(); in getFinishedMetricsConfigNames() local412 if (fileNames != null) { in getFinishedMetricsConfigNames()413 configNames.addAll(Arrays.asList(fileNames)); in getFinishedMetricsConfigNames()415 fileNames = mErrorResultDirectory.list(); in getFinishedMetricsConfigNames()416 if (fileNames != null) { in getFinishedMetricsConfigNames()417 configNames.addAll(Arrays.asList(fileNames)); in getFinishedMetricsConfigNames()
49 List<String> fileNames = Arrays.stream(context.getFilesDir().listFiles()).map( in testLevelDbOperations() local51 assertThat(fileNames).contains(levelDBFile); in testLevelDbOperations()
7422 List<String> fileNames = new ArrayList<>();7424 fileNames.add(file.getName());7427 Object[] values = fileNames.toArray();