Home
last modified time | relevance | path

Searched refs:getCursorString (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java19 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/
DDocumentInfo.java164 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()
DFilteringCursorWrapper.java20 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()
DRootInfo.java23 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()
DDocumentFilters.java19 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/
DModelId.java4 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()
DDirectoryResult.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
101 getCursorString(mCursor, DocumentsContract.Document.COLUMN_DISPLAY_NAME)); in loadDataFromCursor()
DFocusManager.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
591 String title = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in buildIndex()
DAbstractActionHandler.java20 import static com.android.documentsui.base.DocumentInfo.getCursorString;
305 String docMimeType = getCursorString( in selectAllFiles()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DOpenHelper.java92 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/
DSelectionMetadata.java20 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()
DGridDocumentHolder.java21 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()
DDocsSelectionPredicate.java21 import static com.android.documentsui.base.DocumentInfo.getCursorString;
70 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in canSetStateForKey()
DDocumentsAdapter.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
71 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in isDirectory()
DGridDirectoryHolder.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
99 getCursorString(cursor, Document.COLUMN_DISPLAY_NAME), in bind()
DGridPhotoHolder.java21 import static com.android.documentsui.base.DocumentInfo.getCursorString;
144 getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind()
DModelBackedDocumentsAdapter.java20 import static com.android.documentsui.base.DocumentInfo.getCursorString;
132 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in onBindViewHolder()
DListDocumentHolder.java20 import static com.android.documentsui.base.DocumentInfo.getCursorString;
205 getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DQuickViewIntentBuilder.java20 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/
DSortingCursorWrapper.java20 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/
DMenuManager.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
85 String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in updateModel()
DLastAccessedProvider.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
261 final String packageName = getCursorString( in purgeByAuthority()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DModelTest.java145 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/
DDocumentsProviderHelper.java26 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/
DCopyJob.java28 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()

12