/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortingCursorWrapperTest.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 147 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_names_ascending() 148 names.add(getCursorString(cursor, Document.COLUMN_DISPLAY_NAME)); in testSort_names_ascending() 171 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_names_descending() 172 names.add(getCursorString(cursor, Document.COLUMN_DISPLAY_NAME)); in testSort_names_descending() 194 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_sizes_ascending() 217 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_sizes_descending() 256 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_sizesWithBucketing_ascending() 258 String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in testSort_sizesWithBucketing_ascending() 309 String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in testSort_sizesWithBucketing_descending() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentInfo.java | 164 final String authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY); in fromDirectoryCursor() 178 this.documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in updateFromCursor() 179 this.mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in updateFromCursor() 180 this.displayName = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in updateFromCursor() 183 this.summary = getCursorString(cursor, Document.COLUMN_SUMMARY); in updateFromCursor() 383 public static String getCursorString(Cursor cursor, String columnName) { in getCursorString() method in DocumentInfo 434 getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY), in getUri() 435 getCursorString(cursor, Document.COLUMN_DOCUMENT_ID)); in getUri()
|
D | FilteringCursorWrapper.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 57 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in filterMimes() 82 final String name = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in filterHiddenFiles() 83 final String documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in filterHiddenFiles()
|
D | RootInfo.java | 23 import static com.android.documentsui.base.DocumentInfo.getCursorString; 231 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID); in fromRootsCursor() 234 root.title = getCursorString(cursor, Root.COLUMN_TITLE); in fromRootsCursor() 235 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY); in fromRootsCursor() 236 root.documentId = getCursorString(cursor, Root.COLUMN_DOCUMENT_ID); in fromRootsCursor() 238 root.mimeTypes = getCursorString(cursor, Root.COLUMN_MIME_TYPES); in fromRootsCursor() 239 root.queryArgs = getCursorString(cursor, Root.COLUMN_QUERY_ARGS); in fromRootsCursor()
|
D | DocumentFilters.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 53 String authority = getCursorString(c, RootCursorWrapper.COLUMN_AUTHORITY); in isSharableInO() 64 String authority = getCursorString(c, RootCursorWrapper.COLUMN_AUTHORITY); in isSharablePreO()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ModelId.java | 4 import static com.android.documentsui.base.DocumentInfo.getCursorString; 19 getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY), in build() 20 getCursorString(cursor, DocumentsContract.Document.COLUMN_DOCUMENT_ID)); in build()
|
D | DirectoryResult.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 101 getCursorString(mCursor, DocumentsContract.Document.COLUMN_DISPLAY_NAME)); in loadDataFromCursor()
|
D | FocusManager.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 591 String title = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in buildIndex()
|
D | AbstractActionHandler.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 305 String docMimeType = getCursorString( in selectAllFiles()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | OpenHelper.java | 92 final String ownerPackageName = getCursorString(cursor, in buildViewIntentForMediaStoreDownload() 122 String mimeType = getCursorString(cursor, COLUMN_MEDIA_TYPE); in buildViewIntent() 155 final String header = getCursorString(headers, RequestHeaders.COLUMN_HEADER); in getRefererUri() 197 private static String getCursorString(Cursor cursor, String column) { in getCursorString() method in OpenHelper
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | SelectionMetadata.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 77 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in onItemStateChanged() 104 final String authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY); in onItemStateChanged()
|
D | GridDocumentHolder.java | 21 import static com.android.documentsui.base.DocumentInfo.getCursorString; 161 getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind() 178 final String docSummary = getCursorString(cursor, Document.COLUMN_SUMMARY); in bind()
|
D | DocsSelectionPredicate.java | 21 import static com.android.documentsui.base.DocumentInfo.getCursorString; 70 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in canSetStateForKey()
|
D | DocumentsAdapter.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 71 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in isDirectory()
|
D | GridDirectoryHolder.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 99 getCursorString(cursor, Document.COLUMN_DISPLAY_NAME), in bind()
|
D | GridPhotoHolder.java | 21 import static com.android.documentsui.base.DocumentInfo.getCursorString; 144 getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind()
|
D | ModelBackedDocumentsAdapter.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 132 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in onBindViewHolder()
|
D | ListDocumentHolder.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 205 getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | QuickViewIntentBuilder.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 206 mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in collectViewableUris() 231 id = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in collectViewableUris() 232 authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY); in collectViewableUris()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortingCursorWrapper.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 69 final String mimeType = getCursorString(mCursor, Document.COLUMN_MIME_TYPE); in SortingCursorWrapper() 71 ids[i] = getCursorString(mCursor, Document.COLUMN_DOCUMENT_ID); in SortingCursorWrapper() 75 final String displayName = getCursorString( in SortingCursorWrapper()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | MenuManager.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 85 String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in updateModel()
|
D | LastAccessedProvider.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 261 final String packageName = getCursorString( in purgeByAuthority()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ModelTest.java | 145 DocumentInfo.getCursorString(cOut, RootCursorWrapper.COLUMN_AUTHORITY); in testModelIdIsUnique() 146 String docId = DocumentInfo.getCursorString(cOut, Document.COLUMN_DOCUMENT_ID); in testModelIdIsUnique()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 26 import static com.android.documentsui.base.DocumentInfo.getCursorString; 86 if (documentId.equals(getCursorString(cursor, Root.COLUMN_ROOT_ID))) { in getRoot()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 28 import static com.android.documentsui.base.DocumentInfo.getCursorString; 755 getCursorString(cursor, Document.COLUMN_MIME_TYPE))) { in calculateFileSizesRecursively() 758 getCursorString(cursor, Document.COLUMN_DOCUMENT_ID)); in calculateFileSizesRecursively()
|