/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | FileSystemWriteTest.java | 38 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/ |
D | FileUtils.java | 131 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 …]
|
D | DirectoryWalker.java | 393 …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()
|
D | FileCleaner.java | 59 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/ |
D | IsoInterfaceTest.java | 43 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
|
D | IdleServiceTest.java | 61 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/ |
D | DeferredMetricsWriteReadRoboTest.java | 59 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/ |
D | UptimeTracker.java | 93 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/ |
D | FileWriterWithEncoding.java | 140 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()
|
D | LockableFileWriter.java | 107 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/ |
D | StorageUtils.java | 60 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/ |
D | DownloadsFilePreferenceTest.java | 63 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/ |
D | NotFileFilter.java | 54 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/ |
D | MediaScanner.java | 28 public void scanDirectory(File file); in scanDirectory() 29 public Uri scanFile(File file); in scanFile()
|
D | ModernMediaScanner.java | 164 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/ |
D | DownloadsFilePreference.java | 34 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/ |
D | DictDecoder.java | 129 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/ |
D | ModernMediaScannerTest.java | 108 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/ |
D | IconProvider.java | 46 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/ |
D | FileSender.java | 43 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/ |
D | VerySlowSampleChunk.java | 33 File file, in createSampleChunk() 43 File file, in VerySlowSampleChunk()
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | DeviceListFragment.java | 178 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/ |
D | StubProvider.java | 127 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/ |
D | dict_file_writing_utils.cpp | 90 /* 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/ |
D | MediaSaver.java | 63 File file; in saveDepth() local 104 File file; in saveJpeg() local 138 public static void insertImage(ContentResolver cr, File file) { in insertImage()
|