Home
last modified time | relevance | path

Searched refs:updateFile (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java415 public static int updateFile(Uri uri, ContentValues values) { in updateFile() method in TestUtils
487 assertEquals(0, updateFile(uri, values)); in verifyUpdateToExternalDirsViaData_denied()
492 assertEquals(0, updateFile(uri, values)); in verifyUpdateToExternalDirsViaData_denied()
496 assertEquals(0, updateFile(uri, values)); in verifyUpdateToExternalDirsViaData_denied()
510 assertNotEquals(0, updateFile(uri, values)); in verifyUpdateToExternalMediaDirViaRelativePath_allowed()
524 assertThrows(IllegalArgumentException.class, () -> updateFile(uri, values)); in verifyUpdateToExternalPrivateDirsViaRelativePath_denied()
531 assertThrows(IllegalArgumentException.class, () -> updateFile(uri, values)); in verifyUpdateToExternalPrivateDirsViaRelativePath_denied()
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java52 import static android.scopedstorage.cts.lib.TestUtils.updateFile;
981 assertNotEquals(0, updateFile(uri, values)); in testUpdateToExternalDirsViaData()
986 assertNotEquals(0, updateFile(uri, values)); in testUpdateToExternalDirsViaData()
990 assertNotEquals(0, updateFile(uri, values)); in testUpdateToExternalDirsViaData()