Lines Matching full:objectinfo
246 MtpObjectInfo* objectInfo = device->getObjectInfo(objectID);
247 if (!objectInfo)
252 delete objectInfo;
256 if (objectInfo->mHandle)
257 env->SetIntField(info, field_objectInfo_handle, objectInfo->mHandle);
258 if (objectInfo->mStorageID)
259 env->SetIntField(info, field_objectInfo_storageId, objectInfo->mStorageID);
260 if (objectInfo->mFormat)
261 env->SetIntField(info, field_objectInfo_format, objectInfo->mFormat);
262 if (objectInfo->mProtectionStatus)
263 env->SetIntField(info, field_objectInfo_protectionStatus, objectInfo->mProtectionStatus);
264 if (objectInfo->mCompressedSize)
265 env->SetIntField(info, field_objectInfo_compressedSize, objectInfo->mCompressedSize);
266 if (objectInfo->mThumbFormat)
267 env->SetIntField(info, field_objectInfo_thumbFormat, objectInfo->mThumbFormat);
268 if (objectInfo->mThumbCompressedSize)
269 env->SetIntField(info, field_objectInfo_thumbCompressedSize, objectInfo->mThumbCompressedSize);
270 if (objectInfo->mThumbPixWidth)
271 env->SetIntField(info, field_objectInfo_thumbPixWidth, objectInfo->mThumbPixWidth);
272 if (objectInfo->mThumbPixHeight)
273 env->SetIntField(info, field_objectInfo_thumbPixHeight, objectInfo->mThumbPixHeight);
274 if (objectInfo->mImagePixWidth)
275 env->SetIntField(info, field_objectInfo_imagePixWidth, objectInfo->mImagePixWidth);
276 if (objectInfo->mImagePixHeight)
277 env->SetIntField(info, field_objectInfo_imagePixHeight, objectInfo->mImagePixHeight);
278 if (objectInfo->mImagePixDepth)
279 env->SetIntField(info, field_objectInfo_imagePixDepth, objectInfo->mImagePixDepth);
280 if (objectInfo->mParent)
281 env->SetIntField(info, field_objectInfo_parent, objectInfo->mParent);
282 if (objectInfo->mAssociationType)
283 env->SetIntField(info, field_objectInfo_associationType, objectInfo->mAssociationType);
284 if (objectInfo->mAssociationDesc)
285 env->SetIntField(info, field_objectInfo_associationDesc, objectInfo->mAssociationDesc);
286 if (objectInfo->mSequenceNumber)
287 env->SetIntField(info, field_objectInfo_sequenceNumber, objectInfo->mSequenceNumber);
288 if (objectInfo->mName)
289 env->SetObjectField(info, field_objectInfo_name, env->NewStringUTF(objectInfo->mName));
290 if (objectInfo->mDateCreated)
291 env->SetLongField(info, field_objectInfo_dateCreated, objectInfo->mDateCreated * 1000LL);
292 if (objectInfo->mDateModified)
293 env->SetLongField(info, field_objectInfo_dateModified, objectInfo->mDateModified * 1000LL);
294 if (objectInfo->mKeywords)
296 env->NewStringUTF(objectInfo->mKeywords));
298 delete objectInfo;