Searched refs:MtpOperationUtils (Results 1 – 10 of 10) sorted by relevance
68 MtpOperationUtils::MtpOperationUtils(const std::shared_ptr<MtpOperationContext> &context) : context… in MtpOperationUtils() function in OHOS::Media::MtpOperationUtils69 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 …]
90 MtpOperationUtils::MtpOperationUtils(const shared_ptr<MtpOperationContext> &context) : context_(con… in MtpOperationUtils() function in OHOS::Media::MtpOperationUtils105 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 …]
45 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()
169 auto battery = make_shared<MtpOperationUtils>(context); in SendBattery()
55 operationUtils_ = make_shared<MtpOperationUtils>(mtpContextPtr_); in Init()
25 class MtpOperationUtils {27 explicit MtpOperationUtils(const std::shared_ptr<MtpOperationContext> &context);28 ~MtpOperationUtils();
39 std::shared_ptr<MtpOperationUtils> handleptr_;
57 std::shared_ptr<MtpOperationUtils> operationUtils_;
2132 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 …]
100 if (!MtpOperationUtils::SetPropertyInner("persist.device.name", value)) { in PaserPropValue()