Searched refs:getMapper (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 85 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 …]
|
D | TestUtil.java | 70 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()
|
D | DocumentLoaderTest.java | 47 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/ |
D | RootScanner.java | 138 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()
|
D | DocumentLoader.java | 320 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()
|
D | MtpDatabase.java | 107 Mapper getMapper() { in getMapper() method in MtpDatabase
|
D | MtpDocumentsProvider.java | 678 mDatabase.getMapper().clearMapping(); in resume()
|