Home
last modified time | relevance | path

Searched refs:storageID (Results 1 - 16 of 16) sorted by relevance

/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.cpp33 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 Dmtp_operation_utils.cpp119 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 Dmtp_medialibrary_manager.cpp197 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 Dget_num_objects_data.cpp52 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
56 if (!MtpStorageManager::GetInstance()->HasStorage(context_->storageID)) { in Parser()
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 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()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/
H A Dmock_mtp_operation_utils.cpp89 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 Dmtp_operation_context.h28 uint32_t storageID {0};
H A Dobject_info.h25 uint32_t storageID {0};
H A Dstorage.h35 void SetStorageID(uint32_t storageID);
/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);
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/
H A Dmtp_native_test.cpp1527 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...]

Completed in 10 milliseconds