Home
last modified time | relevance | path

Searched refs:DbWriteOperation (Results 1 – 6 of 6) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDbFacadeTest.java528 try (PickerDbFacade.DbWriteOperation operation = in testRemoveCloud_promote()
596 try (PickerDbFacade.DbWriteOperation operation = in testLocalUpdate()
715 try (PickerDbFacade.DbWriteOperation operation = in testRemoveMedia_withLatestDateTakenMillis()
725 try (PickerDbFacade.DbWriteOperation operation = in testRemoveMedia_withLatestDateTakenMillis()
854 try (PickerDbFacade.DbWriteOperation operation = in testQueryWithIdFilter()
1591 try (PickerDbFacade.DbWriteOperation operation = in testFavorites()
1597 try (PickerDbFacade.DbWriteOperation operation = in testFavorites()
1641 try (PickerDbFacade.DbWriteOperation operation = in testGetFavoritesAlbumWithoutFilter()
1647 try (PickerDbFacade.DbWriteOperation operation = in testGetFavoritesAlbumWithoutFilter()
1698 try (PickerDbFacade.DbWriteOperation operation = in testGetVideosAlbumWithMimeTypesFilter()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/
DPickerDbTestUtils.java81 try (PickerDbFacade.DbWriteOperation operation = in assertAddMediaOperation()
90 try (PickerDbFacade.DbWriteOperation operation = in assertAddAlbumMediaOperation()
99 try (PickerDbFacade.DbWriteOperation operation = in assertRemoveMediaOperation()
108 try (PickerDbFacade.DbWriteOperation operation = in assertResetMediaOperation()
117 try (PickerDbFacade.DbWriteOperation operation = in assertResetAlbumMediaOperation()
124 public static void assertWriteOperation(PickerDbFacade.DbWriteOperation operation, in assertWriteOperation()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDbFacade.java273 public DbWriteOperation beginAddMediaOperation(String authority) { in beginAddMediaOperation()
281 public DbWriteOperation beginAddAlbumMediaOperation(String authority, String albumId) { in beginAddAlbumMediaOperation()
289 public DbWriteOperation beginRemoveMediaOperation(String authority) { in beginRemoveMediaOperation()
299 public DbWriteOperation beginResetMediaOperation(String authority) { in beginResetMediaOperation()
313 public DbWriteOperation beginResetAlbumMediaOperation(String authority, String albumId) { in beginResetAlbumMediaOperation()
332 public abstract static class DbWriteOperation implements AutoCloseable { class in PickerDbFacade
339 private DbWriteOperation(SQLiteDatabase database, boolean isLocal) { in DbWriteOperation() method in PickerDbFacade.DbWriteOperation
438 public static final class UpdateMediaOperation extends DbWriteOperation {
468 private static final class AddMediaOperation extends DbWriteOperation {
563 private static final class RemoveMediaOperation extends DbWriteOperation {
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DMediaResetWorker.java143 try (PickerDbFacade.DbWriteOperation operation = in start()
166 private PickerDbFacade.DbWriteOperation beginResetOperation( in beginResetOperation()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerSyncController.java874 try (PickerDbFacade.DbWriteOperation operation = in executeSyncReset()
893 try (PickerDbFacade.DbWriteOperation operation = in executeSyncAlbumReset()
1364 private PickerDbFacade.DbWriteOperation beginPagedOperation( in beginPagedOperation()
1491 try (PickerDbFacade.DbWriteOperation operation = in executePagedSync()
1582 private String getFirstDateTakenMsFromOperation(PickerDbFacade.DbWriteOperation op) { in getFirstDateTakenMsFromOperation()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DMediaResetWorkerTest.java460 try (PickerDbFacade.DbWriteOperation operation = in assertAddAlbumMediaWithAlbumId()