Searched refs:updateFile (Results 1 – 2 of 2) sorted by relevance
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 562 public static int updateFile(Uri uri, ContentValues values) { in updateFile() method in TestUtils 625 assertEquals(0, updateFile(uri, values)); in verifyUpdateToExternalDirsViaData_denied() 630 assertEquals(0, updateFile(uri, values)); in verifyUpdateToExternalDirsViaData_denied() 634 assertEquals(0, updateFile(uri, values)); in verifyUpdateToExternalDirsViaData_denied() 647 assertNotEquals(0, updateFile(uri, values)); in verifyUpdateToExternalMediaDirViaRelativePath_allowed() 660 assertThrows(IllegalArgumentException.class, () -> updateFile(uri, values)); in verifyUpdateToExternalPrivateDirsViaRelativePath_denied() 667 assertThrows(IllegalArgumentException.class, () -> updateFile(uri, values)); in verifyUpdateToExternalPrivateDirsViaRelativePath_denied()
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 60 import static android.scopedstorage.cts.lib.TestUtils.updateFile; 1124 assertNotEquals(0, updateFile(uri, values)); in testUpdateToExternalDirsViaData() 1129 assertNotEquals(0, updateFile(uri, values)); in testUpdateToExternalDirsViaData() 1133 assertNotEquals(0, updateFile(uri, values)); in testUpdateToExternalDirsViaData()
|