Home
last modified time | relevance | path

Searched refs:MtpOperationUtils (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/
H A Dmock_mtp_operation_utils.cpp68 MtpOperationUtils::MtpOperationUtils(const std::shared_ptr<MtpOperationContext> &context) : context… in MtpOperationUtils() function in OHOS::Media::MtpOperationUtils
69 MtpOperationUtils::~MtpOperationUtils() {} in ~MtpOperationUtils()
83 uint16_t MtpOperationUtils::GetNumObjects(std::shared_ptr<PayloadData> &data) in GetNumObjects()
213 void MtpOperationUtils::DoSetObjectPropValue(int &errorCode) in DoSetObjectPropValue()
230 uint16_t MtpOperationUtils::GetObjectPropList(shared_ptr<PayloadData> &data, in GetObjectPropList()
505 uint16_t MtpOperationUtils::CheckErrorCode(int errorCode) in CheckErrorCode()
529 uint16_t MtpOperationUtils::GetCloseSession(std::shared_ptr<PayloadData> &data) in GetCloseSession()
607 value->bin_.ui8 = (uint8_t)MtpOperationUtils::GetBatteryLevel(); in GetPropValue()
630 uint16_t MtpOperationUtils::ResetDevicePropResp(shared_ptr<PayloadData> &data) in ResetDevicePropResp()
662 int32_t MtpOperationUtils::GetHandleByPaths(string path, uint32_t &handle) in GetHandleByPaths()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_operation_utils.cpp90 MtpOperationUtils::MtpOperationUtils(const shared_ptr<MtpOperationContext> &context) : context_(con… in MtpOperationUtils() function in OHOS::Media::MtpOperationUtils
105 MtpOperationUtils::~MtpOperationUtils() in ~MtpOperationUtils()
128 uint16_t MtpOperationUtils::GetNumObjects(shared_ptr<PayloadData> &data) in GetNumObjects()
144 uint16_t MtpOperationUtils::HasStorage(int &errorCode) in HasStorage()
297 void MtpOperationUtils::DoSetObjectPropValue(int &errorCode) in DoSetObjectPropValue()
400 uint16_t MtpOperationUtils::GetObjectDataDeal() in GetObjectDataDeal()
440 int32_t MtpOperationUtils::DoRecevieSendObject() in DoRecevieSendObject()
496 int32_t MtpOperationUtils::RecevieSendObject(MtpFileRange &object, int fd) in RecevieSendObject()
526 void MtpOperationUtils::PreDealFd(const bool deal, const int fd) in PreDealFd()
785 uint16_t MtpOperationUtils::CheckErrorCode(int errorCode) in CheckErrorCode()
[all …]
H A Dmtp_event.cpp45 handleptr_ = make_shared<MtpOperationUtils>(mtpContextPtr_); in SendObjectAdded()
66 handleptr_ = make_shared<MtpOperationUtils>(mtpContextPtr_); in SendObjectRemoved()
95 handleptr_ = make_shared<MtpOperationUtils>(mtpContextPtr_); in SendObjectInfoChanged()
123 handleptr_ = make_shared<MtpOperationUtils>(mtpContextPtr_); in SendStoreAdded()
139 handleptr_ = make_shared<MtpOperationUtils>(mtpContextPtr_); in SendStoreRemoved()
183 handleptr_ = make_shared<MtpOperationUtils>(mtpContextPtr_); in EventPayloadData()
H A Dmtp_file_observer.cpp169 auto battery = make_shared<MtpOperationUtils>(context); in SendBattery()
H A Dmtp_operation.cpp55 operationUtils_ = make_shared<MtpOperationUtils>(mtpContextPtr_); in Init()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dmtp_operation_utils.h25 class MtpOperationUtils {
27 explicit MtpOperationUtils(const std::shared_ptr<MtpOperationContext> &context);
28 ~MtpOperationUtils();
H A Dmtp_event.h39 std::shared_ptr<MtpOperationUtils> handleptr_;
H A Dmtp_operation.h57 std::shared_ptr<MtpOperationUtils> operationUtils_;
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/
H A Dmtp_native_test.cpp2132 shared_ptr<MtpOperationUtils> mtpOperUtils = make_shared<MtpOperationUtils>(context);
2156 shared_ptr<MtpOperationUtils> mtpOperUtils = make_shared<MtpOperationUtils>(context);
2180 shared_ptr<MtpOperationUtils> mtpOperUtils = make_shared<MtpOperationUtils>(context);
2204 shared_ptr<MtpOperationUtils> mtpOperUtils = make_shared<MtpOperationUtils>(context);
2228 shared_ptr<MtpOperationUtils> mtpOperUtils = make_shared<MtpOperationUtils>(context);
2252 shared_ptr<MtpOperationUtils> mtpOperUtils = make_shared<MtpOperationUtils>(context);
2276 shared_ptr<MtpOperationUtils> mtpOperUtils = make_shared<MtpOperationUtils>(context);
2300 shared_ptr<MtpOperationUtils> mtpOperUtils = make_shared<MtpOperationUtils>(context);
2323 shared_ptr<MtpOperationUtils> mtpOperUtils = make_shared<MtpOperationUtils>(nullptr);
2377 shared_ptr<MtpOperationUtils> mtpOperUtils = make_shared<MtpOperationUtils>(nullptr);
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/
H A Dset_device_prop_value_data.cpp100 if (!MtpOperationUtils::SetPropertyInner("persist.device.name", value)) { in PaserPropValue()