Lines Matching refs:info
315 MtpDeviceInfo* info = new MtpDeviceInfo; in getDeviceInfo() local
316 info->read(mData); in getDeviceInfo()
317 return info; in getDeviceInfo()
348 MtpStorageInfo* info = new MtpStorageInfo(storageID); in getStorageInfo() local
349 info->read(mData); in getStorageInfo()
350 return info; in getStorageInfo()
387 MtpObjectInfo* info = new MtpObjectInfo(handle); in getObjectInfo() local
388 info->read(mData); in getObjectInfo()
389 return info; in getObjectInfo()
409 MtpObjectHandle MtpDevice::sendObjectInfo(MtpObjectInfo* info) { in sendObjectInfo() argument
413 MtpObjectHandle parent = info->mParent; in sendObjectInfo()
417 mRequest.setParameter(1, info->mStorageID); in sendObjectInfo()
418 mRequest.setParameter(2, info->mParent); in sendObjectInfo()
420 mData.putUInt32(info->mStorageID); in sendObjectInfo()
421 mData.putUInt16(info->mFormat); in sendObjectInfo()
422 mData.putUInt16(info->mProtectionStatus); in sendObjectInfo()
423 mData.putUInt32(info->mCompressedSize); in sendObjectInfo()
424 mData.putUInt16(info->mThumbFormat); in sendObjectInfo()
425 mData.putUInt32(info->mThumbCompressedSize); in sendObjectInfo()
426 mData.putUInt32(info->mThumbPixWidth); in sendObjectInfo()
427 mData.putUInt32(info->mThumbPixHeight); in sendObjectInfo()
428 mData.putUInt32(info->mImagePixWidth); in sendObjectInfo()
429 mData.putUInt32(info->mImagePixHeight); in sendObjectInfo()
430 mData.putUInt32(info->mImagePixDepth); in sendObjectInfo()
431 mData.putUInt32(info->mParent); in sendObjectInfo()
432 mData.putUInt16(info->mAssociationType); in sendObjectInfo()
433 mData.putUInt32(info->mAssociationDesc); in sendObjectInfo()
434 mData.putUInt32(info->mSequenceNumber); in sendObjectInfo()
435 mData.putString(info->mName); in sendObjectInfo()
438 formatDateTime(info->mDateCreated, created, sizeof(created)); in sendObjectInfo()
439 formatDateTime(info->mDateModified, modified, sizeof(modified)); in sendObjectInfo()
443 if (info->mKeywords) in sendObjectInfo()
444 mData.putString(info->mKeywords); in sendObjectInfo()
451 info->mStorageID = mResponse.getParameter(1); in sendObjectInfo()
452 info->mParent = mResponse.getParameter(2); in sendObjectInfo()
453 info->mHandle = mResponse.getParameter(3); in sendObjectInfo()
454 return info->mHandle; in sendObjectInfo()
460 bool MtpDevice::sendObject(MtpObjectInfo* info, int srcFD) { in sendObject() argument
463 int remaining = info->mCompressedSize; in sendObject()
465 mRequest.setParameter(1, info->mHandle); in sendObject()
500 MtpObjectInfo* info = getObjectInfo(handle); in getParent() local
501 if (info) { in getParent()
502 MtpObjectHandle parent = info->mParent; in getParent()
503 delete info; in getParent()
511 MtpObjectInfo* info = getObjectInfo(handle); in getStorageID() local
512 if (info) { in getStorageID()
513 MtpObjectHandle storageId = info->mStorageID; in getStorageID()
514 delete info; in getStorageID()