Home
last modified time | relevance | path

Searched refs:outObjectInfo (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_medialibrary_manager.cpp414 shared_ptr<ObjectInfo> &outObjectInfo) in GetObjectInfo() argument
462 outObjectInfo->handle = context->handle; in SetObject()
463 outObjectInfo->name = display_name; in SetObject()
464 outObjectInfo->parent = context->parent; in SetObject()
465 outObjectInfo->storageID = context->storageID; in SetObject()
476 outObjectInfo->thumbPixelWidth = NORMAL_WIDTH; in SetObject()
482 shared_ptr<ObjectInfo> &outObjectInfo) in SetObjectInfo() argument
484 CHECK_AND_RETURN_RET_LOG(outObjectInfo != nullptr, in SetObjectInfo()
487 outObjectInfo->name = fileAsset->GetDisplayName(); in SetObjectInfo()
492 outObjectInfo->storageID = DEFAULT_STORAGE_ID; in SetObjectInfo()
[all …]
H A Dmtp_media_library.cpp380 std::shared_ptr<ObjectInfo> &outObjectInfo) in GetObjectInfo() argument
393 outObjectInfo->handle = context->handle; in GetObjectInfo()
394 outObjectInfo->name = sf::path(path).filename().string(); in GetObjectInfo()
395 outObjectInfo->parent = GetParentId(path); in GetObjectInfo()
396 outObjectInfo->storageID = context->storageID; in GetObjectInfo()
403 outObjectInfo->thumbPixelHeight = NORMAL_HEIGHT; in GetObjectInfo()
404 outObjectInfo->thumbPixelWidth = NORMAL_WIDTH; in GetObjectInfo()
409 outObjectInfo->format = MTP_FORMAT_ASSOCIATION_CODE; in GetObjectInfo()
416 outObjectInfo->size = GetSizeFromOfft(statInfo.st_size); in GetObjectInfo()
417 outObjectInfo->dateCreated = statInfo.st_ctime; in GetObjectInfo()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dmtp_medialibrary_manager.h40 std::shared_ptr<ObjectInfo> &outObjectInfo);
65 …bjectInfo(const std::unique_ptr<FileAsset> &fileAsset, std::shared_ptr<ObjectInfo> &outObjectInfo);
67 … const std::shared_ptr<MtpOperationContext> &context, std::shared_ptr<ObjectInfo> &outObjectInfo);
H A Dmtp_media_library.h47 std::shared_ptr<ObjectInfo> &outObjectInfo);
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/
H A Dmtp_native_test.cpp2016 shared_ptr<ObjectInfo> outObjectInfo = make_shared<ObjectInfo>(0); variable
2020 int32_t ret = mtpMedialibraryManager.SetObjectInfo(fileAsset, outObjectInfo);
2024 ret = mtpMedialibraryManager.SetObjectInfo(fileAsset, outObjectInfo);