Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 161) sorted by relevance

1234567

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java131 public static FileInputStream openInputStream(File file) throws IOException { in openInputStream()
166 public static FileOutputStream openOutputStream(File file) throws IOException { in openOutputStream()
221 public static void touch(File file) throws IOException { in touch()
1004 public static boolean deleteQuietly(File file) { in deleteQuietly()
1046 File file = files[i]; in cleanDirectory() local
1071 public static boolean waitFor(File file, int seconds) { in waitFor()
1103 public static String readFileToString(File file, String encoding) throws IOException { in readFileToString()
1123 public static String readFileToString(File file) throws IOException { in readFileToString()
1136 public static byte[] readFileToByteArray(File file) throws IOException { in readFileToByteArray()
1157 public static List<String> readLines(File file, String encoding) throws IOException { in readLines()
[all …]
DDirectoryWalker.java393 …protected final void checkIfCancelled(File file, int depth, Collection results) throws IOException… in checkIfCancelled()
435 File file, int depth, Collection results) throws IOException { in handleIsCancelled()
517 protected void handleFile(File file, int depth, Collection results) throws IOException { in handleFile()
572 private File file; field in DirectoryWalker.CancelException
583 public CancelException(File file, int depth) { in CancelException()
596 public CancelException(String message, File file, int depth) { in CancelException()
DFileCleaner.java59 public static void track(File file, Object marker) { in track()
75 public static void track(File file, Object marker, FileDeleteStrategy deleteStrategy) { in track()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/core/
DFileSystemWriteTest.java12 File file = new File("/data/misc/bluetooth/test.file"); in testBluetoothDirWrite() local
22 File file = new File("/data/misc/bluedroid/test.file"); in testBluedroidDirWrite() local
32 File file = new File("/data/misc/bluetooth/logs/test.file"); in testBluetoothLogsDirWrite() local
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
DFileWriterWithEncoding.java140 public FileWriterWithEncoding(File file, String encoding) throws IOException { in FileWriterWithEncoding()
153 public FileWriterWithEncoding(File file, String encoding, boolean append) throws IOException { in FileWriterWithEncoding()
166 public FileWriterWithEncoding(File file, Charset encoding) throws IOException { in FileWriterWithEncoding()
179 public FileWriterWithEncoding(File file, Charset encoding, boolean append) throws IOException { in FileWriterWithEncoding()
192 public FileWriterWithEncoding(File file, CharsetEncoder encoding) throws IOException { in FileWriterWithEncoding()
205 …public FileWriterWithEncoding(File file, CharsetEncoder encoding, boolean append) throws IOExcepti… in FileWriterWithEncoding()
222 … private static Writer initWriter(File file, Object encoding, boolean append) throws IOException { in initWriter()
DLockableFileWriter.java107 public LockableFileWriter(File file) throws IOException { in LockableFileWriter()
119 public LockableFileWriter(File file, boolean append) throws IOException { in LockableFileWriter()
132 public LockableFileWriter(File file, boolean append, String lockDir) throws IOException { in LockableFileWriter()
144 public LockableFileWriter(File file, String encoding) throws IOException { in LockableFileWriter()
158 public LockableFileWriter(File file, String encoding, boolean append, in LockableFileWriter()
230 private Writer initWriter(File file, String encoding, boolean append) throws IOException { in initWriter()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreferenceTest.java66 File file = mock(File.class); in testSizeSummary() local
82 File file = new File(mTempDir, "test.bmp"); in compareTo_biggerFileSortsAhead() local
97 File file = new File(mTempDir, "test.bmp"); in compareTo_fallbackToFileName() local
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DNotFileFilter.java54 public boolean accept(File file) { in accept()
65 public boolean accept(File file, String name) { in accept()
DAndFileFilter.java118 public boolean accept(final File file) { in accept()
135 public boolean accept(final File file, final String name) { in accept()
DOrFileFilter.java117 public boolean accept(final File file) { in accept()
131 public boolean accept(final File file, final String name) { in accept()
DNameFileFilter.java145 public boolean accept(File file) { in accept()
163 public boolean accept(File file, String name) { in accept()
DPrefixFileFilter.java151 public boolean accept(File file) { in accept()
169 public boolean accept(File file, String name) { in accept()
DSuffixFileFilter.java152 public boolean accept(File file) { in accept()
170 public boolean accept(File file, String name) { in accept()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DDictDecoder.java129 public DictBuffer getDictionaryBuffer(final File file) in getDictionaryBuffer()
143 public DictBuffer getDictionaryBuffer(final File file) in getDictionaryBuffer()
172 public DictBuffer getDictionaryBuffer(final File file) in getDictionaryBuffer()
199 public DictBuffer getDictionaryBuffer(final File file) in getDictionaryBuffer()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreference.java34 public DownloadsFilePreference(Context context, File file, IconProvider iconProvider) { in DownloadsFilePreference()
62 File file = getFile(); in compareTo() local
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java124 final File file = new File(getContext().getCacheDir(), rootId); in clearCacheAndBuildRoots() local
171 final StubDocument file = mStorage.get(documentId); in queryDocument() local
190 File file = createFile(parent, mimeType, displayName); in createDocument() local
577 File file = createFile(parent, mimeType, displayName); in createDocument() local
603 final File file = new File(parent.file, displayName); in createFile() local
655 private void removeChildrenRecursively(File file) { in removeChildrenRecursively()
687 final File file = createFile(rootId, path, mimeType, content); in createRegularFile() local
702 final File file = createFile(rootId, path, mimeType, content); in createVirtualFile() local
736 final File file = new File(root.file, path.substring(1)); in createFile() local
762 RootInfo(File file, long capacity) { in RootInfo()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DStorageUtils.java189 private static long getDeviceId(File file) { in getDeviceId()
221 final ConcreteFile file = new ConcreteFile(child); in listFilesRecursive() local
238 public final File file; field in StorageUtils.ConcreteFile
241 public ConcreteFile(File file) throws ErrnoException { in ConcreteFile()
DHelpers.java209 final File file = new File(Uri.parse(hint).getPath()); in generateSaveFile() local
463 static boolean isFilenameValid(Context context, File file) { in isFilenameValid()
467 static boolean isFilenameValidInExternal(Context context, File file) { in isFilenameValidInExternal()
476 static boolean isFilenameValidInExternalPackage(Context context, File file, in isFilenameValidInExternalPackage()
498 static boolean isFilenameValid(Context context, File file, boolean allowInternal) { in isFilenameValid()
524 private static boolean containsCanonical(File dir, File file) throws IOException { in containsCanonical()
528 private static boolean containsCanonical(File[] dirs, File file) throws IOException { in containsCanonical()
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DIconProvider.java46 public static String getMimeType(File file) { in getMimeType()
60 public static boolean isImageType(File file) { in isImageType()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Ddict_file_writing_utils.cpp90 /* static */ bool DictFileWritingUtils::writeBufferToFileTail(FILE *const file, in writeBufferToFileTail()
110 FILE *const file = fdopen(fd, "wb"); in flushBufferToFile() local
129 /* static */ bool DictFileWritingUtils::writeBufferToFile(FILE *const file, in writeBufferToFile()
/packages/apps/DevCamera/src/com/android/devcamera/
DMediaSaver.java63 File file; in saveDepth() local
104 File file; in saveJpeg() local
138 public static void insertImage(ContentResolver cr, File file) { in insertImage()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DUtil.java80 static byte[] readFile(File file) { in readFile()
93 static boolean deleteFile(File file) { in deleteFile()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DFileProvider.java64 protected static boolean ensureFileExists(final File file) { in ensureFileExists()
102 final File file = getFile(fileId, getExtensionFromUri(uri)); in delete() local
113 final File file = getFile(fileId, getExtensionFromUri(uri)); in openFile() local
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DSystemUpdaterActivity.java163 public void checkPackage(File file) { in checkPackage()
186 File file = files[0]; in doInBackground() local
223 File file = files[0]; in doInBackground() local
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFiles.java28 public static void deleteRecursively(File file) { in deleteRecursively()

1234567