Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java19 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/
DDocumentInfo.java148 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()
DRootInfo.java21 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()
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/
DModel.java19 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()
DFocusManager.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
564 String title = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in buildIndex()
DAbstractActionHandler.java20 import static com.android.documentsui.base.DocumentInfo.getCursorString;
285 String docMimeType = getCursorString( in selectAllFiles()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DOpenHelper.java80 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/
DQuickViewIntentBuilder.java19 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/
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/selection/
DSelectionMetadata.java20 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/
DGridDocumentHolder.java20 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()
DDocumentsAdapter.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
93 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in isDirectory()
DGridDirectoryHolder.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
90 getCursorString(cursor, Document.COLUMN_DISPLAY_NAME), in bind()
DModelBackedDocumentsAdapter.java20 import static com.android.documentsui.base.DocumentInfo.getCursorString;
126 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in onBindViewHolder()
DListDocumentHolder.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
160 mDoc.updateFromCursor(cursor, getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind()
DDirectoryFragment.java20 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/
DModelTest.java144 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/
DLastAccessedProvider.java19 import static com.android.documentsui.base.DocumentInfo.getCursorString;
253 final String packageName = getCursorString( in purgeByAuthority()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java27 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/
DDocumentsProviderHelper.java22 import static com.android.documentsui.base.DocumentInfo.getCursorString;
76 if (documentId.equals(getCursorString(cursor, Root.COLUMN_ROOT_ID))) { in getRoot()