/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 46 // Delete all old temporary files 48 String[] files = tempDir.list(); typedefs 49 for (int i = 0; i < files.length; i++) { 50 File f = new File(tempDir, files[i]); 52 if (files[i].startsWith("hyts_resources")) 55 if (files[i].startsWith("hyts_") || files[i].startsWith("hyjar_")) 56 new File(tempDir, files[i]).delete(); 61 String files[] = dir.list(); local 62 for (int i = 0; i < files.length; i++) [all...] |
/packages/apps/Browser/src/com/android/browser/homepages/ |
RequestHandler.java | 160 final File[] files = f.listFiles();
local 161 Arrays.sort(files, sFileComparator);
165 t.assignLoop("files", new ListEntityIterator() {
170 File f = files[index];
210 return (++index) < files.length;
|
/packages/apps/Email/src/com/android/email/provider/ |
AttachmentProvider.java | 81 * on startup we'll clean up any .tmp files from the last run. 84 final File[] files = getContext().getCacheDir().listFiles(); local 85 if (files != null) { 86 for (File file : files) {
|
/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/VoiceDialer/src/com/android/voicedialer/ |
RecognizerLogger.java | 41 * the files listed below, which reside in 43 * The files have the date encoded in the name so that they will sort in 106 * @param dataDir directory to contain the log files. 117 // delete oldest files 190 * Delete oldest files with a given suffix, if more than MAX_FILES. 191 * @param suffix delete oldest files with this suffix. 200 File[] files = (new File(mDatedPath)).getParentFile().listFiles(ff); local 201 Arrays.sort(files); 203 for (int i = 0; i < files.length - MAX_FILES; i++) { 204 files[i].delete(); [all...] |
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/debug/ |
ExternalDictionaryGetterForDebug.java | 51 final File[] files = new File(SOURCE_FOLDER).listFiles(); local 53 for (File f : files) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
Uploader.java | 45 * Manages the uploading of ResearchLog files. 108 final File[] files = mResearchLogDirectory.getUploadableLogFiles(); local 109 if (files == null) return; 110 for (final File file : files) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoStore.java | 37 * Photo storage system that stores the files directly onto the hard disk 59 /** The database to use for storing metadata for the photo files. */ 81 * Clears the photo storage. Deletes all files from disk. 84 File[] files = mStorePath.listFiles(); local 85 if (files != null) { 86 for (File file : files) { 111 * Initializes the PhotoStore by scanning for all files currently in the 115 File[] files = mStorePath.listFiles(); local 116 if (files == null) { 119 for (File file : files) { [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/CodeWarrior/ |
Standard_Suite.py | 284 class files(aetools.ComponentItem): class in inherits:aetools.ComponentItem 285 """files - Every file """ 288 file = files 365 files._superclassnames = [] 366 files._privpropdict = { 368 files._privelemdict = { 383 'file' : files,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/ |
Disk_Folder_File_Suite.py | 1 """Suite Disk-Folder-File Suite: Terms and Events for controlling Disks, Folders, and Files 211 files = file variable
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
ProjectClassLoader.java | 176 File[] files = parent.listFiles(); local 182 if (files != null) { 183 for (File file : files) { 196 if (files != null) { 197 for (File file : files) { 252 * Returns an array of external jar files used by the project.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateManager.java | 31 import com.google.common.io.Files; 151 File[] files = new File(root, folder).listFiles(); local 152 if (files != null) { 153 for (File file : files) { 164 File[] files = new File(extra, folder).listFiles(); local 165 if (files != null) { 166 for (File file : files) { 201 * Compare two files, and return the one with the HIGHEST revision, and if 238 String xml = Files.toString(templateFile, Charsets.UTF_8);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/ |
ApiDemosRenderingTest.java | 180 File[] files = samples.listFiles(); local 181 for (File file : files) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
SampleProjectTest.java | 76 File[] files = samples.listFiles(); local 77 for (File file : files) {
|
/system/core/toolbox/ |
ls.c | 340 strlist_t files = STRLIST_INITIALIZER; local 356 strlist_append_dup(&files, de->d_name); 359 strlist_sort(&files); 360 STRLIST_FOREACH(&files, filename, listfile(name, filename, flags)); 361 strlist_done(&files); 450 strlist_t files = STRLIST_INITIALIZER; local 475 strlist_append_dup(&files, argv[i]); 479 if (files.count > 0) { 480 STRLIST_FOREACH(&files, path, { 485 strlist_done(&files); [all...] |
/system/extras/tests/sdcard/ |
sdcard_perf_test.cpp | 196 // Remove all the files under kTestDir and clear the caches. 353 // Setup the testcase by writting some dummy files. 620 // Create some files at this depth 644 // Count discovered files 645 int dirs = 0, files = 0; local 654 files++; 670 if (expectedFiles != files) { 671 fprintf(stderr, "expected %d files, but found %d\n", expectedFiles, files);
|
/ndk/build/core/ |
definitions.mk | 104 # Rationale: Many object files will be stored in the same output directory. 341 # defined in application's Android.mk files. 411 # LOCAL_OBJECTS will contain the list of object files generated from the 420 # LOCAL_OBJS_DIR will contain the location where the object files for [all...] |
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/ |
FileUtil.java | 69 * Existing files will not be affected. 100 * create multiple new files 103 * @param count number of files to create 107 File[] files = new File[count]; local 109 files[i] = createNewFile(context, dirName); 111 return files; 157 * remove given file or directory under the current app's files dir.
|
/cts/tests/tests/os/src/android/os/cts/ |
FileAccessPermissionTest.java | 70 // Test not writable / deletable for all files 84 // Test readable for only apk files 104 File[] files = file.listFiles(); local 105 assertTrue(files == null || files.length == 0); 123 files = userAppDataDir.listFiles(); 124 assertTrue(files == null || files.length == 0);
|
/development/tools/idegen/src/com/android/idegen/ |
IntellijProject.java | 21 import com.google.common.io.Files; 87 // Finally create iml files for dependencies 137 String modulesContent = Files.toString( 155 Files.write(modulesContent, out, CHARSET); 159 String vcsTemplate = Files.toString( 175 Files.write(vcsTemplate, new File(projectIdeaDir, "vcs.xml"), CHARSET); 180 Files.write(name, out, CHARSET); 190 File[] files = fromDir.listFiles(); local 191 for (File file : files) { 199 Files.copy(file, toFile) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest5.java | 77 fail("No Class Files Found."); 119 File[] files = makeClassPathArray(); local 120 for (int i = 0; i < files.length; i++) { 121 if (files[i].isDirectory()) { 122 String[] tempFileNames = files[i].list(); 124 File tempfile = new File(files[i], tempFileNames[j]); 153 private Class[] findThrowableClasses(File[] files) { 159 for (int i = 0; i < files.length; i++) { 160 String fileName = files[i].getPath(); 299 // One or more class files in awt make the VM hang after bein 323 File[] files = makeClassPathArray(); local [all...] |
/external/chromium/chrome/browser/importer/ |
firefox2_importer.cc | 369 std::vector<FilePath> files; local 370 GetSearchEnginesXMLFiles(&files); 373 ParseSearchEnginesFromXMLFiles(files, &search_engines); 388 std::vector<FilePath>* files) { 389 // Search engines are contained in XML files in a searchplugins directory that 394 FindXMLFilesInDir(dir, files); 397 FindXMLFilesInDir(profile_dir, files); 642 file_util::FileEnumerator::FILES,
|
firefox3_importer.cc | 344 std::vector<FilePath> files; local 345 GetSearchEnginesXMLFiles(&files); 348 ParseSearchEnginesFromXMLFiles(files, &search_engines); 362 std::vector<FilePath>* files) { 411 files->push_back(file); 431 file_util::FileEnumerator::FILES); 434 files->push_back(engine_path);
|
/external/chromium/chrome/common/extensions/ |
extension_unittest.cc | 251 // Test missing and invalid files array 273 ListValue* files = new ListValue; local 274 user_script->Set(keys::kJs, files); 280 files->Set(0, Value::CreateIntegerValue(42)); 795 // actual crx files that we test other parts of the system with. [all...] |