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