/base/notification/common_event_service/interfaces/inner_api/ |
H A D | matching_skills.h | 92 * @param index Indicates the scheme index. 122 * @param index Indicates the scheme index. 123 * @return Returns scheme. 128 * Adds scheme to this MatchingSkills object. 130 * @param scheme Indicates the scheme. 132 void AddScheme(const std::string &scheme); 135 * Checks whether the scheme is in this MatchingSkills object. 137 * @param scheme Indicates specified scheme i [all...] |
/base/notification/common_event_service/frameworks/native/src/ |
H A D | matching_skills.cpp | 119 void MatchingSkills::AddScheme(const std::string &scheme) in AddScheme() argument 121 auto it = std::find(schemes_.begin(), schemes_.end(), scheme); in AddScheme() 123 schemes_.emplace_back(scheme); in AddScheme() 127 bool MatchingSkills::HasScheme(const std::string &scheme) const in HasScheme() 129 return std::find(schemes_.begin(), schemes_.end(), scheme) != schemes_.end(); in HasScheme() 132 void MatchingSkills::RemoveScheme(const std::string &scheme) in RemoveScheme() argument 134 auto it = std::find(schemes_.cbegin(), schemes_.cend(), scheme); in RemoveScheme() 186 // write scheme in Marshalling() 193 EVENT_LOGE("matching skills write scheme error"); in Marshalling() 297 bool MatchingSkills::MatchScheme(const std::string &scheme) cons [all...] |
/base/web/webview/interfaces/kits/cj/src/ |
H A D | webview_controller_impl.cpp | 962 WEBVIEWLOGE("Invalid scheme name length"); in CheckSchemeName() 976 void SetCustomizeSchemeOption(Scheme& scheme) in SetCustomizeSchemeOption() argument 979 {0, [](const Scheme& scheme) { return scheme.isStandard; }}, in SetCustomizeSchemeOption() 980 {1, [](const Scheme& scheme) { return scheme.isLocal; }}, in SetCustomizeSchemeOption() 981 {2, [](const Scheme& scheme) { return scheme.isDisplayIsolated; }}, in SetCustomizeSchemeOption() 982 {3, [](const Scheme& scheme) { return scheme in SetCustomizeSchemeOption() 996 SetCustomizeScheme(CScheme cscheme, Scheme& scheme) SetCustomizeScheme() argument 1022 Scheme scheme; CustomizeSchemesArrayDataHandler() local [all...] |
/base/notification/common_event_service/test/systemtest/common/acts/actsCESMatchingSkillsTest/ |
H A D | actsCESMatchingSkillsTest.cpp | 326 * @tc.desc: Verify the function of MatchingSkills scheme : AddScheme、GetScheme、 358 * @tc.desc: Verify the function of MatchingSkills scheme : AddScheme、GetScheme、 390 * @tc.desc: Verify the function of MatchingSkills scheme : AddScheme、GetScheme、 422 * @tc.desc: Verify the function of MatchingSkills scheme : AddScheme、GetScheme、 469 * @tc.desc: Verify the function of MatchingSkills scheme : AddScheme、GetScheme、 841 * @tc.desc: Verify the function of MatchingSkills scheme : MatchScheme、AddScheme 847 std::string scheme = "schemeMatchSchemeTest"; in HWTEST_F() local 850 matchingSkills.AddScheme(scheme); in HWTEST_F() 851 EXPECT_TRUE(matchingSkills.MatchScheme(scheme)); in HWTEST_F() 860 matchingSkills.RemoveScheme(scheme); in HWTEST_F() 877 std::string scheme = "schemeMatchScheme"; HWTEST_F() local 907 std::string scheme = "MatchScheme"; HWTEST_F() local 936 std::string scheme = "MatchScheme2"; HWTEST_F() local 965 std::string scheme = "MatchScheme5"; HWTEST_F() local [all...] |
/base/web/webview/interfaces/native/ |
H A D | arkweb_scheme_handler.h | 53 * @brief If ARKWEB_SCHEME_OPTION_STANDARD is set the scheme will be handled as a standard scheme. The standard 64 * used to handle the scheme. 72 * @brief If ARKWEB_SCHEME_OPTION_DISPLAY_ISOLATED is set, then the scheme can only be displayed from other content 73 * hosted using the same scheme. 82 * used to handle the scheme. 90 * @brief If ARKWEB_SCHEME_OPTION_CORS_ENABLED is set, then the scheme can be sent CORS requests. In most case this 99 * @brief If ARKWEB_SCHEME_OPTION_CSP_BYPASSING is set, then this scheme can bypass Content Security Policy (CSP) 108 * @brief If ARKWEB_SCHEME_OPTION_FETCH_ENABLED is set, then this scheme can perform FETCH API requests. 116 * @brief If ARKWEB_SCHEME_OPTION_CODE_CACHE_ENABLED is set, then the js of this scheme ca [all...] |
H A D | arkweb_scheme_handler.cpp | 414 int32_t OH_ArkWeb_RegisterCustomSchemes(const char* scheme, int32_t option) in OH_ArkWeb_RegisterCustomSchemes() argument 429 return g_SchemeHandlerApi->impl_OH_ArkWeb_RegisterCustomSchemes(scheme, option); in OH_ArkWeb_RegisterCustomSchemes() 432 bool OH_ArkWeb_SetSchemeHandler(const char* scheme, const char* webTag, ArkWeb_SchemeHandler* schemeHandler) in OH_ArkWeb_SetSchemeHandler() argument 446 return g_SchemeHandlerApi->impl_OH_ArkWeb_SetSchemeHandler(scheme, webTag, schemeHandler); in OH_ArkWeb_SetSchemeHandler() 449 bool OH_ArkWebServiceWorker_SetSchemeHandler(const char* scheme, ArkWeb_SchemeHandler* schemeHandler) in OH_ArkWebServiceWorker_SetSchemeHandler() argument 463 return g_SchemeHandlerApi->impl_OH_ArkWebServiceWorker_SetSchemeHandler(scheme, schemeHandler); in OH_ArkWebServiceWorker_SetSchemeHandler()
|
/base/notification/common_event_service/frameworks/native/test/unittest/ |
H A D | common_event_unsubscribe_test.cpp | 54 void SetMatchingSkillsWithScheme(const std::string &scheme); 141 void CommonEventUnSubscribeTest::SetMatchingSkillsWithScheme(const std::string &scheme) in SetMatchingSkillsWithScheme() argument 143 matchingSkills_.AddScheme(scheme); in SetMatchingSkillsWithScheme()
|
H A D | matching_skills_test.cpp | 115 * Function: scheme 119 * CaseDescription: Verify the function when after add scheme can get scheme 120 * and count scheme is right,has scheme and can success remove scheme 186 * Function: Match scheme 188 * FunctionPoints: Match scheme 190 * CaseDescription: Verify match scheme 197 std::string scheme in HWTEST_F() local [all...] |
/base/telephony/sms_mms/utils/ |
H A D | text_coder.h | 36 int CdmaUtf8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingScheme &scheme); 37 int GsmUtf8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingScheme &scheme,
|
H A D | text_coder.cpp | 297 DataCodingScheme &scheme, SmsCodingNationalType codingNationalType, MSG_LANGUAGE_ID_T &langId) in GsmUtf8ToAuto() 317 scheme = DATA_CODING_8BIT; in GsmUtf8ToAuto() 328 scheme = DATA_CODING_UCS2; in GsmUtf8ToAuto() 339 scheme = DATA_CODING_7BIT; in GsmUtf8ToAuto() 343 int TextCoder::CdmaUtf8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingScheme &scheme) in CdmaUtf8ToAuto() argument 363 scheme = DATA_CODING_8BIT; in CdmaUtf8ToAuto() 373 scheme = DATA_CODING_UCS2; in CdmaUtf8ToAuto() 383 scheme = DATA_CODING_ASCII7BIT; in CdmaUtf8ToAuto() 296 GsmUtf8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingScheme &scheme, SmsCodingNationalType codingNationalType, MSG_LANGUAGE_ID_T &langId) GsmUtf8ToAuto() argument
|
/base/telephony/sms_mms/services/sms/gsm/ |
H A D | gsm_user_data_pdu.cpp | 32 SmsWriteBuffer &buffer, const struct SmsUDPackage *(&userData), DataCodingScheme scheme, std::string &destAddr) in EncodeUserDataPdu() 45 switch (scheme) { in EncodeUserDataPdu() 63 SmsReadBuffer &buffer, bool bHeaderInd, DataCodingScheme scheme, struct SmsUDPackage *userData) in DecodeUserDataPdu() 82 switch (scheme) { in DecodeUserDataPdu() 99 bool GsmUserDataPdu::DecodeUserDataPdu(SmsReadBuffer &buffer, bool bHeaderInd, DataCodingScheme scheme, in DecodeUserDataPdu() argument 119 switch (scheme) { in DecodeUserDataPdu() 31 EncodeUserDataPdu( SmsWriteBuffer &buffer, const struct SmsUDPackage *(&userData), DataCodingScheme scheme, std::string &destAddr) EncodeUserDataPdu() argument 62 DecodeUserDataPdu( SmsReadBuffer &buffer, bool bHeaderInd, DataCodingScheme scheme, struct SmsUDPackage *userData) DecodeUserDataPdu() argument
|
/base/notification/common_event_service/services/src/ |
H A D | common_event_subscriber_manager.cpp | 203 std::string scheme = format + "\tScheme: "; in DumpDetailed() local 211 scheme = scheme + separator + record->eventSubscribeInfo->GetMatchingSkills().GetScheme(schemeNum); in DumpDetailed() 213 scheme = scheme + "\n"; in DumpDetailed() 215 std::string matchingSkills = format + "MatchingSkills:\n" + events + entities + scheme; in DumpDetailed()
|
H A D | common_event_sticky_manager.cpp | 152 std::string scheme = "\t\tScheme: " + record->commonEventData->GetWant().GetScheme() + "\n"; in DumpState() local 161 std::string want = "\tWant:\n" + action + entities + scheme + uri + flags + type + bundle + ability + deviced; in DumpState()
|
H A D | common_event_control_manager.cpp | 1068 std::string scheme = "\t\tScheme: " + record->commonEventData->GetWant().GetScheme() + "\n"; in DumpStateByCommonEventRecord() local 1076 std::string want = "\tWant:\n" + action + entities + scheme + uri + flags + type + bundle + ability + deviced; in DumpStateByCommonEventRecord() 1182 std::string scheme = "\t\tScheme: " + record.want.GetScheme() + "\n"; in DumpHistoryStateByCommonEventRecord() local 1190 std::string want = "\tWant:\n" + action + entities + scheme + uri + flags + type + bundle + ability + deviced; in DumpHistoryStateByCommonEventRecord()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | napi_webview_controller.cpp | 4127 WVLOG_E("Invalid scheme name length"); in CheckSchemeName() 4141 void SetCustomizeSchemeOption(Scheme& scheme) in SetCustomizeSchemeOption() argument 4144 {0, [](const Scheme& scheme) { return scheme.isStandard; }}, in SetCustomizeSchemeOption() 4145 {1, [](const Scheme& scheme) { return scheme.isLocal; }}, in SetCustomizeSchemeOption() 4146 {2, [](const Scheme& scheme) { return scheme.isDisplayIsolated; }}, in SetCustomizeSchemeOption() 4147 {3, [](const Scheme& scheme) { return scheme in SetCustomizeSchemeOption() 4161 SetCustomizeScheme(napi_env env, napi_value obj, Scheme& scheme) SetCustomizeScheme() argument 4213 Scheme scheme; CustomizeSchemesArrayDataHandler() local 5307 std::string scheme = ""; SetWebSchemeHandler() local 5355 std::string scheme = ""; SetServiceWorkerWebSchemeHandler() local [all...] |
H A D | webview_controller.h | 303 bool SetWebSchemeHandler(const char* scheme, WebSchemeHandler* handler) const; 308 const char* scheme, WebSchemeHandler* handler);
|
H A D | webview_controller.cpp | 1504 bool WebviewController::SetWebSchemeHandler(const char* scheme, WebSchemeHandler* handler) const in SetWebSchemeHandler() argument 1506 if (!handler || !scheme) { in SetWebSchemeHandler() 1507 WVLOG_E("WebviewController::SetWebSchemeHandler handler or scheme is nullptr"); in SetWebSchemeHandler() 1512 return OH_ArkWeb_SetSchemeHandler(scheme, webTag_.c_str(), schemeHandler); in SetWebSchemeHandler() 1521 const char* scheme, WebSchemeHandler* handler) in SetWebServiveWorkerSchemeHandler() 1525 return OH_ArkWebServiceWorker_SetSchemeHandler(scheme, schemeHandler); in SetWebServiveWorkerSchemeHandler() 1520 SetWebServiveWorkerSchemeHandler( const char* scheme, WebSchemeHandler* handler) SetWebServiveWorkerSchemeHandler() argument
|
/base/telephony/sms_mms/frameworks/js/napi/include/ |
H A D | napi_sms.h | 198 ISmsServiceInterface::SmsSegmentsInfo::SmsSegmentCodeScheme scheme; member
|
/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/ |
H A D | common_event_services_system_test.cpp | 755 * @tc.desc: Verify the function when set scheme 761 std::string scheme = "SETSCHEME"; in HWTEST_F() local 793 * @tc.desc: Verify the function when set scheme and add entity 799 std::string scheme = "SETSCHEME"; in HWTEST_F() local 969 * @tc.desc: Verify set scheme with sticky is true 974 std::string scheme = "SETSCHEME"; in HWTEST_F() local 996 * @tc.desc: Verify set scheme with sticky is false 1002 std::string scheme = "SETSCHEME"; in HWTEST_F() local 1037 * @tc.desc: Verify set scheme and add entity with sticky is true 1043 std::string scheme in HWTEST_F() local 1073 std::string scheme = "SETSCHEME"; HWTEST_F() local 1250 std::string scheme = "SETSCHEME"; HWTEST_F() local 1278 std::string scheme = "SETSCHEME"; HWTEST_F() local 1319 std::string scheme = "SETSCHEME"; HWTEST_F() local 1349 std::string scheme = "SETSCHEME"; HWTEST_F() local [all...] |
/base/print/print_fwk/services/print_service/src/ |
H A D | print_cups_client.cpp | 609 char scheme[HTTP_MAX_URI] = {0}; /* Method portion of URI */ in QueryPrinterAttributesByUri() local 619 httpSeparateURI(HTTP_URI_CODING_ALL, printerUri.c_str(), scheme, sizeof(scheme), username, sizeof(username), host, in QueryPrinterAttributesByUri() 1429 char scheme[32] = {0}; in CheckPrinterOnline() local 1454 httpSeparateURI(HTTP_URI_CODING_ALL, printerUri, scheme, sizeof(scheme), in CheckPrinterOnline()
|
/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/ |
H A D | actsCESManagertest.cpp | 1080 * @tc.desc: Verify the function when set scheme 1087 std::string scheme = "SETSCHEME"; in HWTEST_F() local 1117 * @tc.desc: Verify the function when set scheme and add entity 1124 std::string scheme = "SETSCHEME"; in HWTEST_F() local 1316 * @tc.desc: Verify set scheme with sticky is true 1325 std::string scheme = "SETSCHEME"; in HWTEST_F() local 1356 * @tc.desc: Verify set scheme with sticky is false 1363 std::string scheme = "SETSCHEME"; in HWTEST_F() local 1396 * @tc.desc: VVerify set scheme and add entity with sticky is true 1404 std::string scheme in HWTEST_F() local 1446 std::string scheme = "SETSCHEME"; HWTEST_F() local 1647 std::string scheme = "SETSCHEME"; HWTEST_F() local 1687 std::string scheme = "SETSCHEME"; HWTEST_F() local 1728 std::string scheme = "SETSCHEME"; HWTEST_F() local 1770 std::string scheme = "SETSCHEME"; HWTEST_F() local [all...] |
/base/telephony/sms_mms/frameworks/js/napi/src/ |
H A D | napi_sms.cpp | 1572 context->scheme = info.msgCodeScheme; in NativeGetSmsSegmentsInfo() 1587 NapiUtil::SetPropertyInt32(env, callbackValue, "scheme", static_cast<int32_t>(context->scheme)); in GetSmsSegmentsInfoCallback()
|