Home
last modified time | relevance | path

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

/base/security/device_auth/common_lib/impl/src/
H A Dhc_tlv_parser.c51 int32_t ParseTlvNode(TlvBase *tlv, HcParcel *parcel, HcBool strict) in ParseTlvNode() argument
60 int ret = tlv->parse(tlv, parcel, strict); in ParseTlvNode()
193 int32_t ParseTlvStruct(TlvBase *tlv, HcParcel *parcel, HcBool strict) in ParseTlvStruct() argument
203 if (strict) { in ParseTlvStruct()
216 int32_t childLength = ParseTlvNode(tlvChild, parcel, strict); in ParseTlvStruct()
232 if (strict && CheckStructNodeAllHasValue(tlv) != 0) { in ParseTlvStruct()
297 HcBool DecodeTlvMessage(TlvBase *msg, HcParcel *parcel, HcBool strict) in DecodeTlvMessage() argument
302 int32_t msgLen = ParseTlvNode(msg, parcel, strict); in DecodeTlvMessage()
332 int32_t ParseTlvBuffer(TlvBase *tlv, HcParcel *parcel, HcBool strict) in ParseTlvBuffer() argument
334 (void)strict; in ParseTlvBuffer()
380 ParseTlvString(TlvBase *tlv, HcParcel *parcel, HcBool strict) ParseTlvString() argument
[all...]
/base/security/device_auth/common_lib/interfaces/
H A Dhc_tlv_parser.h93 int32_t ParseTlv##TlvName(TlvBase *tlv, HcParcel *parcel, HcBool strict) \
95 (void)strict; \
166 int32_t ParseTlvNode(TlvBase *tlv, HcParcel *parcel, HcBool strict);
170 int32_t ParseTlvStruct(TlvBase *tlv, HcParcel *parcel, HcBool strict);
175 HcBool DecodeTlvMessage(TlvBase *msg, HcParcel *parcel, HcBool strict);
184 int32_t ParseTlvBuffer(TlvBase *tlv, HcParcel *parcel, HcBool strict);
195 int32_t ParseTlvString(TlvBase *tlv, HcParcel *parcel, HcBool strict);
223 int32_t ParseTlv##TlvVecName(TlvBase *tlv, HcParcel *parcel, HcBool strict) \
240 int32_t elementLen = ParseTlvNode((TlvBase *)curElement, parcel, strict); \
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_config_file_parser.cpp58 return iter.strict; in GetActionStrict()
234 xmlChar* strict = xmlGetProp(curNode, BAD_CAST("strict")); in ParseActionNode() local
235 if (strict != nullptr) { in ParseActionNode()
236 std::string strictValue = reinterpret_cast<char*>(strict); in ParseActionNode()
237 ai.strict = (TrimStr(strictValue) == TRUE_STR); in ParseActionNode()
238 xmlFree(strict); in ParseActionNode()
247 "ai.name: %{public}s, ai.strict: %{public}d, ai.params: %{public}s, ai.strict: %{public}s, " \ in ParseActionNode()
249 ai.name.c_str(), ai.strict, a in ParseActionNode()
[all...]
H A Dthermal_action_report_test.cpp131 bool strict = g_configParser->GetActionStrict(actionName); in ActionValueDecision() local
135 if (strict) { in ActionValueDecision()
170 bool strict = g_configParser->GetActionStrict(actionName); in LcdValueDecision() local
174 if (strict) { in LcdValueDecision()
/base/powermgr/thermal_manager/services/native/include/thermal_action/
H A Dthermal_action_manager.h34 bool strict = false; member
/base/powermgr/thermal_manager/services/native/src/thermal_action/
H A Dthermal_action_manager.cpp47 thermalAction->SetStrict(item->strict); in Init()
135 result.append("strict: "); in DumpAction()
136 result.append(std::to_string(iter->strict)); in DumpAction()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_srv_config_parser.cpp547 xmlChar* strict = xmlGetProp(cur, BAD_CAST("strict")); in ParseActionInfo() local
548 if (strict != nullptr) { in ParseActionInfo()
549 ai.strict = (TrimStr(reinterpret_cast<char*>(strict)) == TRUE_STR); in ParseActionInfo()
550 xmlFree(strict); in ParseActionInfo()
558 "ai.name: %{public}s, ai.strict: %{public}d, ai.params: %{public}s, ai.uid: %{public}s," \ in ParseActionInfo()
559 "ai.strict: %{public}s, ai.enableEvent: %{public}d", in ParseActionInfo()
560 ai.name.c_str(), ai.strict, ai.params.c_str(), ai.uid.c_str(), ai.protocol.c_str(), ai.enableEvent); in ParseActionInfo()

Completed in 6 milliseconds