Home
last modified time | relevance | path

Searched refs:pickerSegmentType (Results 1 – 5 of 5) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/
DPickerDbTestUtils.java274 public static String getData(String authority, String displayName, String pickerSegmentType) { in getData() argument
275 return "/sdcard/.transforms/synthetic/" + pickerSegmentType + "/0/" + authority + "/media/" in getData()
412 String pickerSegmentType) { in assertMediaStoreCursor() argument
414 final String localData = getData(LOCAL_PROVIDER, displayName, pickerSegmentType); in assertMediaStoreCursor()
415 final String cloudData = getData(CLOUD_PROVIDER, displayName, pickerSegmentType); in assertMediaStoreCursor()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDbFacade.java1022 public Cursor queryMediaIdForApps(String pickerSegmentType, String authority, String mediaId, in queryMediaIdForApps() argument
1033 return queryMediaIdForAppsLocked(qb, projection, selectionArgs, pickerSegmentType); in queryMediaIdForApps()
1039 return queryMediaIdForAppsLocked(qb, projection, selectionArgs, pickerSegmentType); in queryMediaIdForApps()
1048 String pickerSegmentType) { in queryMediaIdForAppsLocked() argument
1049 return qb.query(mDatabase, getMediaStoreProjectionLocked(projection, pickerSegmentType), in queryMediaIdForAppsLocked()
1202 private String[] getMediaStoreProjectionLocked(String[] columns, String pickerSegmentType) { in getMediaStoreProjectionLocked() argument
1209 pickerSegmentType); in getMediaStoreProjectionLocked()
1264 private String getProjectionDataLocked(String asColumn, String pickerSegmentType) { in getProjectionDataLocked() argument
1270 final String fullPath = "'" + getPickerPath(pickerSegmentType) + "/'" in getProjectionDataLocked()
1278 private String getPickerPath(String pickerSegmentType) { in getPickerPath() argument
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSyntheticPathUtils.java56 public static String getPickerRelativePath(String pickerSegmentType) { in getPickerRelativePath() argument
58 pickerSegmentType).getPath(); in getPickerRelativePath()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPickerUriResolver.java314 String pickerSegmentType = getPickerSegmentType(uri); in queryPickerUri() local
316 return mDbFacade.queryMediaIdForApps(pickerSegmentType, uri.getHost(), in queryPickerUri()
DMediaProvider.java2459 final String pickerSegmentType = syntheticRelativePathSegments.get(0); in handlePickerFileLookup() local
2462 result = preparePickerMediaIdPathSegment(file, pickerSegmentType, authority, in handlePickerFileLookup()
2483 final String pickerSegmentType = segments[6]; in handlePickerFileOpen() local
2524 final boolean isRedactionNeeded = pickerSegmentType.equalsIgnoreCase(PICKER_SEGMENT) in handlePickerFileOpen()
2549 private boolean preparePickerMediaIdPathSegment(File file, String pickerSegmentType, in preparePickerMediaIdPathSegment() argument
2555 "content://media/" + pickerSegmentType + "/" + userId + "/" + authority + "/media/" in preparePickerMediaIdPathSegment()