Home
last modified time | relevance | path

Searched refs:operationsSupported (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDeviceRecord.java28 public final @Nullable int[] operationsSupported; field in MtpDeviceRecord
32 MtpRoot[] roots, @Nullable int[] operationsSupported, in MtpDeviceRecord() argument
39 this.operationsSupported = operationsSupported; in MtpDeviceRecord()
DMtpDatabase.java377 int deviceId, String parentDocumentId, int[] operationsSupported, MtpObjectInfo info, in putNewDocument() argument
381 values, deviceId, parentDocumentId, operationsSupported, info, size); in putNewDocument()
589 void updateObject(String documentId, int deviceId, String parentId, int[] operationsSupported, in updateObject() argument
592 getObjectDocumentValues(values, deviceId, parentId, operationsSupported, info, size); in updateObject()
756 device.operationsSupported, in getDeviceDocumentValues()
766 extraValues.put(Root.COLUMN_FLAGS, getRootFlags(device.operationsSupported)); in getDeviceDocumentValues()
784 int[] operationsSupported, in getStorageDocumentValues() argument
799 operationsSupported, in getStorageDocumentValues()
806 extraValues.put(Root.COLUMN_FLAGS, getRootFlags(operationsSupported)); in getStorageDocumentValues()
822 int[] operationsSupported, MtpObjectInfo info, long size) { in getObjectDocumentValues() argument
[all …]
DDocumentLoader.java85 task = new LoaderTask(mMtpManager, mDatabase, mDevice.operationsSupported, parent); in queryChildDocuments()
134 mMtpManager, mDatabase, mDevice.operationsSupported, identifier); in getNextTaskOrReleaseBackgroundThread()
255 LoaderTask(MtpManager manager, MtpDatabase database, int[] operationsSupported, in LoaderTask() argument
257 assert operationsSupported != null; in LoaderTask()
261 mOperationsSupported = operationsSupported; in LoaderTask()
DMtpFileWriter.java64 void flush(MtpManager manager, MtpDatabase database, int[] operationsSupported) in flush() argument
97 operationsSupported, in flush()
DMapper.java93 String parentDocumentId, int[] operationsSupported, MtpRoot[] roots) in putStorageDocuments() argument
107 operationsSupported, in putStorageDocuments()
137 int[] operationsSupported, in putChildDocuments() argument
149 operationsSupported, in putChildDocuments()
DMtpDocumentsProvider.java294 device.operationsSupported, fileSize)) { in openDocument()
307 if (MtpDeviceRecord.isWritingSupported(device.operationsSupported)) { in openDocument()
391 if (!MtpDeviceRecord.isWritingSupported(record.operationsSupported)) { in createDocument()
474 parentId.mDeviceId, parentDocumentId, record.operationsSupported, in createDocument()
764 record.operationsSupported, MtpConstants.OPERATION_GET_PARTIAL_OBJECT_64)) { in onRead()
771 record.operationsSupported, MtpConstants.OPERATION_GET_PARTIAL_OBJECT)) { in onRead()
821 mWriter.flush(mMtpManager, mDatabase, device.operationsSupported); in tryFsync()
DMtpManager.java271 int[] operationsSupported = null; in createDeviceRecord() local
285 operationsSupported = info.getOperationsSupported(); in createDeviceRecord()
293 operationsSupported, eventsSupported); in createDeviceRecord()
DRootScanner.java164 documentId, device.operationsSupported, device.roots)) { in run()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpManagerTest.java86 assertNotNull(records[0].operationsSupported); in testOperationsSupported()
87 getInstrumentation().show(Arrays.toString(records[0].operationsSupported)); in testOperationsSupported()
DTestMtpManager.java101 device.operationsSupported, device.eventsSupported); in openDevice()
115 device.roots, device.operationsSupported, device.eventsSupported)); in closeDevice()