Home
last modified time | relevance | path

Searched refs:bin_ (Results 1 - 7 of 7) sorted by relevance

/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dproperty.cpp30 bin_.ui128[OFFSET_0] = 0; in Value()
31 bin_.ui128[OFFSET_1] = 0; in Value()
32 bin_.ui128[OFFSET_2] = 0; in Value()
33 bin_.ui128[OFFSET_3] = 0; in Value()
63 res = MtpPacketTool::Int8ToString(bin_.i8, valueStr); in BinToString()
65 res = MtpPacketTool::UInt8ToString(bin_.ui8, valueStr); in BinToString()
67 res = MtpPacketTool::Int16ToString(bin_.i16, valueStr); in BinToString()
69 res = MtpPacketTool::UInt16ToString(bin_.ui16, valueStr); in BinToString()
71 res = MtpPacketTool::Int32ToString(bin_.i32, valueStr); in BinToString()
73 res = MtpPacketTool::UInt32ToString(bin_ in BinToString()
[all...]
H A Dmtp_data_utils.cpp424 prop.currentValue->bin_.i32 = get<int32_t>(columnValue); in SetProperty()
431 prop.currentValue->bin_.i64 = get<int64_t>(columnValue); in SetProperty()
454 prop.currentValue->bin_.ui16 = format; in GetOneRowPropList()
455 MEDIA_INFO_LOG("prop.currentValue->bin_.ui16 %{public}u", format); in GetOneRowPropList()
507 prop.currentValue->bin_.i16 = 0; in SetOneDefaultlPropList()
510 prop.currentValue->bin_.i128[OFFSET_0] = static_cast<int32_t>(handle); in SetOneDefaultlPropList()
511 prop.currentValue->bin_.i128[OFFSET_1] = 0; in SetOneDefaultlPropList()
512 prop.currentValue->bin_.i128[OFFSET_2] = 0; in SetOneDefaultlPropList()
513 prop.currentValue->bin_.i128[OFFSET_3] = 0; in SetOneDefaultlPropList()
519 prop.currentValue->bin_ in SetOneDefaultlPropList()
[all...]
H A Dmtp_operation_utils.cpp688 property->currentValue->bin_.ui8 = (uint8_t)MtpOperationUtils::GetBatteryLevel(); in GetPropDesc()
734 value->bin_.ui8 = (uint8_t)MtpOperationUtils::GetBatteryLevel(); in GetPropValue()
738 value->bin_.ui32 = MTP_PERCEIVED_DEVICE_TYPE_GENERIC; in GetPropValue()
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/
H A Dget_object_prop_list_data.cpp137 MtpPacketTool::PutInt8(outBuffer, value->bin_.i8); in WritePropertyIntValue()
140 MtpPacketTool::PutUInt8(outBuffer, value->bin_.ui8); in WritePropertyIntValue()
143 MtpPacketTool::PutInt16(outBuffer, value->bin_.i16); in WritePropertyIntValue()
146 MtpPacketTool::PutUInt16(outBuffer, value->bin_.ui16); in WritePropertyIntValue()
149 MtpPacketTool::PutInt32(outBuffer, value->bin_.i32); in WritePropertyIntValue()
152 MtpPacketTool::PutUInt32(outBuffer, value->bin_.ui32); in WritePropertyIntValue()
155 MtpPacketTool::PutInt64(outBuffer, value->bin_.i64); in WritePropertyIntValue()
158 MtpPacketTool::PutUInt64(outBuffer, value->bin_.ui64); in WritePropertyIntValue()
161 MtpPacketTool::PutInt128(outBuffer, value->bin_.i128); in WritePropertyIntValue()
164 MtpPacketTool::PutUInt128(outBuffer, value->bin_ in WritePropertyIntValue()
[all...]
H A Dget_device_prop_value_data.cpp80 MtpPacketTool::PutUInt8(buffer, static_cast<uint8_t>(value.bin_.i8)); in WriteValue()
84 MtpPacketTool::PutUInt8(buffer, value.bin_.ui8); in WriteValue()
88 MtpPacketTool::PutUInt16(buffer, static_cast<uint16_t>(value.bin_.i16)); in WriteValue()
92 MtpPacketTool::PutUInt16(buffer, value.bin_.ui16); in WriteValue()
96 MtpPacketTool::PutUInt32(buffer, static_cast<uint32_t>(value.bin_.i32)); in WriteValue()
100 MtpPacketTool::PutUInt32(buffer, value.bin_.ui32); in WriteValue()
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dproperty.h47 } bin_; member in OHOS::Media::Property::Value
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/
H A Dmock_mtp_operation_utils.cpp561 property->currentValue->bin_.ui8 = (uint8_t)MtpOperationUtils::GetBatteryLevel(); in GetPropDesc()
607 value->bin_.ui8 = (uint8_t)MtpOperationUtils::GetBatteryLevel(); in GetPropValue()
611 value->bin_.ui32 = MTP_PERCEIVED_DEVICE_TYPE_GENERIC; in GetPropValue()

Completed in 6 milliseconds