Searched refs:objectInfo (Results 1 – 4 of 4) sorted by relevance
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | TestMtpManager.java | 57 void setObjectInfo(int deviceId, MtpObjectInfo objectInfo) { in setObjectInfo() argument 58 mObjectInfos.put(pack(deviceId, objectInfo.getObjectHandle()), objectInfo); in setObjectInfo() local 153 int createDocument(int deviceId, MtpObjectInfo objectInfo, ParcelFileDescriptor source) in createDocument() argument 155 Assert.assertNotSame(0, objectInfo.getStorageId()); in createDocument() 156 Assert.assertNotSame(-1, objectInfo.getStorageId()); in createDocument() 157 Assert.assertNotSame(0, objectInfo.getParent()); in createDocument() 162 final MtpObjectInfo newInfo = new MtpObjectInfo.Builder(objectInfo). in createDocument() 165 if (objectInfo.getFormat() != 0x3001) { in createDocument() 168 final byte[] buffer = new byte[objectInfo.getCompressedSize()]; in createDocument() 169 if (inputStream.read(buffer, 0, objectInfo.getCompressedSize()) != in createDocument() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpDeviceIndexRunnable.java | 142 protected void addObject(IngestObjectInfo objectInfo, in addObject() argument 144 mDateInstance.setTimestamp(objectInfo.getDateCreated()); in addObject() 151 bucket.add(objectInfo); in addObject() 152 mIndex.onObjectIndexed(objectInfo, numObjects); in addObject()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | MtpImageView.java | 252 IngestObjectInfo objectInfo; in handleMessage() local 257 objectInfo = parent.mFetchObjectInfo; in handleMessage() 262 Object result = parent.fetchMtpImageDataFromDevice(device, objectInfo); in handleMessage() 267 if (parent.mFetchObjectInfo != objectInfo) { in handleMessage()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpManager.java | 197 int createDocument(int deviceId, MtpObjectInfo objectInfo, in createDocument() argument 201 final MtpObjectInfo sendObjectInfoResult = device.sendObjectInfo(objectInfo); in createDocument() 205 if (objectInfo.getFormat() != MtpConstants.FORMAT_ASSOCIATION) { in createDocument()
|