Home
last modified time | relevance | path

Searched refs:Encode (Results 1 – 25 of 146) sorted by relevance

123456

/ohos5.0/base/telephony/sms_mms/services/sms/include/cdma/
H A Dcdma_sms_sub_parameter.h28 virtual bool Encode(SmsWriteBuffer &pdu) = 0;
70 bool Encode(SmsWriteBuffer &pdu) override;
80 bool Encode(SmsWriteBuffer &pdu) override;
87 bool Encode(SmsWriteBuffer &pdu) override;
99 bool Encode(SmsWriteBuffer &pdu) override;
113 bool Encode(SmsWriteBuffer &pdu) override;
123 bool Encode(SmsWriteBuffer &pdu) override;
133 bool Encode(SmsWriteBuffer &pdu) override;
143 bool Encode(SmsWriteBuffer &pdu) override;
182 bool Encode(SmsWriteBuffer &pdu) override;
[all …]
H A Dcdma_sms_parameter_record.h29 virtual bool Encode(SmsWriteBuffer &pdu) = 0;
56 bool Encode(SmsWriteBuffer &pdu) override;
66 bool Encode(SmsWriteBuffer &pdu) override;
76 bool Encode(SmsWriteBuffer &pdu) override;
86 bool Encode(SmsWriteBuffer &pdu) override;
97 bool Encode(SmsWriteBuffer &pdu) override;
112 bool Encode(SmsWriteBuffer &pdu) override;
125 bool Encode(SmsWriteBuffer &pdu) override;
/ohos5.0/base/telephony/sms_mms/test/fuzztest/cdmasmsencode_fuzzer/
H A Dcdmasmsencode_fuzzer.cpp39 parameter->Encode(pdu); in TeleserviceIdEncode()
54 parameter->Encode(pdu); in ServiceCategoryEncode()
69 parameter->Encode(pdu); in BearerReplyEncode()
84 parameter->Encode(pdu); in CauseCodesEncode()
101 parameter->Encode(pdu); in AddressParameterEncode()
117 parameter->Encode(pdu); in SubaddressEncode()
132 parameter->Encode(pdu); in BearerDataEncode()
147 parameter->Encode(pdu); in BaseParameterEncode()
158 parameter->Encode(pdu); in ReservedParameterEncode()
174 parameter->Encode(pdu); in MessageIdEncode()
[all …]
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dbase64_helper_test.cpp64 auto result = Base64Helper::Encode(emptyArray);
67 result = Base64Helper::Encode(oneArray);
71 result = Base64Helper::Encode(twoArray);
75 result = Base64Helper::Encode(threeArray);
92 EXPECT_TRUE(Base64Helper::Decode(Base64Helper::Encode(oneArray), result));
95 EXPECT_TRUE(Base64Helper::Decode(Base64Helper::Encode(twoArray), result));
98 EXPECT_TRUE(Base64Helper::Decode(Base64Helper::Encode(threeArray), result));
137 std::string encodeStr = Base64Helper::Encode(array);
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_cdma_sms_test.cpp506 EXPECT_FALSE(message->Encode(*buffer1));
543 message->Encode(*buffer);
636 EXPECT_FALSE(message->Encode(wBuffer));
690 EXPECT_TRUE(message1->Encode(wBuffer));
723 EXPECT_TRUE(message1->Encode(wBuffer));
759 EXPECT_TRUE(message1->Encode(wBuffer));
795 EXPECT_TRUE(message1->Encode(wBuffer));
828 EXPECT_TRUE(message1->Encode(wBuffer));
864 EXPECT_TRUE(message1->Encode(wBuffer));
902 EXPECT_TRUE(message1->Encode(wBuffer));
[all …]
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_cache_proxy.cpp47 key_ = Encode(str); in CacheProxy()
101 cacheResponse[RESPONSE_KEY_HEADER] = Encode(response.GetRawHeader()); in WriteResponseToCache()
102 cacheResponse[RESPONSE_KEY_RESULT] = Encode(response.GetResult()); in WriteResponseToCache()
103 cacheResponse[RESPONSE_KEY_COOKIES] = Encode(response.GetCookies()); in WriteResponseToCache()
104 cacheResponse[RESPONSE_TIME] = Encode(response.GetResponseTime()); in WriteResponseToCache()
105 cacheResponse[REQUEST_TIME] = Encode(response.GetRequestTime()); in WriteResponseToCache()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_proxy/src/
H A Dcache_proxy.cpp54 key_ = Base64::Encode(str); in CacheProxy()
108 cacheResponse[HttpConstant::RESPONSE_KEY_HEADER] = Base64::Encode(response.GetRawHeader()); in WriteResponseToCache()
109 cacheResponse[HttpConstant::RESPONSE_KEY_RESULT] = Base64::Encode(response.GetResult()); in WriteResponseToCache()
110 cacheResponse[HttpConstant::RESPONSE_KEY_COOKIES] = Base64::Encode(response.GetCookies()); in WriteResponseToCache()
111 cacheResponse[HttpConstant::RESPONSE_TIME] = Base64::Encode(response.GetResponseTime()); in WriteResponseToCache()
112 cacheResponse[HttpConstant::REQUEST_TIME] = Base64::Encode(response.GetRequestTime()); in WriteResponseToCache()
/ohos5.0/docs/en/application-dev/media/image/
H A DReadme-EN.md9 - [Using ImagePacker to Encode Images](image-encoding.md)
10 - [Using ImagePacker to Encode Pictures](image-picture-encoding.md)
19 - [Using Image_NativeModule to Encode Images](image-packer-c.md)
20 - [Using Image_NativeModule to Encode Pictures](image-packer-picture-c.md)
27 - [Using Image to Encode Images](image-encoding-native.md)
H A Dimage-packer-c.md1 # Using Image_NativeModule to Encode Images
62 // Encode an ImageSource instance and pack it into a file.
68 …// Encode the content as HDR content. (The resource must be HDR resource and the JPEG format must …
118 // Encode the Pixelmap instance and pack it into a file.
H A Dimage-encoding.md1 # Using ImagePacker to Encode Images
32 …- Encode the content as HDR content. (The resource must be HDR resource and the JPEG format must b…
39 4. Encode the image and save the encoded image.
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_util.cpp51 encodeImageResult = SkJpegEncoder::Encode(&dst, src, options); in EncodeImage()
55 encodeImageResult = SkWebpEncoder::Encode(&dst, src, options); in EncodeImage()
59 encodeImageResult = SkPngEncoder::Encode(&dst, src, options); in EncodeImage()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dphoto_map_operations.cpp119 … watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, albumId); in AddPhotoAssets()
120 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, in AddPhotoAssets()
122 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, in AddPhotoAssets()
124 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, in AddPhotoAssets()
126 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ADD); in AddPhotoAssets()
276 …watch->Notify(MediaFileUtils::Encode(whereArgsUri[i]), NotifyType::NOTIFY_ALBUM_DISMISS_ASSET, alb… in DismissAssets()
325 watch->Notify(MediaFileUtils::Encode(uriWhereArgs[i]), NotifyType::NOTIFY_REMOVE); in RemovePhotoAssets()
326 …watch->Notify(MediaFileUtils::Encode(uriWhereArgs[i]), NotifyType::NOTIFY_ALBUM_REMOVE_ASSET, albu… in RemovePhotoAssets()
327 …watch->Notify(MediaFileUtils::Encode(uriWhereArgs[i]), NotifyType::NOTIFY_ALBUM_ADD_ASSET, trashAl… in RemovePhotoAssets()
/ohos5.0/base/telephony/sms_mms/services/sms/cdma/
H A Dcdma_sms_parameter_record.cpp40 bool CdmaSmsTeleserviceId::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsTeleserviceId
70 bool CdmaSmsServiceCategory::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsServiceCategory
100 bool CdmaSmsBearerReply::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsBearerReply
135 bool CdmaSmsCauseCodes::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsCauseCodes
205 bool CdmaSmsAddressParameter::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsAddressParameter
345 bool CdmaSmsSubaddress::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsSubaddress
462 bool CdmaSmsBearerData::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsBearerData
478 if (!teleserviceMessage_->Encode(pdu)) { in Encode()
H A Dcdma_sms_sub_parameter.cpp46 bool CdmaSmsBaseParameter::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsBaseParameter
99 bool CdmaSmsMessageId::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsMessageId
158 bool CdmaSmsAbsoluteTime::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsAbsoluteTime
219 bool CdmaSmsPriorityInd::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsPriorityInd
260 bool CdmaSmsPrivacyInd::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsPrivacyInd
301 bool CdmaSmsReplyOption::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsReplyOption
348 bool CdmaSmsUserData::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsUserData
751 bool CdmaSmsCmasData::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsCmasData
1010 bool CdmaSmsLanguageInd::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsLanguageInd
1184 bool CdmaSmsDisplayMode::Encode(SmsWriteBuffer &pdu) in Encode() function in OHOS::Telephony::CdmaSmsDisplayMode
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Ddb_base64_utils.h25 static std::string Encode(const std::vector<uint8_t> &source);
28 static std::string Encode(const std::string &source);
/ohos5.0/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_encoded_test.cpp73 ASSERT_TRUE(!param->Encode());
76 ASSERT_TRUE(param->Encode());
137 param->Encode();
/ohos5.0/foundation/communication/netstack/test/unittest/http/cache/
H A DBase64Test.cpp56 EXPECT_EQ(Decode(Encode(str)), str);
60 EXPECT_EQ(Encode(test.first), test.second);
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/
H A Dtmessenger.cpp28 std::string Request::Encode() const in Encode() function in OHOS::Request
48 std::string Response::Encode() const in Encode() function in OHOS::Response
84 std::string Message::Encode() const in Encode() function in OHOS::Message
89 return request == nullptr ? "" : data + SEPARATOR + request->Encode(); in Encode()
91 return response == nullptr ? "" : data + SEPARATOR + response->Encode(); in Encode()
330 std::string data = msg.Encode(); in Send()
H A Dtmessenger.h39 std::string Encode() const;
48 std::string Encode() const;
64 std::string Encode() const;
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
H A Dencoded_param.cpp53 hasEncoded_ = Encode(); in GetRawData()
58 bool EncodedParam::Encode() in Encode() function in OHOS::HiviewDFX::Encoded::EncodedParam
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/encoded/
H A Dencoded_param.cpp43 hasEncoded_ = Encode(); in GetRawData()
88 bool EncodedParam::Encode() in Encode() function in OHOS::HiviewDFX::EventRaw::EncodedParam
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dtlv_object_test.cpp81 auto ret = pasteData1.Encode(buffer);
116 auto ret = pasteData1->Encode(buffer);
151 auto ret = pasteData1->Encode(buffer);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Ddb_base64_utils.cpp116 std::string DBBase64Utils::Encode(const std::vector<uint8_t> &source) in Encode() function in DistributedDB::DBBase64Utils
202 std::string DBBase64Utils::Encode(const std::string &source) in Encode() function in DistributedDB::DBBase64Utils
204 return Encode(std::vector<uint8_t>(source.begin(), source.end())); in Encode()
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/
H A Dpaste_data_entry.h29 bool Encode(std::vector<std::uint8_t>& buffer) override;
59 bool Encode(std::vector<std::uint8_t>& buffer) override;
/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/include/
H A Dbase64_utils.h22 std::string Encode(const std::string &source);

123456