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.java26 import static android.scopedstorage.cts.lib.TestUtils.assertCantRenameFile;
455 assertCantRenameFile(shellFile1, shellFile2); in testCantRename_hasR()
457 assertCantRenameFile(shellFile1, mediaFile1); in testCantRename_hasR()
490 assertCantRenameFile(shellFile1, shellFile2); in testCantRename_noStoragePermission()
492 assertCantRenameFile(shellFile1, mediaFile1); in testCantRename_noStoragePermission()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java33 import static android.scopedstorage.cts.lib.TestUtils.assertCantRenameFile;
1559 assertCantRenameFile(pdfFile1, new File(getDcimDir(), NONMEDIA_FILE_NAME)); in testRenameFile()
1560 assertCantRenameFile(pdfFile1, new File(getMusicDir(), NONMEDIA_FILE_NAME)); in testRenameFile()
1561 assertCantRenameFile(pdfFile1, new File(getMoviesDir(), NONMEDIA_FILE_NAME)); in testRenameFile()
1596 assertCantRenameFile(pdfFile, new File(getDcimDir(), NONMEDIA_FILE_NAME)); in testRenameFileType()
1683 assertCantRenameFile(videoFile1, videoFile2); in testRenameFileNotOwned()
1687 assertCantRenameFile(videoFile2, videoFile1); in testRenameFileNotOwned()
1746 assertCantRenameFile(videoFile3, mediaDirectory3); in testRenameDirectory()
2376 assertCantRenameFile(validFile, invalidFile); in testCantCreateOrRenameFileWithInvalidName()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java945 public static void assertCantRenameFile(File oldFile, File newFile) { in assertCantRenameFile() method in TestUtils