Home
last modified time | relevance | path

Searched refs:PickerDatabaseHelper (Results 1 – 9 of 9) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDatabaseHelperTest.java88 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testMediaColumns()
130 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testAlbumMediaColumns()
159 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testCheck_cloudOrLocal()
175 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testUniqueConstraint_local()
204 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testUniqueConstraintAlbumMedia()
235 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testUniqueConstraint_cloud()
258 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testUniqueConstraint_localAndCloudPlusLocal()
285 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testCheck_IsVisible()
304 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testCheck_Size()
335 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testCheck_MimeType()
[all …]
DPickerDbFacadeTest.java115 File dbPath = mContext.getDatabasePath(PickerDatabaseHelper.PICKER_DATABASE_NAME); in setUp()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDatabaseHelper.java39 public class PickerDatabaseHelper extends SQLiteOpenHelper { class
50 public PickerDatabaseHelper(Context context) { in PickerDatabaseHelper() method in PickerDatabaseHelper
54 public PickerDatabaseHelper(Context context, String name, int version) { in PickerDatabaseHelper() method in PickerDatabaseHelper
DPickerDbFacade.java89 this(context, pickerSyncLockManager, localProvider, new PickerDatabaseHelper(context)); in PickerDbFacade()
94 String localProvider, PickerDatabaseHelper dbHelper) { in PickerDbFacade()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPickerSyncControllerTest.java56 import com.android.providers.media.photopicker.data.PickerDatabaseHelper;
167 PickerDatabaseHelper dbHelper = new PickerDatabaseHelper(mContext, DB_NAME, DB_VERSION_1); in setUp()
988 final PickerDatabaseHelper dbHelper = new PickerDatabaseHelper( in testSyncAfterDbCreate()
1036 PickerDatabaseHelper dbHelperV1 = new PickerDatabaseHelper(mContext, DB_NAME, DB_VERSION_1); in testSyncAfterDbUpgrade()
1054 PickerDatabaseHelper dbHelperV2 = new PickerDatabaseHelper(mContext, DB_NAME, DB_VERSION_2); in testSyncAfterDbUpgrade()
1080 PickerDatabaseHelper dbHelperV2 = new PickerDatabaseHelper(mContext, DB_NAME, DB_VERSION_2); in testSyncAfterDbDowngrade()
1098 PickerDatabaseHelper dbHelperV1 = new PickerDatabaseHelper(mContext, DB_NAME, DB_VERSION_1); in testSyncAfterDbDowngrade()
1272 PickerDatabaseHelper dbHelperV1 = new PickerDatabaseHelper(mContext, DB_NAME, DB_VERSION_1); in testUserPrefsAfterDbUpgrade()
1284 PickerDatabaseHelper dbHelperV2 = new PickerDatabaseHelper(mContext, DB_NAME, DB_VERSION_2); in testUserPrefsAfterDbUpgrade()
DPickerDataLayerTest.java50 import com.android.providers.media.photopicker.data.PickerDatabaseHelper;
112 private PickerDatabaseHelper mDbHelper;
136 mDbHelper = new PickerDatabaseHelper(mContext, DB_NAME, DB_VERSION_1); in setUp()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProviderShellCommand.java36 import com.android.providers.media.photopicker.data.PickerDatabaseHelper;
85 pw.print('\'' + PickerDatabaseHelper.PICKER_DATABASE_NAME + "' version: "); in runVersion()
86 pw.println(PickerDatabaseHelper.VERSION_LATEST); in runVersion()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DMediaResetWorkerTest.java54 import com.android.providers.media.photopicker.data.PickerDatabaseHelper;
107 File dbPath = mContext.getDatabasePath(PickerDatabaseHelper.PICKER_DATABASE_NAME); in setup()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2Test.java74 import com.android.providers.media.photopicker.data.PickerDatabaseHelper;
129 File dbPath = mContext.getDatabasePath(PickerDatabaseHelper.PICKER_DATABASE_NAME); in setUp()