Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 19 of 19) sorted by relevance

/base/notification/common_event_service/interfaces/inner_api/
Dmatching_skills.h132 void AddScheme(const std::string &scheme);
140 bool HasScheme(const std::string &scheme) const;
147 void RemoveScheme(const std::string &scheme);
213 bool MatchScheme(const std::string &scheme) const;
/base/notification/common_event_service/frameworks/native/src/
Dmatching_skills.cpp119 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()
297 bool MatchingSkills::MatchScheme(const std::string &scheme) const in MatchScheme()
300 return HasScheme(scheme); in MatchScheme()
303 if (scheme == std::string()) { in MatchScheme()
/base/notification/common_event_service/test/systemtest/common/acts/actsCESMatchingSkillsTest/
DactsCESMatchingSkillsTest.cpp847 std::string scheme = "schemeMatchSchemeTest"; variable
850 matchingSkills.AddScheme(scheme);
851 EXPECT_TRUE(matchingSkills.MatchScheme(scheme));
860 matchingSkills.RemoveScheme(scheme);
877 std::string scheme = "schemeMatchScheme"; variable
880 matchingSkills.AddScheme(scheme);
881 EXPECT_TRUE(matchingSkills.MatchScheme(scheme));
890 matchingSkills.RemoveScheme(scheme);
907 std::string scheme = "MatchScheme"; variable
909 matchingSkills.AddScheme(scheme);
[all …]
/base/useriam/user_auth_framework/
DREADME.md48 1. Authentication scheme: Determine the user authentication scheme based on the user credentials en…
51 …ry must be implemented in a TEE, and the security of user authentication scheme and result evaluat…
/base/notification/common_event_service/frameworks/native/test/unittest/
Dcommon_event_unsubscribe_test.cpp53 void SetMatchingSkillsWithScheme(const std::string &scheme);
140 void CommonEventUnSubscribeTest::SetMatchingSkillsWithScheme(const std::string &scheme) in SetMatchingSkillsWithScheme() argument
142 matchingSkills_.AddScheme(scheme); in SetMatchingSkillsWithScheme()
Dmatching_skills_test.cpp197 std::string scheme = "action.system.event"; variable
198 matchSkills.AddScheme(scheme);
199 EXPECT_EQ(true, matchSkills.MatchScheme(scheme));
/base/telephony/sms_mms/utils/
Dtext_coder.h36 …8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingScheme &scheme);
37 …8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingScheme &scheme);
Dtext_coder.cpp297 …f8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingScheme &scheme) in GsmUtf8ToAuto() argument
317 scheme = DATA_CODING_8BIT; in GsmUtf8ToAuto()
327 scheme = DATA_CODING_UCS2; in GsmUtf8ToAuto()
337 scheme = DATA_CODING_7BIT; in GsmUtf8ToAuto()
341 …f8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingScheme &scheme) in CdmaUtf8ToAuto() argument
361 scheme = DATA_CODING_8BIT; in CdmaUtf8ToAuto()
371 scheme = DATA_CODING_UCS2; in CdmaUtf8ToAuto()
381 scheme = DATA_CODING_ASCII7BIT; in CdmaUtf8ToAuto()
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_user_data_pdu.cpp32 SmsWriteBuffer &buffer, const struct SmsUDPackage *(&userData), DataCodingScheme scheme) in EncodeUserDataPdu() argument
45 switch (scheme) { in EncodeUserDataPdu()
63 SmsReadBuffer &buffer, bool bHeaderInd, DataCodingScheme scheme, struct SmsUDPackage *userData) in DecodeUserDataPdu() argument
82 switch (scheme) { in DecodeUserDataPdu()
99 … GsmUserDataPdu::DecodeUserDataPdu(SmsReadBuffer &buffer, bool bHeaderInd, DataCodingScheme scheme, in DecodeUserDataPdu() argument
119 switch (scheme) { in DecodeUserDataPdu()
/base/notification/common_event_service/services/src/
Dcommon_event_subscriber_manager.cpp183 std::string scheme = format + "\tScheme: "; in DumpDetailed() local
191scheme = scheme + separator + record->eventSubscribeInfo->GetMatchingSkills().GetScheme(schemeNum); in DumpDetailed()
193 scheme = scheme + "\n"; in DumpDetailed()
195 std::string matchingSkills = format + "MatchingSkills:\n" + events + entities + scheme; in DumpDetailed()
Dcommon_event_sticky_manager.cpp152 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 + abilit… in DumpState()
Dcommon_event_control_manager.cpp1016 std::string scheme = "\t\tScheme: " + record->commonEventData->GetWant().GetScheme() + "\n"; in DumpStateByCommonEventRecord() local
1024 …std::string want = "\tWant:\n" + action + entities + scheme + uri + flags + type + bundle + abilit… in DumpStateByCommonEventRecord()
1130 std::string scheme = "\t\tScheme: " + record.want.GetScheme() + "\n"; in DumpHistoryStateByCommonEventRecord() local
1138 …std::string want = "\tWant:\n" + action + entities + scheme + uri + flags + type + bundle + abilit… in DumpHistoryStateByCommonEventRecord()
/base/print/print_fwk/services/src/
Dprint_cups_client.cpp176 char scheme[HTTP_MAX_URI]; /* Method portion of URI */ in QueryPrinterCapabilityByUri() local
186 …httpSeparateURI(HTTP_URI_CODING_ALL, printerUri.c_str(), scheme, sizeof(scheme), username, sizeof(… in QueryPrinterCapabilityByUri()
552 char scheme[32]; in CheckPrinterOnline() local
557 …httpSeparateURI(HTTP_URI_CODING_ALL, printerUri, scheme, sizeof(scheme), userpass, sizeof(userpass… in CheckPrinterOnline()
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_sms.h198 ISmsServiceInterface::SmsSegmentsInfo::SmsSegmentCodeScheme scheme; member
/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/
Dcommon_event_services_system_test.cpp756 std::string scheme = "SETSCHEME"; variable
794 std::string scheme = "SETSCHEME"; variable
969 std::string scheme = "SETSCHEME"; variable
997 std::string scheme = "SETSCHEME"; variable
1038 std::string scheme = "SETSCHEME"; variable
1068 std::string scheme = "SETSCHEME"; variable
1245 std::string scheme = "SETSCHEME"; variable
1273 std::string scheme = "SETSCHEME"; variable
1314 std::string scheme = "SETSCHEME"; variable
1344 std::string scheme = "SETSCHEME"; variable
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts2948 scheme: SmsEncodingScheme; property
/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/
DactsCESManagertest.cpp1087 std::string scheme = "SETSCHEME"; variable
1124 std::string scheme = "SETSCHEME"; variable
1325 std::string scheme = "SETSCHEME"; variable
1363 std::string scheme = "SETSCHEME"; variable
1404 std::string scheme = "SETSCHEME"; variable
1446 std::string scheme = "SETSCHEME"; variable
1647 std::string scheme = "SETSCHEME"; variable
1687 std::string scheme = "SETSCHEME"; variable
1728 std::string scheme = "SETSCHEME"; variable
1770 std::string scheme = "SETSCHEME"; variable
/base/powermgr/thermal_manager/
DREADME.md110 …e of the action, param indicates the action parameter, and strict indicates the arbitration scheme.
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_sms.cpp1489 context->scheme = info.msgCodeScheme; in NativeGetSmsSegmentsInfo()
1504 … NapiUtil::SetPropertyInt32(env, callbackValue, "scheme", static_cast<int32_t>(context->scheme)); in GetSmsSegmentsInfoCallback()