Home
last modified time | relevance | path

Searched refs:getMapper (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDatabaseTest.java85 mDatabase.getMapper().startAddingDocuments("1"); in testPutSingleStorageDocuments()
86 mDatabase.getMapper().putStorageDocuments("1", OPERATIONS_SUPPORTED, new MtpRoot[] { in testPutSingleStorageDocuments()
89 mDatabase.getMapper().stopAddingDocuments("1"); in testPutSingleStorageDocuments()
147 mDatabase.getMapper().startAddingDocuments("1"); in testPutStorageDocuments()
148 mDatabase.getMapper().putStorageDocuments("1", OPERATIONS_SUPPORTED, new MtpRoot[] { in testPutStorageDocuments()
198 mDatabase.getMapper().startAddingDocuments("2"); in testPutChildDocuments()
199 mDatabase.getMapper().putChildDocuments(0, "2", OPERATIONS_SUPPORTED, new MtpObjectInfo[] { in testPutChildDocuments()
274 mDatabase.getMapper().startAddingDocuments("2"); in testPutChildDocuments_operationsSupported()
275 mDatabase.getMapper().putChildDocuments(0, "2", new int[0], new MtpObjectInfo[] { in testPutChildDocuments_operationsSupported()
278 mDatabase.getMapper().stopAddingDocuments("2"); in testPutChildDocuments_operationsSupported()
[all …]
DTestUtil.java70 database.getMapper().startAddingDocuments(null); in addTestDevice()
71 database.getMapper().putDeviceDocument(new MtpDeviceRecord( in addTestDevice()
74 database.getMapper().stopAddingDocuments(null); in addTestDevice()
78 database.getMapper().startAddingDocuments(parentId); in addTestStorage()
79 database.getMapper().putStorageDocuments(parentId, OPERATIONS_SUPPORTED, new MtpRoot[] { in addTestStorage()
82 database.getMapper().stopAddingDocuments(parentId); in addTestStorage()
DDocumentLoaderTest.java47 mDatabase.getMapper().startAddingDocuments(null); in setUp()
48 mDatabase.getMapper().putDeviceDocument( in setUp()
50 mDatabase.getMapper().stopAddingDocuments(null); in setUp()
52 mDatabase.getMapper().startAddingDocuments("1"); in setUp()
53 mDatabase.getMapper().putStorageDocuments("1", new int[0], new MtpRoot[] { in setUp()
56 mDatabase.getMapper().stopAddingDocuments("1"); in setUp()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DRootScanner.java138 mDatabase.getMapper().startAddingDocuments(null /* parentDocumentId */); in run()
140 if (mDatabase.getMapper().putDeviceDocument(device)) { in run()
144 if (mDatabase.getMapper().stopAddingDocuments( in run()
162 mDatabase.getMapper().startAddingDocuments(documentId); in run()
163 if (mDatabase.getMapper().putStorageDocuments( in run()
167 if (mDatabase.getMapper().stopAddingDocuments(documentId)) { in run()
DDocumentLoader.java320 mDatabase.getMapper().startAddingDocuments(mIdentifier.mDocumentId); in loadObjectInfoList()
377 mDatabase.getMapper().putChildDocuments( in loadObjectInfoList()
393 mDatabase.getMapper().stopAddingDocuments(mIdentifier.mDocumentId); in loadObjectInfoList()
408 mDatabase.getMapper().cancelAddingDocuments(mIdentifier.mDocumentId); in cancel()
DMtpDatabase.java107 Mapper getMapper() { in getMapper() method in MtpDatabase
DMtpDocumentsProvider.java678 mDatabase.getMapper().clearMapping(); in resume()