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.java152 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()
DRootInfo.java23 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()
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()
DFilteringCursorWrapper.java20 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/
DModelId.java3 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()
DModel.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
165 mFileNames.add(getCursorString(mCursor, Document.COLUMN_DISPLAY_NAME)); in updateModelData()
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;
289 String docMimeType = getCursorString( in selectAllFiles()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DQuickViewIntentBuilder.java19 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/
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.java20 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()
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;
70 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in isDirectory()
DGridDirectoryHolder.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
92 getCursorString(cursor, Document.COLUMN_DISPLAY_NAME), in bind()
DGridPhotoHolder.java20 import static com.android.documentsui.base.DocumentInfo.getCursorString;
130 mDoc.updateFromCursor(cursor, 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.java19 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/
DSortingCursorWrapper.java20 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/
DMenuManager.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
76 String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in updateModel()
DLastAccessedProvider.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
254 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/src/com/android/documentsui/services/
DCopyJob.java27 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/
DDocumentsProviderHelper.java26 import static com.android.documentsui.base.DocumentInfo.getCursorString;
82 if (documentId.equals(getCursorString(cursor, Root.COLUMN_ROOT_ID))) { in getRoot()

12