Home
last modified time | relevance | path

Searched refs:PickerDbFacade (Results 1 – 22 of 22) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDbFacadeTest.java102 private PickerDbFacade mFacade;
117 mFacade = new PickerDbFacade(mContext, new PickerSyncLockManager(), LOCAL_PROVIDER); in setUp()
528 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()
830 PickerDbFacade.QueryFilterBuilder qfbBefore = new PickerDbFacade.QueryFilterBuilder(5); in testQueryWithDateTakenFilter()
839 PickerDbFacade.QueryFilterBuilder qfbAfter = new PickerDbFacade.QueryFilterBuilder(5); in testQueryWithDateTakenFilter()
854 try (PickerDbFacade.DbWriteOperation operation = in testQueryWithIdFilter()
861 PickerDbFacade.QueryFilterBuilder qfbBefore = new PickerDbFacade.QueryFilterBuilder(5); in testQueryWithIdFilter()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/
DPickerDbTestUtils.java29 import com.android.providers.media.photopicker.data.PickerDbFacade;
66 public static Cursor queryMediaAll(PickerDbFacade mFacade) { in queryMediaAll()
68 new PickerDbFacade.QueryFilterBuilder(1000).build()); in queryMediaAll()
71 public static Cursor queryAlbumMedia(PickerDbFacade mFacade, String albumId, boolean isLocal) { in queryAlbumMedia()
75 new PickerDbFacade.QueryFilterBuilder(1000).setAlbumId(albumId).build(), in queryAlbumMedia()
79 public static void assertAddMediaOperation(PickerDbFacade mFacade, String authority, in assertAddMediaOperation()
81 try (PickerDbFacade.DbWriteOperation operation = in assertAddMediaOperation()
88 public static void assertAddAlbumMediaOperation(PickerDbFacade mFacade, String authority, in assertAddAlbumMediaOperation()
90 try (PickerDbFacade.DbWriteOperation operation = in assertAddAlbumMediaOperation()
97 public static void assertRemoveMediaOperation(PickerDbFacade mFacade, String authority, in assertRemoveMediaOperation()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DCloudProviderQueryExtras.java25 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.BOOLEA…
26 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.INT_DE…
27 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LIMIT_…
28 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LIST_D…
29 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LONG_D…
30 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING…
31 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING…
180 public PickerDbFacade.QueryFilter toQueryFilter() { in toQueryFilter()
181 PickerDbFacade.QueryFilterBuilder qfb = new PickerDbFacade.QueryFilterBuilder(mLimit); in toQueryFilter()
DPaginationParameters.java19 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.INT_DE…
DExternalDbFacade.java31 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.INT_DE…
32 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LONG_D…
33 import static com.android.providers.media.photopicker.data.PickerDbFacade.addMimeTypesToQueryBuilde…
DPickerDbFacade.java71 public class PickerDbFacade { class
82 public PickerDbFacade(Context context, PickerSyncLockManager pickerSyncLockManager) { in PickerDbFacade() method in PickerDbFacade
87 public PickerDbFacade(Context context, PickerSyncLockManager pickerSyncLockManager, in PickerDbFacade() method in PickerDbFacade
93 public PickerDbFacade(Context context, PickerSyncLockManager pickerSyncLockManager, in PickerDbFacade() method in PickerDbFacade
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/
DPickerSQLConstants.java20 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_CLOUD_ID;
21 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_DATE_TAKEN_MS;
22 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_DURATION_MS;
23 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_ID;
24 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_LOCAL_ID;
25 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_MIME_TYPE;
26 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_SIZE_BYTES;
27 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_STANDARD_MIME_TYPE_EX…
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/model/
DMediaQuery.java19 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_CLOUD_ID;
20 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_DATE_TAKEN_MS;
21 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_ID;
22 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_IS_VISIBLE;
23 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_LOCAL_ID;
24 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_MIME_TYPE;
DFavoritesMediaQuery.java19 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_CLOUD_ID;
20 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_IS_FAVORITE;
21 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_LOCAL_ID;
DAlbumMediaQuery.java19 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_ALBUM_ID;
20 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_CLOUD_ID;
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DMediaResetWorker.java44 import com.android.providers.media.photopicker.data.PickerDbFacade;
83 PickerDbFacade dBFacade; in doWork()
88 dBFacade = new PickerDbFacade(mContext, pickerSyncLockManager); in doWork()
138 private ListenableWorker.Result start(@NonNull PickerDbFacade dbFacade) { in start()
143 try (PickerDbFacade.DbWriteOperation operation = in start()
166 private PickerDbFacade.DbWriteOperation beginResetOperation( in beginResetOperation()
167 @NonNull PickerDbFacade dbFacade, @NonNull @SyncResetType int resetType) { in beginResetOperation()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPickerSyncControllerTest.java57 import com.android.providers.media.photopicker.data.PickerDbFacade;
143 private PickerDbFacade mFacade;
168 mFacade = new PickerDbFacade(mContext, mLockManager, LOCAL_PROVIDER_AUTHORITY, dbHelper); in setUp()
990 PickerDbFacade facade = new PickerDbFacade(mContext, mLockManager, LOCAL_PROVIDER_AUTHORITY, in testSyncAfterDbCreate()
1011 facade = new PickerDbFacade(mContext, mLockManager, LOCAL_PROVIDER_AUTHORITY, dbHelper); in testSyncAfterDbCreate()
1037 PickerDbFacade facade = new PickerDbFacade(mContext, mLockManager, LOCAL_PROVIDER_AUTHORITY, in testSyncAfterDbUpgrade()
1055 facade = new PickerDbFacade(mContext, mLockManager, LOCAL_PROVIDER_AUTHORITY, dbHelperV2); in testSyncAfterDbUpgrade()
1081 PickerDbFacade facade = new PickerDbFacade(mContext, mLockManager, LOCAL_PROVIDER_AUTHORITY, in testSyncAfterDbDowngrade()
1099 facade = new PickerDbFacade(mContext, mLockManager, LOCAL_PROVIDER_AUTHORITY, in testSyncAfterDbDowngrade()
1273 PickerDbFacade facade = new PickerDbFacade(mContext, mLockManager, LOCAL_PROVIDER_AUTHORITY, in testUserPrefsAfterDbUpgrade()
[all …]
DPickerDataLayerTest.java23 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LONG_D…
24 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING…
51 import com.android.providers.media.photopicker.data.PickerDbFacade;
113 private PickerDbFacade mFacade;
137 mFacade = new PickerDbFacade(mContext, lockManager, LOCAL_PROVIDER_AUTHORITY, mDbHelper); in setUp()
826 new PickerDbFacade.QueryFilterBuilder(1000).build()); in queryMedia()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DMediaResetWorkerTest.java55 import com.android.providers.media.photopicker.data.PickerDbFacade;
76 private PickerDbFacade mDbFacade;
110 mDbFacade = new PickerDbFacade(mContext, new PickerSyncLockManager(), TEST_LOCAL_AUTHORITY); in setup()
440 new PickerDbFacade.QueryFilterBuilder(1000).build(), authority); in queryAlbumMediaAll()
449 new PickerDbFacade.QueryFilterBuilder(1000).setAlbumId(albumId).build(), authority); in queryAlbumMediaAll()
460 try (PickerDbFacade.DbWriteOperation operation = in assertAddAlbumMediaWithAlbumId()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerSyncController.java68 import com.android.providers.media.photopicker.data.PickerDbFacade;
144 private final PickerDbFacade mDbFacade;
165 @NonNull PickerDbFacade dbFacade, @NonNull ConfigStore configStore, @NonNull in initialize()
185 @NonNull PickerDbFacade dbFacade, @NonNull ConfigStore configStore, in initialize()
214 private PickerSyncController(@NonNull Context context, @NonNull PickerDbFacade dbFacade, in PickerSyncController()
874 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()
[all …]
DPickerDataLayer.java53 import com.android.providers.media.photopicker.data.PickerDbFacade;
94 private final PickerDbFacade mDbFacade;
105 public PickerDataLayer(@NonNull Context context, @NonNull PickerDbFacade dbFacade, in PickerDataLayer()
124 public static PickerDataLayer create(@NonNull Context context, @NonNull PickerDbFacade dbFacade, in create()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPickerProviderMediaGenerator.java26 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LONG_D…
27 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING…
28 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING…
DPickerUriResolverTest.java69 import com.android.providers.media.photopicker.data.PickerDbFacade;
103 super(context, new PickerDbFacade(getTargetContext(), new PickerSyncLockManager()), in TestPickerUriResolver()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPickerUriResolver.java62 import com.android.providers.media.photopicker.data.PickerDbFacade;
115 private final PickerDbFacade mDbFacade;
120 PickerUriResolver(Context context, PickerDbFacade dbFacade, ProjectionHelper projectionHelper, in PickerUriResolver()
DMediaProvider.java293 import com.android.providers.media.photopicker.data.PickerDbFacade;
1370 mPickerDbFacade = new PickerDbFacade(context, pickerSyncLockManager); in onCreate()
1811 try (PickerDbFacade.UpdateMediaOperation operation = in updateSpecialFormatColumn()
1831 @NonNull CancellationSignal signal, PickerDbFacade.UpdateMediaOperation operation) { in updateSpecialFormatForLimitedRows()
1855 pickerDbValues.put(PickerDbFacade.KEY_STANDARD_MIME_TYPE_EXTENSION, specialFormat); in updateSpecialFormatForLimitedRows()
11266 private PickerDbFacade mPickerDbFacade;
/packages/providers/MediaProvider/
Dperfetto_config.pbtx66 # filter_tags: "PickerDbFacade"
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2Test.java75 import com.android.providers.media.photopicker.data.PickerDbFacade;
97 private PickerDbFacade mFacade;
131 mFacade = new PickerDbFacade(mContext, new PickerSyncLockManager(), LOCAL_PROVIDER); in setUp()