Searched refs:getDocument (Results 1 – 9 of 9) sorted by relevance
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DocumentsAccess.java | 51 @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()
|
D | Model.java | 208 public @Nullable DocumentInfo getDocument(String modelId) { in getDocument() method in Model
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | AbstractActionHandlerTest.java | 277 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/ |
D | StartJobTask.java | 90 mDocInfo = printJob.getDocument().getInfo(); in StartJobTask() 91 mSourceFileDescriptor = printJob.getDocument().getData(); in StartJobTask()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 147 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/ |
D | ActionHandlerTest.java | 120 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/ |
D | ActionHandler.java | 314 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/ |
D | TestDocumentsAccess.java | 54 public DocumentInfo getDocument(Uri uri, UserId userId) { in getDocument() method in TestDocumentsAccess
|
D | TestEnv.java | 192 DocumentInfo rootDoc = model.getDocument( in populateStack()
|