Home
last modified time | relevance | path

Searched refs:storageID (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/
H A Dmock_mtp_operation_utils.cpp90 context_->storageID, context_->format, context_->parent); in GetNumObjects()
91 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in GetNumObjects()
119 context_->storageID, context_->format, context_->parent); in GetObjectHandles()
120 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in GetObjectHandles()
355 context_->storageID, context_->parent, context_->format, in SendObjectInfo()
359 uint32_t storageID = 0; in SendObjectInfo() local
364 sendObjectInfo->SetSetParam(storageID, parent, handle); in SendObjectInfo()
415 context_->handle, context_->storageID, context_->parent); in MoveObject()
432 context_->handle, context_->storageID, context_->parent); in CopyObject()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dstorage.cpp73 void Storage::SetStorageID(uint32_t storageID) in SetStorageID() argument
75 storageID_ = storageID; in SetStorageID()
H A Dobject_info.cpp34 storageID, MtpPacketTool::GetFormatName(format).c_str(), format, parent); in Dump()
H A Dmtp_operation_utils.cpp135 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in GetNumObjects()
156 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in HasStorage()
591 uint32_t storageID = 0; in SendObjectInfo() local
595 errorCode = mtpMediaLibrary_->SendObjectInfo(context_, storageID, parent, handle); in SendObjectInfo()
597 errorCode = mtpMedialibraryManager_->SendObjectInfo(context_, storageID, parent, handle); in SendObjectInfo()
606 sendObjectInfo->SetSetParam(storageID, parent, handle); in SendObjectInfo()
H A Dmtp_media_library.cpp386 MEDIA_DEBUG_LOG("MtpMediaLibrary::GetObjectInfo storageID[%{public}d]", context->storageID); in GetObjectInfo()
396 outObjectInfo->storageID = context->storageID; in GetObjectInfo()
610 outStorageID = context->storageID; in SendObjectInfo()
631 auto it = storageIdToPathMap.find(context->storageID); in GetPathByContextParent()
879 auto it = storageIdToPathMap.find(context->storageID); in GetHandlesMap()
918 context->storageID = storage->first; in CorrectStorageId()
948 context->storageID, context->format, context->property); in GetObjectPropList()
H A Dmtp_medialibrary_manager.cpp465 outObjectInfo->storageID = context->storageID; in SetObject()
492 outObjectInfo->storageID = DEFAULT_STORAGE_ID; in SetObjectInfo()
498 outObjectInfo->storageID = DEFAULT_STORAGE_ID; in SetObjectInfo()
509 outObjectInfo->storageID = DEFAULT_STORAGE_ID; in SetObjectInfo()
H A Dmtp_data_utils.cpp743 GetMtpOneRowProp(properties, parentId, it, outProps, context->storageID); in GetMtpPropList()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/
H A Dsend_object_info_data.cpp54 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
89 bool SendObjectInfoData::SetSetParam(uint32_t storageID, uint32_t parent, uint32_t handle) in SetSetParam() argument
95 storageID_ = storageID; in SetSetParam()
H A Dget_num_objects_data.cpp52 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
56 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in Parser()
H A Dmove_object_data.cpp50 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
H A Dcopy_object_data.cpp54 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
H A Dget_object_handles_data.cpp52 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
H A Dget_object_info_data.cpp63 MtpPacketTool::PutUInt32(outBuffer, objectInfo->storageID); in Maker()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/
H A Dmtp_native_test.cpp1527 context->storageID = 1;
1548 context->storageID = 1;
1569 context->storageID = 1;
1611 context->storageID = 1;
1632 context->storageID = 1;
1652 context->storageID = 1;
1671 context->storageID = 1;
1690 context->storageID = 1;
1728 context->storageID = 0;
1748 context->storageID = 1;
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dobject_info.h25 uint32_t storageID {0};
H A Dmtp_operation_context.h28 uint32_t storageID {0};
H A Dstorage.h35 void SetStorageID(uint32_t storageID);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/payload_data/
H A Dsend_object_info_data.h31 bool SetSetParam(uint32_t storageID, uint32_t parent, uint32_t handle);