Home
last modified time | relevance | path

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

123456789

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DFileSystemWriteTest.java38 File file = new File("/data/misc/bluetooth/test.file"); in testBluetoothDirWrite() local
49 File file = new File("/data/misc/bluedroid/test.file"); in testBluedroidDirWrite() local
60 File file = new File("/data/misc/bluetooth/logs/test.file"); in testBluetoothLogsDirWrite() local
/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/providers/MediaProvider/tests/src/com/android/providers/media/
DIsoInterfaceTest.java43 final File file = stageFile(R.raw.test_video); in testRepeated() local
56 final File file = stageFile(R.raw.test_video_gps); in testGps() local
67 final File file = stageFile(R.raw.test_video_xmp); in testXmp() local
79 final File file = File.createTempFile("test", ".mp4"); in stageFile() local
DIdleServiceTest.java61 final File file = MediaScannerTest.stage(R.raw.test_image, in testPruneThumbnails() local
92 private static void createNewFileWithMkdirs(File file) throws IOException { in createNewFileWithMkdirs()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/analytics/
DDeferredMetricsWriteReadRoboTest.java59 final File file = new File("test-file"); in writeRead_deferredMetricsWriter_eventsAreCorrect() local
67 private DevicePolicyEventLogger[] readMetricsFromFile(File file) { in readMetricsFromFile()
77 DevicePolicyEventLogger[] devicePolicyEvent, File file) { in writeMetricsToFile()
/packages/services/Car/service/src/com/android/car/
DUptimeTracker.java93 public UptimeTracker(File file) { in UptimeTracker()
97 public UptimeTracker(File file, long snapshotInterval) { in UptimeTracker()
101 UptimeTracker(File file, long snapshotInterval, SystemInterface systemInterface) { in UptimeTracker()
108 UptimeTracker(File file, in UptimeTracker()
/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/providers/DownloadProvider/src/com/android/providers/downloads/
DStorageUtils.java60 final ConcreteFile file = new ConcreteFile(child); in listFilesRecursive() local
77 public final File file; field in StorageUtils.ConcreteFile
80 public ConcreteFile(File file) throws ErrnoException { in ConcreteFile()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreferenceTest.java63 File file = mock(File.class); in testSizeSummary() local
79 File file = new File(mTempDir, "test.bmp"); in compareTo_biggerFileSortsAhead() local
94 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()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DMediaScanner.java28 public void scanDirectory(File file); in scanDirectory()
29 public Uri scanFile(File file); in scanFile()
DModernMediaScanner.java164 public void scanDirectory(File file) { in scanDirectory()
172 public Uri scanFile(File file) { in scanFile()
365 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) in visitFile()
418 public FileVisitResult visitFileFailed(Path file, IOException exc) in visitFileFailed()
477 private static @Nullable ContentProviderOperation scanItem(long existingId, File file, in scanItem()
518 File file, BasicFileAttributes attrs, String mimeType) { in withGenericValues()
559 private static @NonNull ContentProviderOperation scanItemDirectory(long existingId, File file, in scanItemDirectory()
585 private static @NonNull ContentProviderOperation scanItemAudio(long existingId, File file, in scanItemAudio()
652 private static @NonNull ContentProviderOperation scanItemPlaylist(long existingId, File file, in scanItemPlaylist()
665 private static @NonNull ContentProviderOperation scanItemVideo(long existingId, File file, in scanItemVideo()
[all …]
/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/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/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java108 final File file = File.createTempFile("test", ".jpg"); in testParseDateTaken_Complete() local
127 final File file = File.createTempFile("test", ".jpg"); in testParseDateTaken_Gps() local
166 final File file = File.createTempFile("test", ".jpg"); in testParseDateTaken_File() local
195 final File file = File.createTempFile("test", ".jpg"); in testParseDateTaken_Hopeless() local
203 private static void assertDirectoryHidden(File file) { in assertDirectoryHidden()
207 private static void assertDirectoryNotHidden(File file) { in assertDirectoryNotHidden()
303 final File file = new File(mDir, "red.jpg"); in testScan_Common() local
/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/apps/Traceur/src/com/google/android/traceur/
DFileSender.java43 public static void postNotification(Context context, File file) { in postNotification()
79 public static void send(Context context, File file) { in send()
90 private static Uri getUriForFile(Context context, File file) { in getUriForFile()
/packages/apps/TV/tuner/tests/testing/src/com/android/tv/tuner/testing/buffer/
DVerySlowSampleChunk.java33 File file, in createSampleChunk()
43 File file, in VerySlowSampleChunk()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DDeviceListFragment.java178 private void onFileSelected(File file) { in onFileSelected()
221 protected File[] doInBackground(File... file) { in showFolderContent()
252 File file = mListItems.get(position); in get() local
269 private static boolean isUpdateFile(File file) { in isUpdateFile()
276 void applyUpdate(File file); in applyUpdate()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java127 final File file = new File(getContext().getCacheDir(), rootId); in clearCacheAndBuildRoots() local
174 final StubDocument file = mStorage.get(documentId); in queryDocument() local
193 File file = createFile(parent, mimeType, displayName); in createDocument() local
589 File file = createFile(parent, mimeType, displayName); in createDocument() local
615 final File file = new File(parent.file, displayName); in createFile() local
670 private void removeChildrenRecursively(File file) { in removeChildrenRecursively()
702 final File file = createFile(rootId, path, mimeType, content); in createRegularFile() local
717 final File file = createFile(rootId, path, mimeType, content); in createVirtualFile() local
751 final File file = new File(root.file, path.substring(1)); in createFile() local
777 RootInfo(File file, long capacity) { in RootInfo()
[all …]
/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()

123456789