Home
last modified time | relevance | path

Searched refs:mDocument (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DMoSerializerTest.java42 Document mDocument; field in MoSerializerTest
50 mDocument = mMoSerializer.createNewDocument(); in setUp()
60 Element element = mMoSerializer.createMgmtTree(mDocument); in testShouldReturnValidElementForCreateMgmtTree()
63 assertTrue(mDocument.hasChildNodes()); in testShouldReturnValidElementForCreateMgmtTree()
73 Element element = mMoSerializer.writeVersion(mDocument); in testShouldReturnValidElementForWriteVersion()
88 Element element = mMoSerializer.createNodeForUrn(mDocument, TEST_URN); in testShouldReturnValidElementForCreateNodeForUrn()
111 Element element = mMoSerializer.createNode(mDocument, TEST_NODE); in testShouldReturnValidElementForCreateNode()
130 Element element = mMoSerializer.createNodeForValue(mDocument, TEST_NODE, TEST_VALUE); in testShouldReturnValidElementForCreateNodeForValue()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java56 private DocumentInfo mDocument; field in RenameDocumentFragment
68 dialog.mDocument = document; in show()
138 mEditText.setText(mDocument.displayName); in onActivityCreated()
143 mDocument = savedInstanceState.getParcelable(Shared.EXTRA_DOC); in onActivityCreated()
157 outState.putParcelable(Shared.EXTRA_DOC, mDocument); in onSaveInstanceState()
169 (separatorIndex == -1 || mDocument.isDirectory()) ? text.length() : separatorIndex); in selectFileName()
184 if (newDisplayName.equals(mDocument.displayName)) { in renameDocuments()
192 new RenameDocumentsTask(activity, newDisplayName).execute(mDocument); in renameDocuments()
DDirectoryState.java37 @Nullable DocumentInfo mDocument; field in DirectoryState
53 mDocument = bundle.getParcelable(Shared.EXTRA_DOC); in restore()
62 bundle.putParcelable(Shared.EXTRA_DOC, mDocument); in save()
80 builder.append(mDocument != null ? mDocument.documentId : "null"); in getConfigKey()
DDirectoryFragment.java560 (mLocalState.mDocument == null) in onActivityCreated()
561 || mLocalState.mDocument.prefersSortByLastModified(); in onActivityCreated()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DQuickViewIntentBuilder.java77 private final DocumentInfo mDocument; field in QuickViewIntentBuilder
99 mDocument = doc; in QuickViewIntentBuilder()
110 Log.d(TAG, "Preparing intent for doc:" + mDocument.documentId); in build()
117 intent.setDataAndType(mDocument.getDocumentUri(), mDocument.mimeType); in build()
122 includeQuickViewFeaturesFlag(intent, mDocument, mFromPicker); in build()
217 if (!userId.equals(mDocument.userId)) { in collectViewableUris()
239 if (id.equals(mDocument.documentId)) { in collectViewableUris()
/packages/services/BuiltInPrintService/src/com/android/bips/
DImageToPdfTask.java44 private final PrintedPdfDocument mDocument; field in ImageToPdfTask
56 mDocument = new PrintedPdfDocument(context, mAttributes); in ImageToPdfTask()
66 mDocument.writeTo(new FileOutputStream(output.getFileDescriptor())); in doInBackground()
67 mDocument.close(); in doInBackground()
77 PdfDocument.Page page = mDocument.startPage(1); in writeBitmapToDocument()
84 mDocument.finishPage(page); in writeBitmapToDocument()