Home
last modified time | relevance | path

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

/aosp12/packages/services/Mtp/src/com/android/mtp/
H A 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()
H A DMtpDatabase.java767 device.operationsSupported, in getDeviceDocumentValues()
795 int[] operationsSupported, in getStorageDocumentValues() argument
810 operationsSupported, in getStorageDocumentValues()
817 extraValues.put(Root.COLUMN_FLAGS, getRootFlags(operationsSupported)); in getStorageDocumentValues()
833 int[] operationsSupported, MtpObjectInfo info, long size) { in getObjectDocumentValues() argument
850 operationsSupported, mimeType, info.getThumbCompressedSizeLong(), in getObjectDocumentValues()
867 private static int getRootFlags(int[] operationsSupported) { in getRootFlags() argument
869 if (MtpDeviceRecord.isWritingSupported(operationsSupported)) { in getRootFlags()
880 MtpDeviceRecord.isWritingSupported(operationsSupported) && in getDocumentFlags()
885 operationsSupported, MtpConstants.OPERATION_DELETE_OBJECT) && in getDocumentFlags()
[all …]
H A 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()
H A 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()
H A DMtpFileWriter.java64 void flush(MtpManager manager, MtpDatabase database, int[] operationsSupported) in flush() argument
97 operationsSupported, in flush()
H A DMtpDocumentsProvider.java302 device.operationsSupported, fileSize)) { in openDocument()
315 if (MtpDeviceRecord.isWritingSupported(device.operationsSupported)) { in openDocument()
399 if (!MtpDeviceRecord.isWritingSupported(record.operationsSupported)) { in createDocument()
482 parentId.mDeviceId, parentDocumentId, record.operationsSupported, in createDocument()
795 record.operationsSupported, MtpConstants.OPERATION_GET_PARTIAL_OBJECT_64)) { in onRead()
802 record.operationsSupported, MtpConstants.OPERATION_GET_PARTIAL_OBJECT)) { in onRead()
852 mWriter.flush(mMtpManager, mDatabase, device.operationsSupported); in tryFsync()
H A DMtpManager.java297 int[] operationsSupported = null; in createDeviceRecord() local
313 operationsSupported = info.getOperationsSupported(); in createDeviceRecord()
321 operationsSupported, eventsSupported); in createDeviceRecord()
H A DRootScanner.java164 documentId, device.operationsSupported, device.roots)) { in run()
/aosp12/packages/services/Mtp/tests/src/com/android/mtp/
H A DMtpManagerTest.java86 assertNotNull(records[0].operationsSupported); in testOperationsSupported()
87 getInstrumentation().show(Arrays.toString(records[0].operationsSupported)); in testOperationsSupported()
H A DTestMtpManager.java101 device.operationsSupported, device.eventsSupported); in openDevice()
115 device.roots, device.operationsSupported, device.eventsSupported)); in closeDevice()