Searched refs:mediaFile (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
D | ChangeDefaultUris.java | 38 File mediaFile = in testChangeDefaultUris() local 42 copyToExternalStorage(R.raw.ringer, mediaFile); in testChangeDefaultUris() 45 values.put(MediaStore.MediaColumns.DATA, mediaFile.getPath()); in testChangeDefaultUris()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 153 File mediaFile; in getOutputMediaFile() local 155 mediaFile = new File(mediaStorageDir.getPath() + File.separator + in getOutputMediaFile() 158 mediaFile = new File(mediaStorageDir.getPath() + File.separator + in getOutputMediaFile() 161 Log.v(TAG, "getOutputMediaFile: output file " + mediaFile.getPath()); in getOutputMediaFile() 167 return mediaFile; in getOutputMediaFile()
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 735 final File mediaFile = new File(nomediaDir, IMAGE_FILE_NAME); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() local 744 assertThat(mediaFile.createNewFile()).isTrue(); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() 746 assertThat(getFileRowIdFromDatabase(mediaFile)).isNotEqualTo(-1); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() 748 assertThat(mediaFile.renameTo(renamedMediaFile)).isTrue(); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() 757 mediaFile.delete(); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir()
|
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/ |
D | ScopedStorageDeviceTest.java | 574 final File mediaFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testCantAccessOtherAppsContents() local 577 assertThat(createFileAs(APP_B_NO_PERMS, mediaFile.getPath())).isTrue(); in testCantAccessOtherAppsContents() 581 assertThat(mediaFile.exists()).isTrue(); in testCantAccessOtherAppsContents() 585 assertThat(canOpen(mediaFile, /* forWrite */ false)).isFalse(); in testCantAccessOtherAppsContents() 587 assertThat(canOpen(mediaFile, /* forWrite */ false)).isFalse(); in testCantAccessOtherAppsContents() 591 deleteFileAsNoThrow(APP_B_NO_PERMS, mediaFile.getPath()); in testCantAccessOtherAppsContents() 598 final File mediaFile = new File(dirInDownload, IMAGE_FILE_NAME); in testCantDeleteOtherAppsContents() local 603 assertThat(createFileAs(APP_B_NO_PERMS, mediaFile.getPath())).isTrue(); in testCantDeleteOtherAppsContents() 619 assertThat(deleteFileAs(APP_B_NO_PERMS, mediaFile.getPath())).isTrue(); in testCantDeleteOtherAppsContents() 634 deleteFileAsNoThrow(APP_B_NO_PERMS, mediaFile.getPath()); in testCantDeleteOtherAppsContents() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 3738 File mediaFile = new File(fileName); 3739 return mediaFile + fileExtension;
|