Home
last modified time | relevance | path

Searched refs:ModelId (Results 1 – 5 of 5) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DModelId.java16 public class ModelId { class
29 return ModelId.build(authority, documentId); in build()
36 return ModelId.build(docInfo.authority, docInfo.documentId); in build()
43 return ModelId.build(getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY), in build()
54 id = ModelId.build(uri); in build()
DModel.java164 mIds[pos] = ModelId.build(mCursor); in updateModelData()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDirectoryAddonsAdapterTest.java31 import com.android.documentsui.ModelId;
76 assertEquals(0, mAdapter.getPosition(ModelId.build(AUTHORITY, "1"))); in testGetPosition()
79 assertEquals(2, mAdapter.getPosition(ModelId.build(AUTHORITY, "2"))); in testGetPosition()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java27 import com.android.documentsui.ModelId;
178 ModelId.build(TestProvidersAccess.HOME.authority, "1")); in populateStack()
199 ids.add(ModelId.build(info.authority, info.documentId)); in selectDocument()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java52 import com.android.documentsui.ModelId;
590 ModelId.build(TestProvidersAccess.HOME.authority, "1")), (boolean answer) -> { in testRefresh()