/external/testng/src/main/java/org/testng/internal/thread/graph/ |
GraphThreadPoolExecutor.java | 117 private void generateFiles(List<String> files) { 122 for (int i = 0; i < files.size(); i++) { 125 bw.append(files.get(i)); 129 System.out.println("Created graph files in " + dir);
|
/external/vogar/src/vogar/target/ |
ClassPathScanner.java | 175 // the directory that the class is in. Used to quickly skip jar files 181 // JAR files that contains subpackages of a given package, even if 208 File[] files = subDir.listFiles(); local 209 if (files != null) { 210 for (File subFile : files) {
|
/external/webrtc/webrtc/base/ |
filerotatingstream.cc | 211 // Delete existing files when opening for write. 281 // Rotates the files by deleting the file at |rotation_index_|, which is the 282 // oldest file and then renaming the newer files to have an incremented index. 307 std::vector<std::string> files; local 308 // Iterate over the files in the directory. 313 return files; 320 files.push_back(path.pathname()); 323 return files; 373 // On the first rotation adjust the max file size so subsequent files after 394 // At minimum have two rotating files. Otherwise split the available log siz [all...] |
/external/webrtc/webrtc/test/ |
frame_generator.cc | 57 YuvFileGenerator(std::vector<FILE*> files, 62 files_(files), 134 const std::vector<FILE*>& files, 145 num_frames_(files.size()), 148 file_generator_(files, source_width, source_height, 1) { 247 std::vector<FILE*> files; local 251 files.push_back(file); 254 return new YuvFileGenerator(files, width, height, frame_repeat_count); 267 std::vector<FILE*> files; local 271 files.push_back(file) [all...] |
/external/zopfli/src/zopflipng/ |
zopflipng_bin.cc | 65 " zopflipng [options]... --prefix=[fileprefix] [files.png]...\n" 74 " contain a directory path. When using a prefix, multiple input files" 81 "-y: do not ask about overwriting files.\n" 86 "-d: dry run: don't save any files, just see the console output" 95 " small files, 5 for large files.\n" 121 "Optimize multiple files: zopflipng --prefix a.png b.png c.png\n" 146 bool yes = false; // do not ask to overwrite files 153 std::vector<std::string> files; local 242 files.push_back(argv[i]) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/ |
DexMetadataHelperTest.java | 43 import java.nio.file.Files; 72 File[] files = mTmpDir.listFiles(); local 73 for (File f : files) { 153 Files.createFile(invalidDmFile.toPath()); 169 Files.createFile(invalidDmFile.toPath());
|
/frameworks/base/core/tests/coretests/src/android/os/ |
MemoryFileTest.java | 42 * Keep allocating new files till the system purges them. 47 List<MemoryFile> files = new ArrayList<MemoryFile>(); local 55 files.add(newFile); 56 for (MemoryFile file : files) { 66 for (MemoryFile fileToClose : files) { 249 // open enough memory files that we should run out of [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
CameraTestResultPrinter.java | 129 File[] files = path.listFiles(); local 130 if (files != null) { 131 for (File child : files) {
|
/frameworks/base/services/core/java/com/android/server/content/ |
SyncLogger.java | 50 * system components to log to files, so it's put in a local package here. 88 * Remove old log files. 100 * Dump all existing log files into a given writer. 249 final String[] files = mLogPath.list(); local 250 if (files == null || (files.length == 0)) { 253 Arrays.sort(files); 255 for (String file : files) {
|
/frameworks/base/test-runner/src/android/test/ |
ClassPathPackageInfoSource.java | 124 // scan the directories that contain apk files. 143 File[] files = source.listFiles(); local 144 if (files != null) { 145 for (File file : files) {
|
/frameworks/base/tools/aapt2/util/ |
Files.cpp | 17 #include "util/Files.h" 300 std::vector<std::string> files; local 321 files.push_back(std::move(file_name)); 337 files.push_back(new_file); 340 return files;
|
/libcore/ |
JavaLibrary.mk | 32 # resources/ # Support files. 36 # resources/ # Support files. 40 define all-test-java-files-under 48 # The Java files and their associated resources. 53 test_src_files := $(call all-test-java-files-under,dalvik dalvik/test-rules dom harmony-tests json luni xml) 54 ojtest_src_files := $(call all-test-java-files-under,ojluni) 59 nojcore_src_files += $(call all-java-files-under, ../external/emma/core ../external/emma/pregenerated) 87 android_icu4j_src_files := $(call all-java-files-under,$(android_icu4j_root)/src/main/java) 91 # Build jaif-annotated source files for ojluni target . 132 # Build a library just containing files from luni/src/test/filesystems for use in tests [all...] |
/libcore/luni/src/main/java/libcore/io/ |
IoUtils.java | 127 File[] files = dir.listFiles(); local 128 if (files != null) { 129 for (File file : files) { 185 * For the case where we know the "true" length of a file (most ordinary files)
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 35 // Delete all old temporary files 37 String[] files = tempDir.list(); external variable declarations 38 for (int i = 0; i < files.length; i++) { 39 File f = new File(tempDir, files[i]); 41 if (files[i].startsWith("hyts_resources")) 44 if (files[i].startsWith("hyts_") || files[i].startsWith("hyjar_")) 45 new File(tempDir, files[i]).delete(); 50 String files[] = dir.list(); local 51 for (int i = 0; i < files.length; i++) [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
FileURLConnection.java | 62 List<String> files; field in class:FileURLConnection 87 files = Arrays.<String>asList(fileList); 196 if (files == null) { 200 Collections.sort(files, Collator.getInstance()); 202 for (int i = 0 ; i < files.size() ; i++) { 203 String fileName = files.get(i);
|
/packages/apps/Dialer/java/com/android/dialer/persistentlog/ |
PersistentLogFileHandler.java | 45 * Handles serialization of byte arrays and read/write them to multiple rotating files. If a logText 47 * files exceeds {@code fileCountLimit} the oldest ones will be deleted. The logs are stored in the 147 /** Concatenate all log files in chronicle order and return a byte array. */ 151 File[] files = getLogFiles(); local 153 ByteBuffer byteBuffer = ByteBuffer.allocate(getTotalSize(files)); 154 for (File file : files) { 160 private static int getTotalSize(File[] files) { 162 for (File file : files) { 168 /** Parses the content of all files back to individual byte arrays. */ 197 File[] files = getLogFiles() local 215 File[] files = logDirectory.listFiles(); local [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
MenuManager.java | 17 package com.android.documentsui.files;
|
QuickViewIntentBuilder.java | 17 package com.android.documentsui.files; 49 * Provides support for gather a list of quick-viewable files into a quick view intent.
|
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/ |
GalleryWidgetMigrator.java | 133 File[] files = root.listFiles(); local 134 if (files != null) { 135 for (File file : files) {
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
MigrateSystemAppsSnapshotTaskTest.java | 178 File[] files = newFolder.listFiles(); local 179 assertEquals(expectedFileNames.length, files.length); 182 Arrays.stream(files).map(file -> file.getName()).toArray(String[]::new);
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
DownloadsDeletionPreferenceGroup.java | 98 // If we have no deletion type, we have no files to toggle. 144 // If there are no files to clear, show the empty text instead. 162 Set<File> files = mDeletionType.getFiles(); local 167 for (File file : files) {
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
TunerStorageCleanUpService.java | 38 * Creates {@link JobService} to clean up recorded program files which are not referenced from 69 * Cleans up recorded program files which are not referenced from database. Cleaning up will be 147 File[] files = dvrRecordingDir.listFiles(); local 148 if (files == null || files.length == 0) { 151 for (File recordingDir : files) {
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
BugReportListActivity.java | 154 File[] files = REPORT_DIR.listFiles(); local 155 if (files == null) return; 158 Arrays.sort(files, Collections.reverseOrder()); 159 for (int i = 0; i < files.length; i++) { 160 String name = files[i].getName(); 163 Log.w(TAG, "Ignoring non-bugreport: " + files[i]); 169 mFiles.add(files[i]);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoStore.java | 38 * Photo storage system that stores the files directly onto the hard disk 62 /** The database to use for storing metadata for the photo files. */ 86 * Clears the photo storage. Deletes all files from disk. 89 File[] files = mStorePath.listFiles(); local 90 if (files != null) { 91 for (File file : files) { 116 * Initializes the PhotoStore by scanning for all files currently in the 120 File[] files = mStorePath.listFiles(); local 121 if (files == null) { 124 for (File file : files) { [all...] |
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
StartJobTask.java | 140 String[] files = new String[]{pdfFile.toString()}; local 172 + " files=" + files[0] + " job=" + mJobParams); 176 MIME_TYPE_PDF, mJobParams, mCapabilities, files, null,
|