Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDatabaseHelperTest.java45 private static final String KEY_CLOUD_ID = "cloud_id"; field in PickerDatabaseHelperTest
78 KEY_CLOUD_ID, in testMediaColumns()
94 values.put(KEY_CLOUD_ID, CLOUD_ID); in testMediaColumns()
120 KEY_CLOUD_ID, in testAlbumMediaColumns()
221 values.put(KEY_CLOUD_ID, CLOUD_ID); in testUniqueConstraintAlbumMedia()
227 values.put(KEY_CLOUD_ID, CLOUD_ID); in testUniqueConstraintAlbumMedia()
240 values.put(KEY_CLOUD_ID, CLOUD_ID); in testUniqueConstraint_cloud()
245 values.put(KEY_CLOUD_ID, CLOUD_ID); in testUniqueConstraint_cloud()
250 values.put(KEY_CLOUD_ID, CLOUD_ID); in testUniqueConstraint_cloud()
269 values.put(KEY_CLOUD_ID, CLOUD_ID + "1"); in testUniqueConstraint_localAndCloudPlusLocal()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDbFacade.java113 public static final String KEY_CLOUD_ID = "cloud_id"; field in PickerDbFacade
133 private static final String WHERE_CLOUD_ID = KEY_CLOUD_ID + " = ?";
134 private static final String WHERE_NULL_CLOUD_ID = KEY_CLOUD_ID + " IS NULL";
135 private static final String WHERE_NOT_NULL_CLOUD_ID = KEY_CLOUD_ID + " IS NOT NULL";
148 private static final String WHERE_CLOUD_ID_IN = KEY_CLOUD_ID + " IN ";
155 "%s IS NULL AND %s = 1", KEY_CLOUD_ID, KEY_IS_FAVORITE);
491 : KEY_CLOUD_ID)}; in executeInternal()
556 final String[] cloudIdProjection = new String[] {KEY_CLOUD_ID}; in getVisibleCloudIdFromDb()
1131 String.format("IFNULL(%s, %s) AS %s", KEY_CLOUD_ID, in getMergedAlbumProjection()
1139 KEY_CLOUD_ID, mLocalProvider, mCloudProvider, AlbumColumns.AUTHORITY) in getMergedAlbumProjection()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/
DPickerSQLConstants.java20 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_CLOUD_ID;
225 KEY_CLOUD_ID, in getMediaId()
233 KEY_CLOUD_ID, in getMediaSource()
245 KEY_CLOUD_ID, in getAuthority()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/model/
DAlbumMediaQuery.java20 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_CLOUD_ID;
77 queryBuilder.appendWhereStandalone(KEY_CLOUD_ID + " IS NULL"); in addWhereClause()
DFavoritesMediaQuery.java19 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_CLOUD_ID;
69 return "(" + KEY_IS_FAVORITE + " = 1 AND " + KEY_CLOUD_ID + " IS NULL)"; in getLocalFavoriteMediaWhereClause()
DMediaQuery.java19 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_CLOUD_ID;
129 queryBuilder.appendWhereStandalone(KEY_CLOUD_ID + " IS NULL"); in addWhereClause()