Home
last modified time | relevance | path

Searched refs:assertCantRenameFile (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java27 import static android.scopedstorage.cts.lib.TestUtils.assertCantRenameFile;
482 assertCantRenameFile(shellFile1, shellFile2); in testCantRename_hasR()
484 assertCantRenameFile(shellFile1, mediaFile1); in testCantRename_hasR()
517 assertCantRenameFile(shellFile1, shellFile2); in testCantRename_noStoragePermission()
519 assertCantRenameFile(shellFile1, mediaFile1); in testCantRename_noStoragePermission()
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java34 import static android.scopedstorage.cts.lib.TestUtils.assertCantRenameFile;
1650 assertCantRenameFile(pdfFile1, new File(getDcimDir(), NONMEDIA_FILE_NAME)); in testRenameFile()
1651 assertCantRenameFile(pdfFile1, new File(getMusicDir(), NONMEDIA_FILE_NAME)); in testRenameFile()
1652 assertCantRenameFile(pdfFile1, new File(getMoviesDir(), NONMEDIA_FILE_NAME)); in testRenameFile()
1687 assertCantRenameFile(pdfFile, new File(getDcimDir(), NONMEDIA_FILE_NAME)); in testRenameFileType()
1777 assertCantRenameFile(videoFile1, videoFile2); in testRenameFileNotOwned()
1781 assertCantRenameFile(videoFile2, videoFile1); in testRenameFileNotOwned()
1809 assertCantRenameFile(testFile, new File(androidDirPath, IMAGE_FILE_NAME)); in testRenameFileToAppSpecificDir()
1810 assertCantRenameFile(testFile, new File(androidDirPath + "/data", IMAGE_FILE_NAME)); in testRenameFileToAppSpecificDir()
1811 assertCantRenameFile(testFile, new File(androidDirPath + "/media", IMAGE_FILE_NAME)); in testRenameFileToAppSpecificDir()
[all …]
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1227 public static void assertCantRenameFile(File oldFile, File newFile) { in assertCantRenameFile() method in TestUtils