/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 | 33 MEDIA_DEBUG_LOG(" storageID=%{private}x, format=%{private}s(%{private}x), parent=%{private}x", in Dump() 34 storageID, MtpPacketTool::GetFormatName(format).c_str(), format, parent); in Dump()
|
H A D | mtp_operation_utils.cpp | 119 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in GetNumObjects() 140 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in HasStorage() 456 uint32_t storageID = 0; in SendObjectInfo() local 459 errorCode = mtpMedialibraryManager_->SendObjectInfo(context_, storageID, parent, handle); in SendObjectInfo() 467 sendObjectInfo->SetSetParam(storageID, parent, handle); in SendObjectInfo()
|
H A D | mtp_medialibrary_manager.cpp | 197 outObjectInfo->storageID = DEFAULT_STORAGE_ID; in SetObjectInfo() 203 outObjectInfo->storageID = DEFAULT_STORAGE_ID; in SetObjectInfo()
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/ |
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 | 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 | 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()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/ |
H A D | mock_mtp_operation_utils.cpp | 89 MEDIA_DEBUG_LOG("GetNumObjects storageID=%{public}u, format=%{public}u, parent=%{public}u", in GetNumObjects() 90 context_->storageID, context_->format, context_->parent); in GetNumObjects() 91 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in GetNumObjects() 118 MEDIA_DEBUG_LOG("GetObjectHandles storageID=%{public}u, format=%{public}u, parent=%{public}u", in GetObjectHandles() 119 context_->storageID, context_->format, context_->parent); in GetObjectHandles() 120 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in GetObjectHandles() 352 MEDIA_DEBUG_LOG("SendObjectInfo storageID=%{public}u, parent=%{public}u, format=%{public}u," in SendObjectInfo() 355 context_->storageID, context_->parent, context_->format, in SendObjectInfo() 359 uint32_t storageID = 0; in SendObjectInfo() local 364 sendObjectInfo->SetSetParam(storageID, paren in SendObjectInfo() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/ |
H A D | mtp_operation_context.h | 28 uint32_t storageID {0};
|
H A D | object_info.h | 25 uint32_t storageID {0};
|
H A D | storage.h | 35 void SetStorageID(uint32_t storageID);
|
/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);
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/ |
H A D | mtp_native_test.cpp | 1527 context->storageID = 1; in HWTEST_F() 1529 MtpMedialibraryManager::GetInstance()->SendObjectInfo(context, context->storageID, context->parent, handle); in HWTEST_F() 1548 context->storageID = 1; in HWTEST_F() 1550 MtpMedialibraryManager::GetInstance()->SendObjectInfo(context, context->storageID, context->parent, handle); in HWTEST_F() 1569 context->storageID = 1; in HWTEST_F() 1571 MtpMedialibraryManager::GetInstance()->SendObjectInfo(context, context->storageID, context->parent, handle); in HWTEST_F() 1590 context->storageID = -1; in HWTEST_F() 1592 MtpMedialibraryManager::GetInstance()->SendObjectInfo(context, context->storageID, context->parent, handle); in HWTEST_F() 1611 context->storageID = 1; in HWTEST_F() 1613 MtpMedialibraryManager::GetInstance()->SendObjectInfo(context, context->storageID, contex in HWTEST_F() [all...] |