/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/ |
H A D | mock_mtp_operation_utils.cpp | 90 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 D | storage.cpp | 73 void Storage::SetStorageID(uint32_t storageID) in SetStorageID() argument 75 storageID_ = storageID; in SetStorageID()
|
H A D | object_info.cpp | 34 storageID, MtpPacketTool::GetFormatName(format).c_str(), format, parent); in Dump()
|
H A D | mtp_operation_utils.cpp | 135 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 D | mtp_media_library.cpp | 386 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 D | mtp_medialibrary_manager.cpp | 465 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 D | mtp_data_utils.cpp | 743 GetMtpOneRowProp(properties, parentId, it, outProps, context->storageID); in GetMtpPropList()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/ |
H A D | send_object_info_data.cpp | 54 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 D | get_num_objects_data.cpp | 52 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser() 56 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in Parser()
|
H A D | move_object_data.cpp | 50 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
|
H A D | copy_object_data.cpp | 54 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
|
H A D | get_object_handles_data.cpp | 52 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
|
H A D | get_object_info_data.cpp | 63 MtpPacketTool::PutUInt32(outBuffer, objectInfo->storageID); in Maker()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/ |
H A D | mtp_native_test.cpp | 1527 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 D | object_info.h | 25 uint32_t storageID {0};
|
H A D | mtp_operation_context.h | 28 uint32_t storageID {0};
|
H A D | storage.h | 35 void SetStorageID(uint32_t storageID);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/payload_data/ |
H A D | send_object_info_data.h | 31 bool SetSetParam(uint32_t storageID, uint32_t parent, uint32_t handle);
|