Home
last modified time | relevance | path

Searched refs:StubDocument (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java82 private Map<String, ArrayList<StubDocument>> mChildDocuments = new HashMap<>();
84 private Map<String, StubDocument> mDocuments = new HashMap<>();
95 StubDocument document; in onCreate()
97 ArrayList<StubDocument> children = new ArrayList<StubDocument>(); in onCreate()
100 document = StubDocument.createDirectory(i); in onCreate()
105 children = new ArrayList<StubDocument>(); in onCreate()
109 document = StubDocument.createFile( in onCreate()
124 mDocuments.put(STRESS_ROOT_0_DOC_ID, StubDocument.createDirectory(STRESS_ROOT_0_DOC_ID)); in onCreate()
125 mDocuments.put(STRESS_ROOT_1_DOC_ID, StubDocument.createDirectory(STRESS_ROOT_1_DOC_ID)); in onCreate()
126 mDocuments.put(STRESS_ROOT_2_DOC_ID, StubDocument.createDirectory(STRESS_ROOT_2_DOC_ID)); in onCreate()
[all …]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DStubProvider.java87 private final Map<String, StubDocument> mStorage = new HashMap<>();
169 final StubDocument file = mStorage.get(documentId); in queryDocument()
179 final StubDocument parentDocument = mStorage.get(parentDocId); in isChildDocument()
180 final StubDocument childDocument = mStorage.get(docId); in isChildDocument()
187 StubDocument parent = mStorage.get(parentId); in createDocument()
190 final StubDocument document = StubDocument.createRegularDocument(file, mimeType, parent); in createDocument()
204 final StubDocument document = mStorage.get(documentId); in deleteDocument()
228 final StubDocument parentDocument = mStorage.get(parentDocumentId); in queryChildDocuments()
236 StubDocument document; in queryChildDocuments()
258 StubDocument parentDocument = mRoots.get(rootId).document; in querySearchDocuments()
[all …]