Home
last modified time | relevance | path

Searched refs:getDeviceInfoData (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_operation_utils.cpp116 shared_ptr<GetDeviceInfoData> getDeviceInfoData = make_shared<GetDeviceInfoData>(); in GetDeviceInfo() local
117 getDeviceInfoData->SetManufacturer(GetPropertyInner("const.product.manufacturer", in GetDeviceInfo()
119 getDeviceInfoData->SetModel(GetPropertyInner("const.product.model", DEFAULT_PRODUCT_MODEL)); in GetDeviceInfo()
120 getDeviceInfoData->SetVersion(GetPropertyInner("const.product.software.version", in GetDeviceInfo()
122 getDeviceInfoData->SetSerialNum(GetPropertyInner("ohos.boot.sn", "0")); in GetDeviceInfo()
123 data = getDeviceInfoData; in GetDeviceInfo()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/
H A Dmtp_payload_data_test.cpp981 GetDeviceInfoData getDeviceInfoData(context);
983 int ret = getDeviceInfoData.Parser(buffer, 0);
989 GetDeviceInfoData getDeviceInfoData; variable
991 int ret = getDeviceInfoData.Maker(outBuffer);
998 GetDeviceInfoData getDeviceInfoData(context);
999 int ret = getDeviceInfoData.CalculateSize();
1002 getDeviceInfoData.SetManufacturer(manufacturer);
1003 getDeviceInfoData.SetModel(manufacturer);
1004 getDeviceInfoData.SetVersion(manufacturer);
1005 getDeviceInfoData.SetSerialNum(manufacturer);