/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/services/rss/ |
RSSFeedWatcherTask.java | 13 import java.io.File; 33 * file - path to the XML file that will be published - eg., /path/to/file.to.publish.xml 69 private File file; field in class:RSSFeedWatcherTask 70 private File tmpFile; 78 public void setFile(String file) { 79 if (!isNullString(file)) { 80 this.file = new File(file); 112 System.out.println(Messages.getString("RSSFeedWatcherTask.PleaseRunThisTaskLater") + SP + file); \/\/$NON-NLS-1\$ local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
URLHandler.java | 11 import java.io.File; 137 if (protocol.equals("file")) { 149 File file; field in class:URLHandler.FileURLHandler 153 file = new File(url.toURI()); 157 if (file == null || !file.exists()) { 158 if (DEBUG) System.err.println("file does not exist - " + url.toString()); 164 if (file.isDirectory()) [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/ |
RolloverFileOutputStream.java | 21 import java.io.File; 38 * This output stream puts content in a file that is rolled over every 24 hours. 40 * actual date when creating and rolling over the file. 60 private File _file; 67 * which is replaced with the actual date when creating and rolling over the file. 79 * which is replaced with the actual date when creating and rolling over the file. 92 * which is replaced with the actual date when creating and rolling over the file. 108 * which is replaced with the actual date when creating and rolling over the file. 126 * which is replaced with the actual date when creating and rolling over the file. 129 * @param dateFormat The format for the date file substitution. The default is "yyyy_MM_dd". 214 File file = new File(_filename); local 259 File file= new File(_filename); local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContext.java | 13 import java.io.File; 27 public static final File CACHE_DIR = createTempDir("android-cache"); 28 public static final File EXTERNAL_CACHE_DIR = createTempDir("android-external-cache"); 29 public static final File FILES_DIR = createTempDir("android-tmp"); 30 public static final File EXTERNAL_FILES_DIR = createTempDir("android-external-files"); 35 public File getDir(String name, int mode) { 37 File file = new File(FILES_DIR, name); local 38 if (!file.exists()) [all...] |
/frameworks/base/core/java/com/android/server/ |
BootReceiver.java | 5 * you may not use this file except in compliance with the License. 35 import java.io.File; 50 private static final File TOMBSTONE_DIR = new File("/data/tombstones"); 107 .append(FileUtils.readTextFile(new File("/proc/version"), 1024, "...\n")) 137 // Negative sizes mean to take the *tail* of the file (see FileUtils.readTextFile()) 154 File[] tombstoneFiles = TOMBSTONE_DIR.listFiles(); 163 // This gets registered with the singleton file observer thread. 168 File file = new File(TOMBSTONE_DIR, path) 215 File file = new File("\/proc\/last_kmsg"); local 249 File file = new File("\/dev\/fscklogs\/log"); local [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
FileBridgeTest.java | 5 * you may not use this file except in compliance with the License. 26 import java.io.File; 35 private File file; field in class:FileBridgeTest 44 file = getContext().getFileStreamPath("meow.dat"); 45 file.delete(); 47 fileOs = new FileOutputStream(file); 58 file.delete(); 74 MoreAsserts.assertEquals(expected, Streams.readFully(new FileInputStream(file)));
|
/frameworks/base/media/java/android/media/ |
MediaMuxer.java | 5 * you may not use this file except in compliance with the License. 36 * mp4 file as the output and at most one audio and/or one video elementary 84 /** MPEG4 media file format*/ 127 * @param path The path of the output media file. 128 * @param format The format of the output media file. 130 * @throws IOException if failed to open the file for write 140 // Use RandomAccessFile so we can open the file with RW access; 141 // RW access allows the native writer to memory map the output file. 142 RandomAccessFile file = null; local 144 file = new RandomAccessFile(path, "rws") [all...] |
MiniThumbFile.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 32 * This class handles the mini-thumb file. A mini-thumb file consists 42 * @hide This file is shared between MediaStore and MediaProvider and should remained internal use 62 for (MiniThumbFile file : sThumbFiles.values()) { 63 file.deactivate(); 70 MiniThumbFile file = sThumbFiles.get(type); local 72 if (file == null) { 73 file = new MiniThumbFile [all...] |
/frameworks/base/services/core/java/com/android/server/ |
DockObserver.java | 5 * you may not use this file except in compliance with the License. 106 FileReader file = new FileReader(DOCK_STATE_PATH); local 108 int len = file.read(buffer, 0, 1024); 112 file.close(); 196 final Uri soundUri = Uri.parse("file://" + soundPath);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/ |
FileURLConnectionTest.java | 3 * contributor license agreements. See the NOTICE file distributed with 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 17 package org.apache.harmony.tests.internal.net.www.protocol.file; 20 import java.io.File; 47 File file = File.createTempFile("FileURLConnectionTest", local 49 os = new BufferedOutputStream(new FileOutputStream(file)); 52 return new URL("file://" + file.getAbsolutePath()) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
FileLockTest.java | 2 * contributor license agreements. See the NOTICE file distributed with 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 19 import java.io.File; 58 File tempFile = File.createTempFile("testing", "tmp"); 173 File file = File.createTempFile("test", "tmp"); local 174 file.deleteOnExit() [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
FileHandler.java | 3 * contributor license agreements. See the NOTICE file distributed with 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 21 import java.io.File; 32 * A {@code FileHandler} writes logging records into a specified file or a 36 * one file, then this file is closed and another file is opened. The name of 64 * bytes to write to any one file, defaults to zero, which means no limit.</li> 81 * Normally, the generation numbers are not larger than the given file count an 497 File file = new File(fileName + LCK_EXT); local [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
AttachmentProvider.java | 5 * you may not use this file except in compliance with the License. 42 import java.io.File; 50 * A simple ContentProvider that allows file access to Email's attachments. 52 * The URI scheme is as follows. For raw file access: 84 final File[] files = getContext().getCacheDir().listFiles(); 86 for (File file : files) { 87 final String filename = file.getName(); 89 file.delete(); 133 * Open an attachment file. There are two "formats" - "raw", which returns an actual file 177 File file = new File(dir, filename); local [all...] |
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 5 * you may not use this file except in compliance with the License. 38 import java.io.File; 74 File file = new File(Environment.getExternalStorageDirectory(), local 80 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); 90 // Verify the jpeg file 91 int fileLength = (int) file.length(); 94 stream = new BufferedInputStream(new FileInputStream(file)); 98 file.delete() [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
AttachmentUtils.java | 5 * you may not use this file except in compliance with the License. 31 import java.io.File; 82 * Return a friendly localized file type for this attachment, or the empty string if 85 * @return friendly file type or empty string 95 // finally, give up and just show the file extension 104 // show '$EXTENSION File' for unknown file types 160 * Cache the file specified by the given attachment. This will attempt to use any 166 * @return String file path for the cached attachment 173 final File cacheDir = context.getCacheDir() 186 File file = null; local [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MtpService.java | 5 * you may not use this file except in compliance with the License. 34 import java.io.File; 124 File file = local 127 file.mkdirs(); 128 subdirs[i] = file.getPath();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreviewList.java | 5 * you may not use this file except in compliance with the License. 36 import java.io.File; 44 /** Name of file saved in project directory storing previews */ 85 private File getManualFile() { 86 return new File(AdtUtils.getAbsolutePath(mProject).toFile(), PREVIEW_FILE_NAME); 90 File file = getManualFile(); local 91 if (file.exists()) { 92 load(file, deviceList); 99 File file = getManualFile() local 217 File file = getManualFile(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateManager.java | 5 * you may not use this file except in compliance with the License. 36 import java.io.File; 55 public static File getTemplateRootFolder() { 58 File folder = new File(location, FD_TOOLS + File.separator + FD_TEMPLATES); 69 public static List<File> getExtraTemplateRootFolders() { 70 List<File> folders = new ArrayList<File>(); 73 File extras = new File(location, FD_EXTRAS) 161 templateNames.put(file.getName(), file); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
SampleProjectTest.java | 5 * may not use this file except in compliance with the License. You may obtain a 40 import java.io.File; 74 File samples = new File(path); 76 File[] files = samples.listFiles(); 77 for (File file : files) { 78 if (file.isDirectory()) { 79 doTestSampleProject(file.getName(), file.getAbsolutePath(), target) [all...] |
/prebuilts/tools/common/gradle-plugins/repository/commons-io/commons-io/1.3.2/ |
commons-io-1.3.2.jar | |
/prebuilts/tools/common/m2/repository/commons-io/commons-io/1.3.2/ |
commons-io-1.3.2.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.directorywatcher_1.0.203.R36x_v20101027.jar | |
/ndk/build/core/ |
definitions.mk | 4 # you may not use this file except in compliance with the License. 35 # Returns : the name of the last parsed Android.mk file 57 # 2: file where the variable(s) should be defined 59 # Usage : $(call check-required-vars, VAR1 VAR2 VAR3..., <file>) 101 # Function : generate-file-dir 102 # Arguments: 1: file path 104 # directory of the input file path will be created before it. 106 # Usage : $(call generate-file-dir,<file>) 113 define ev-generate-file-di [all...] |
/prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/ |
commons-io-2.4.jar | |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 5 * you may not use this file except in compliance with the License. 34 import java.io.File; 281 final ParcelFileDescriptor file = ParcelFileDescriptor.open( local 282 File.createTempFile("pfd", "bbq"), ParcelFileDescriptor.MODE_READ_WRITE, handler, 285 write(file, 7); 286 file.close(); 295 final ParcelFileDescriptor file = ParcelFileDescriptor.open( local 296 File.createTempFile("pfd", "bbq"), ParcelFileDescriptor.MODE_READ_WRITE, handler, 299 write(file, 8); 300 file.closeWithError("OMG BANANAS") 309 final ParcelFileDescriptor file = ParcelFileDescriptor.open( local 363 final File file = File.createTempFile("treble_clef_\\ud834\\udd1e", ".tmp"); local 384 File file = new File(dir, fileName); local [all...] |