/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/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()
|
D | XmpInterfaceTest.java | 120 final File file = stageFile(R.raw.test_video_xmp); in testContainer_IsoRedactionRanges() local 138 final File file = stageFile(R.raw.test_video_xmp_bad_tag); in testContainer_IsoRedactionRanges_BadTagValue() local 156 final File file = stageFile(R.raw.test_video_xmp_malformed); in testContainer_IsoRedactionRanges_MalformedXml() local 186 final File file = File.createTempFile("test", ".mp4"); in stageFile() local
|
/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/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()
|
D | Helpers.java | 243 final File file = new File(Uri.parse(hint).getPath()); in generateSaveFile() local 505 File file) { in triggerMediaScan() 521 static boolean isFilenameValid(Context context, File file) { in isFilenameValid() 525 static boolean isFilenameValidInExternal(Context context, File file) { in isFilenameValidInExternal() 534 static boolean isFilenameValidInExternalPackage(Context context, File file, in isFilenameValidInExternalPackage() 550 static boolean isFilenameValidInPublicDownloadsDir(File file) { in isFilenameValidInPublicDownloadsDir() 581 static boolean isFilenameValid(Context context, File file, boolean allowInternal) { in isFilenameValid() 606 private static boolean containsCanonical(File dir, File file) throws IOException { in containsCanonical() 610 private static boolean containsCanonical(File[] dirs, File file) throws IOException { in containsCanonical()
|
/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/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 | 162 public void scanDirectory(File file) { in scanDirectory() 170 public Uri scanFile(File file) { in scanFile() 363 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) in visitFile() 416 public FileVisitResult visitFileFailed(Path file, IOException exc) in visitFileFailed() 475 private static @Nullable ContentProviderOperation scanItem(long existingId, File file, in scanItem() 516 File file, BasicFileAttributes attrs, String mimeType) { in withGenericValues() 557 private static @NonNull ContentProviderOperation scanItemDirectory(long existingId, File file, in scanItemDirectory() 583 private static @NonNull ContentProviderOperation scanItemAudio(long existingId, File file, in scanItemAudio() 650 private static @NonNull ContentProviderOperation scanItemPlaylist(long existingId, File file, in scanItemPlaylist() 663 private static @NonNull ContentProviderOperation scanItemVideo(long existingId, File file, in scanItemVideo() [all …]
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/util/ |
D | CommonUtilsTest.java | 38 File file = new File(RuntimeEnvironment.application.getExternalFilesDir(null), "file"); in deleteDirOrFile_file() local 70 File file = new File(subDir, "file"); in deleteDirOrFile_unreadableSubDir() local
|
/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/android/traceur/ |
D | FileSender.java | 44 public static void postNotification(Context context, File file) { in postNotification() 80 public static void send(Context context, File file) { in send() 91 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/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpCoverArtStorageTest.java | 92 File file = mAvrcpCoverArtStorage.getImageFile(device, handle); in assertImageSame() local 206 File file = mAvrcpCoverArtStorage.getImageFile(mDevice1, mHandle1); in getImageThatDoesntExist_returnsNull() local 213 File file = mAvrcpCoverArtStorage.getImageFile(null, mHandle1); in getImageNullDevice_returnsNull() local 220 File file = mAvrcpCoverArtStorage.getImageFile(mDevice1, null); in getImageNullHandle_returnsNull() local 227 File file = mAvrcpCoverArtStorage.getImageFile(mDevice1, ""); in getImageEmptyHandle_returnsNull() local
|
/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()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/ |
D | DeferredMetricsWriter.java | 51 DeferredMetricsWriter(File file) { in DeferredMetricsWriter() 71 WriteDeferredMetricsAsyncTask(OutputStream file) { in WriteDeferredMetricsAsyncTask()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | Util.java | 78 static byte[] readFile(File file) { in readFile() 91 static boolean deleteFile(File file) { in deleteFile()
|