Home
last modified time | relevance | path

Searched refs:RootCursorWrapper (Results 1 – 18 of 18) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DModelTest.java31 import com.android.documentsui.roots.RootCursorWrapper;
50 RootCursorWrapper.COLUMN_AUTHORITY,
85 row.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY); in setUp()
123 row0.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY0); in testModelIdIsUnique()
127 row1.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY1); in testModelIdIsUnique()
145 DocumentInfo.getCursorString(cOut, RootCursorWrapper.COLUMN_AUTHORITY); in testModelIdIsUnique()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java36 import com.android.documentsui.roots.RootCursorWrapper;
59 RootCursorWrapper.COLUMN_AUTHORITY,
120 row.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY); in setUp()
234 row.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY); in testSort_sizesWithBucketing_ascending()
286 row.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY); in testSort_sizesWithBucketing_descending()
339 row.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY); in testSort_time_ascending()
347 row.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY); in testSort_time_ascending()
376 row.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY); in testSort_time_descending()
384 row.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY); in testSort_time_descending()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DGlobalSearchLoader.java31 import com.android.documentsui.roots.RootCursorWrapper;
107 protected RootCursorWrapper generateResultCursor(RootInfo rootInfo, Cursor oriCursor) { in generateResultCursor()
108 return new RootCursorWrapper(authority, rootInfo.rootId, oriCursor, -1 /* maxCount */); in generateResultCursor()
DRecentsLoader.java30 import com.android.documentsui.roots.RootCursorWrapper;
84 protected RootCursorWrapper generateResultCursor(RootInfo rootInfo, Cursor oriCursor) { in generateResultCursor()
85 return new RootCursorWrapper(authority, rootInfo.rootId, oriCursor, MAX_DOCS_FROM_ROOT); in generateResultCursor()
DModelId.java11 import com.android.documentsui.roots.RootCursorWrapper;
43 return ModelId.build(getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY), in build()
DDirectoryLoader.java49 import com.android.documentsui.roots.RootCursorWrapper;
149 cursor = new RootCursorWrapper(mUri.getAuthority(), mRoot.rootId, cursor, -1); in loadInBackground()
DMultiRootDocumentsLoader.java46 import com.android.documentsui.roots.RootCursorWrapper;
382 protected abstract RootCursorWrapper generateResultCursor(RootInfo rootInfo, in generateResultCursor()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentFilters.java25 import com.android.documentsui.roots.RootCursorWrapper;
53 String authority = getCursorString(c, RootCursorWrapper.COLUMN_AUTHORITY); in isSharableInO()
64 String authority = getCursorString(c, RootCursorWrapper.COLUMN_AUTHORITY); in isSharablePreO()
DDocumentInfo.java37 import com.android.documentsui.roots.RootCursorWrapper;
152 final String authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY); in fromDirectoryCursor()
381 getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY), in getUri()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestModel.java28 import com.android.documentsui.roots.RootCursorWrapper;
37 RootCursorWrapper.COLUMN_AUTHORITY,
121 row.add(RootCursorWrapper.COLUMN_AUTHORITY, doc.authority); in addToCursor()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DRootCursorWrapper.java29 public class RootCursorWrapper extends AbstractCursor { class
45 public RootCursorWrapper(String authority, String rootId, Cursor cursor, int maxCount) { in RootCursorWrapper() method in RootCursorWrapper
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DSelectionMetadata.java31 import com.android.documentsui.roots.RootCursorWrapper;
104 final String authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY); in onItemStateChanged()
DGridPhotoHolder.java34 import com.android.documentsui.roots.RootCursorWrapper;
130 mDoc.updateFromCursor(cursor, getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind()
DGridDocumentHolder.java37 import com.android.documentsui.roots.RootCursorWrapper;
150 mDoc.updateFromCursor(cursor, getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind()
DListDocumentHolder.java38 import com.android.documentsui.roots.RootCursorWrapper;
182 mDoc.updateFromCursor(cursor, getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)); in bind()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DQuickViewIntentBuilder.java43 import com.android.documentsui.roots.RootCursorWrapper;
212 authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY); in collectViewableUris()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java46 import com.android.documentsui.roots.RootCursorWrapper;
291 Cursor wrapper = new RootCursorWrapper(mAuthority, "totally-fake", cursor, maxCount); in listChildren()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java39 import com.android.documentsui.roots.RootCursorWrapper;
498 RootCursorWrapper.COLUMN_AUTHORITY, in getTestModel()