/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortingCursorWrapperTest.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 145 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_names_ascending() 146 names.add(getCursorString(cursor, Document.COLUMN_DISPLAY_NAME)); in testSort_names_ascending() 169 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_names_descending() 170 names.add(getCursorString(cursor, Document.COLUMN_DISPLAY_NAME)); in testSort_names_descending() 192 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_sizes_ascending() 215 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_sizes_descending() 254 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_sizesWithBucketing_ascending() 256 String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in testSort_sizesWithBucketing_ascending() 307 String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in testSort_sizesWithBucketing_descending() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentInfo.java | 148 final String authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY); in fromDirectoryCursor() 161 this.documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in updateFromCursor() 162 this.mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in updateFromCursor() 163 this.displayName = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in updateFromCursor() 166 this.summary = getCursorString(cursor, Document.COLUMN_SUMMARY); in updateFromCursor() 320 public static String getCursorString(Cursor cursor, String columnName) { in getCursorString() method in DocumentInfo 360 getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY), in getUri() 361 getCursorString(cursor, Document.COLUMN_DOCUMENT_ID)); in getUri()
|
D | RootInfo.java | 21 import static com.android.documentsui.base.DocumentInfo.getCursorString; 188 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID); in fromRootsCursor() 191 root.title = getCursorString(cursor, Root.COLUMN_TITLE); in fromRootsCursor() 192 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY); in fromRootsCursor() 193 root.documentId = getCursorString(cursor, Root.COLUMN_DOCUMENT_ID); in fromRootsCursor() 195 root.mimeTypes = getCursorString(cursor, Root.COLUMN_MIME_TYPES); 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 | Model.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 167 mIds[pos] = getCursorString(mCursor, RootCursorWrapper.COLUMN_AUTHORITY) in updateModelData() 168 + "|" + getCursorString(mCursor, Document.COLUMN_DOCUMENT_ID); in updateModelData() 170 mIds[pos] = getCursorString(mCursor, Document.COLUMN_DOCUMENT_ID); in updateModelData() 172 mFileNames.add(getCursorString(mCursor, Document.COLUMN_DISPLAY_NAME)); in updateModelData()
|
D | FocusManager.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 564 String title = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in buildIndex()
|
D | AbstractActionHandler.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 285 String docMimeType = getCursorString( in selectAllFiles()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | OpenHelper.java | 80 String mimeType = getCursorString(cursor, COLUMN_MEDIA_TYPE); in buildViewIntent() 113 final String header = getCursorString(headers, RequestHeaders.COLUMN_HEADER); in getRefererUri() 143 private static String getCursorString(Cursor cursor, String column) { in getCursorString() method in OpenHelper 148 return Uri.parse(getCursorString(cursor, column)); in getCursorUri()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | QuickViewIntentBuilder.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 188 mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in collectViewableUris() 196 id = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in collectViewableUris() 197 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; 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/selection/ |
D | SelectionMetadata.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 74 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in onItemStateChanged() 101 final String authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY); in onItemStateChanged()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | GridDocumentHolder.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 139 mDoc.updateFromCursor(cursor, getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind() 156 final String docSummary = getCursorString(cursor, Document.COLUMN_SUMMARY); in bind()
|
D | DocumentsAdapter.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 93 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in isDirectory()
|
D | GridDirectoryHolder.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 90 getCursorString(cursor, Document.COLUMN_DISPLAY_NAME), in bind()
|
D | ModelBackedDocumentsAdapter.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 126 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in onBindViewHolder()
|
D | ListDocumentHolder.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 160 mDoc.updateFromCursor(cursor, getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind()
|
D | DirectoryFragment.java | 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 920 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in setupDragAndDropOnDocumentView() 986 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in canSetSelectionState()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ModelTest.java | 144 DocumentInfo.getCursorString(cOut, RootCursorWrapper.COLUMN_AUTHORITY); in testModelIdIsUnique() 145 String docId = DocumentInfo.getCursorString(cOut, Document.COLUMN_DOCUMENT_ID); in testModelIdIsUnique()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | LastAccessedProvider.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 253 final String packageName = getCursorString( in purgeByAuthority()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 27 import static com.android.documentsui.base.DocumentInfo.getCursorString; 733 getCursorString(cursor, Document.COLUMN_MIME_TYPE))) { in calculateFileSizesRecursively() 736 getCursorString(cursor, Document.COLUMN_DOCUMENT_ID)); in calculateFileSizesRecursively()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 22 import static com.android.documentsui.base.DocumentInfo.getCursorString; 76 if (documentId.equals(getCursorString(cursor, Root.COLUMN_ROOT_ID))) { in getRoot()
|