/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 | 152 final String authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY); in fromDirectoryCursor() 165 this.documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in updateFromCursor() 166 this.mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in updateFromCursor() 167 this.displayName = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in updateFromCursor() 170 this.summary = getCursorString(cursor, Document.COLUMN_SUMMARY); in updateFromCursor() 330 public static String getCursorString(Cursor cursor, String columnName) { in getCursorString() method in DocumentInfo 381 getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY), in getUri() 382 getCursorString(cursor, Document.COLUMN_DOCUMENT_ID)); in getUri()
|
D | RootInfo.java | 23 import static com.android.documentsui.base.DocumentInfo.getCursorString; 195 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID); in fromRootsCursor() 198 root.title = getCursorString(cursor, Root.COLUMN_TITLE); in fromRootsCursor() 199 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY); in fromRootsCursor() 200 root.documentId = getCursorString(cursor, Root.COLUMN_DOCUMENT_ID); in fromRootsCursor() 202 root.mimeTypes = getCursorString(cursor, Root.COLUMN_MIME_TYPES); in fromRootsCursor() 203 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()
|
D | FilteringCursorWrapper.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 56 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in FilteringCursorWrapper()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ModelId.java | 3 import static com.android.documentsui.base.DocumentInfo.getCursorString; 43 return ModelId.build(getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY), in build() 44 getCursorString(cursor, DocumentsContract.Document.COLUMN_DOCUMENT_ID)); in build()
|
D | Model.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 165 mFileNames.add(getCursorString(mCursor, Document.COLUMN_DISPLAY_NAME)); in updateModelData()
|
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; 289 String docMimeType = getCursorString( in selectAllFiles()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | QuickViewIntentBuilder.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 201 mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in collectViewableUris() 211 id = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in collectViewableUris() 212 authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY); in collectViewableUris()
|
/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 | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 150 mDoc.updateFromCursor(cursor, getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind() 167 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; 70 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in isDirectory()
|
D | GridDirectoryHolder.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 92 getCursorString(cursor, Document.COLUMN_DISPLAY_NAME), in bind()
|
D | GridPhotoHolder.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 130 mDoc.updateFromCursor(cursor, 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 | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 182 mDoc.updateFromCursor(cursor, getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortingCursorWrapper.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 68 final String mimeType = getCursorString(mCursor, Document.COLUMN_MIME_TYPE); in SortingCursorWrapper() 70 ids[i] = getCursorString(mCursor, Document.COLUMN_DOCUMENT_ID); in SortingCursorWrapper() 74 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; 76 String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in updateModel()
|
D | LastAccessedProvider.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 254 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/src/com/android/documentsui/services/ |
D | CopyJob.java | 27 import static com.android.documentsui.base.DocumentInfo.getCursorString; 706 getCursorString(cursor, Document.COLUMN_MIME_TYPE))) { in calculateFileSizesRecursively() 709 getCursorString(cursor, Document.COLUMN_DOCUMENT_ID)); in calculateFileSizesRecursively()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 26 import static com.android.documentsui.base.DocumentInfo.getCursorString; 82 if (documentId.equals(getCursorString(cursor, Root.COLUMN_ROOT_ID))) { in getRoot()
|