Home
last modified time | relevance | path

Searched refs:isDir (Results 1 – 2 of 2) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DMediaStoreDownloadsHelper.java27 public static String getDocIdForMediaStoreDownload(long id, boolean isDir) { in getDocIdForMediaStoreDownload() argument
28 return (isDir ? MEDIASTORE_DOWNLOAD_DIR_PREFIX : MEDIASTORE_DOWNLOAD_FILE_PREFIX) + id; in getDocIdForMediaStoreDownload()
DDownloadStorageProvider.java137 final boolean isDir = mimeTypes[i] == null; in onMediaProviderDownloadsDelete()
139 MediaStoreDownloadsHelper.getDocIdForMediaStoreDownload(ids[i], isDir)); in onMediaProviderDownloadsDelete()
788 private static String getDocIdForMediaStoreDownloadUri(Uri uri, boolean isDir) { in getDocIdForMediaStoreDownloadUri() argument
790 return getDocIdForMediaStoreDownload(Long.parseLong(uri.getLastPathSegment()), isDir); in getDocIdForMediaStoreDownloadUri()
915 final boolean isDir = Document.MIME_TYPE_DIR.equals(mimeType); in includeDownloadFromMediaStore()
917 mediaCursor.getLong(mediaCursor.getColumnIndex(DownloadColumns._ID)), isDir); in includeDownloadFromMediaStore()