/aosp12/packages/services/Mtp/src/com/android/mtp/ |
H A D | MtpDeviceRecord.java | 28 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 D | MtpDatabase.java | 767 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 D | DocumentLoader.java | 85 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 D | Mapper.java | 93 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 D | MtpFileWriter.java | 64 void flush(MtpManager manager, MtpDatabase database, int[] operationsSupported) in flush() argument 97 operationsSupported, in flush()
|
H A D | MtpDocumentsProvider.java | 302 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 D | MtpManager.java | 297 int[] operationsSupported = null; in createDeviceRecord() local 313 operationsSupported = info.getOperationsSupported(); in createDeviceRecord() 321 operationsSupported, eventsSupported); in createDeviceRecord()
|
H A D | RootScanner.java | 164 documentId, device.operationsSupported, device.roots)) { in run()
|
/aosp12/packages/services/Mtp/tests/src/com/android/mtp/ |
H A D | MtpManagerTest.java | 86 assertNotNull(records[0].operationsSupported); in testOperationsSupported() 87 getInstrumentation().show(Arrays.toString(records[0].operationsSupported)); in testOperationsSupported()
|
H A D | TestMtpManager.java | 101 device.operationsSupported, device.eventsSupported); in openDevice() 115 device.roots, device.operationsSupported, device.eventsSupported)); in closeDevice()
|