Home
last modified time | relevance | path

Searched refs:objectInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/java/android/mtp/
DMtpObjectInfo.java369 public Builder(MtpObjectInfo objectInfo) { in Builder() argument
372 mObjectInfo.mAssociationDesc = objectInfo.mAssociationDesc; in Builder()
373 mObjectInfo.mAssociationType = objectInfo.mAssociationType; in Builder()
374 mObjectInfo.mCompressedSize = objectInfo.mCompressedSize; in Builder()
375 mObjectInfo.mDateCreated = objectInfo.mDateCreated; in Builder()
376 mObjectInfo.mDateModified = objectInfo.mDateModified; in Builder()
377 mObjectInfo.mFormat = objectInfo.mFormat; in Builder()
378 mObjectInfo.mImagePixDepth = objectInfo.mImagePixDepth; in Builder()
379 mObjectInfo.mImagePixHeight = objectInfo.mImagePixHeight; in Builder()
380 mObjectInfo.mImagePixWidth = objectInfo.mImagePixWidth; in Builder()
[all …]
/frameworks/av/media/mtp/tests/MtpFuzzer/
Dmtp_fuzzer.cpp105 MtpObjectInfo* objectInfo = new MtpObjectInfo(mDatabase->allocateObjectHandle()); in createDatabaseFromSourceDir() local
106 objectInfo->mStorageID = mStorage->getStorageID(); in createDatabaseFromSourceDir()
107 objectInfo->mParent = parentHandle; in createDatabaseFromSourceDir()
108 objectInfo->mFormat = MTP_FORMAT_ASSOCIATION; // folder in createDatabaseFromSourceDir()
109 objectInfo->mName = strdup(name); in createDatabaseFromSourceDir()
110 objectInfo->mKeywords = strdup(""); in createDatabaseFromSourceDir()
112 mDatabase->addObject(objectInfo); in createDatabaseFromSourceDir()
115 objectInfo->mHandle); in createDatabaseFromSourceDir()
119 MtpObjectInfo* objectInfo = new MtpObjectInfo(mDatabase->allocateObjectHandle()); in createDatabaseFromSourceDir() local
120 objectInfo->mStorageID = mStorage->getStorageID(); in createDatabaseFromSourceDir()
[all …]
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp236 void fill_jobject_from_object_info(JNIEnv* env, jobject object, MtpObjectInfo* objectInfo) { in fill_jobject_from_object_info() argument
237 if (objectInfo->mHandle) in fill_jobject_from_object_info()
238 env->SetIntField(object, field_objectInfo_handle, objectInfo->mHandle); in fill_jobject_from_object_info()
239 if (objectInfo->mStorageID) in fill_jobject_from_object_info()
240 env->SetIntField(object, field_objectInfo_storageId, objectInfo->mStorageID); in fill_jobject_from_object_info()
241 if (objectInfo->mFormat) in fill_jobject_from_object_info()
242 env->SetIntField(object, field_objectInfo_format, objectInfo->mFormat); in fill_jobject_from_object_info()
243 if (objectInfo->mProtectionStatus) in fill_jobject_from_object_info()
244 env->SetIntField(object, field_objectInfo_protectionStatus, objectInfo->mProtectionStatus); in fill_jobject_from_object_info()
245 if (objectInfo->mCompressedSize) in fill_jobject_from_object_info()
[all …]