Searched refs:musicFile (Results 1 – 2 of 2) sorted by relevance
361 final File musicFile = new File(getMusicDir(), AUDIO_FILE_NAME); in testManageExternalStorageCanRenameOtherAppsContents() local386 assertCanRenameFile(pdfInObviouslyWrongPlace, musicFile, /* checkDatabase */ false); in testManageExternalStorageCanRenameOtherAppsContents()387 assertFileContent(musicFile, BYTES_DATA1); in testManageExternalStorageCanRenameOtherAppsContents()392 musicFile.delete(); in testManageExternalStorageCanRenameOtherAppsContents()
1504 final File musicFile = new File(getMusicDir(), AUDIO_FILE_NAME); in testSystemGalleryCanRenameImagesAndVideos() local1530 assertThat(imageFile.renameTo(musicFile)).isTrue(); in testSystemGalleryCanRenameImagesAndVideos()1531 assertThat(getFileRowIdFromDatabase(musicFile)).isEqualTo(-1); in testSystemGalleryCanRenameImagesAndVideos()1537 executeShellCommand("rm " + musicFile.getAbsolutePath()); in testSystemGalleryCanRenameImagesAndVideos()1538 MediaStore.scanFile(getContentResolver(), musicFile); in testSystemGalleryCanRenameImagesAndVideos() local