Home
last modified time | relevance | path

Searched refs:getDocument (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsAccess.java51 @Nullable DocumentInfo getDocument(Uri uri, UserId userId); in getDocument() method
84 return getDocument(DocumentsContract.buildDocumentUri(root.authority, root.documentId), in getRootDocument()
89 public @Nullable DocumentInfo getDocument(Uri uri, UserId userId) { in getDocument() method in DocumentsAccess.RuntimeDocumentAccess
129 return getDocument( in getArchiveDocument()
DModel.java208 public @Nullable DocumentInfo getDocument(String modelId) { in getDocument() method in Model
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java277 assertEquals(TestEnv.FILE_APK, mEnv.model.getDocument(modelIds[0])); in testLoadChildrenDocuments()
278 assertEquals(TestEnv.FILE_GIF, mEnv.model.getDocument(modelIds[1])); in testLoadChildrenDocuments()
305 assertEquals(TestEnv.OtherUser.FILE_PNG, mEnv.model.getDocument(modelIds[0])); in testCrossProfileDocuments_success()
417 assertEquals(TestEnv.OtherUser.FILE_PNG, mEnv.model.getDocument(modelIds[0])); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DStartJobTask.java90 mDocInfo = printJob.getDocument().getInfo(); in StartJobTask()
91 mSourceFileDescriptor = printJob.getDocument().getData(); in StartJobTask()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java147 DocumentInfo doc = mModel.getDocument(selection.iterator().next()); in openSelectedInNewWindow()
201 DocumentInfo doc = mModel.getDocument(details.getSelectionKey()); in openItem()
286 DocumentInfo doc = mModel.getDocument(selection.iterator().next()); in viewInOwner()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java120 DocumentStack path = new DocumentStack(Roots.create("123"), mEnv.model.getDocument("1")); in testOpenSelectedInNewWindow()
407 DocumentStack path = new DocumentStack(Roots.create("123"), mEnv.model.getDocument("1")); in testInitLocation_LaunchToStackLocation()
571 mHandler.refreshDocument(mEnv.model.getDocument( in testRefresh()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java314 DocumentInfo doc = mModel.getDocument(details.getSelectionKey()); in openItem()
332 final DocumentInfo doc = mModel.getDocument(details.getSelectionKey()); in previewItem()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsAccess.java54 public DocumentInfo getDocument(Uri uri, UserId userId) { in getDocument() method in TestDocumentsAccess
DTestEnv.java192 DocumentInfo rootDoc = model.getDocument( in populateStack()