Home
last modified time | relevance | path

Searched refs:strict (Results 1 – 13 of 13) sorted by relevance

/base/security/device_auth/common_lib/impl/src/
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()
[all …]
/base/powermgr/thermal_manager/services/native/src/thermal_action/
Dthermal_action_manager.cpp46 InsertActionMap(combinedActionName, iter, item->strict, item->enableEvent); in Init()
49 InsertActionMap(item->name, item->protocol, item->strict, item->enableEvent); in Init()
63 …onManager::InsertActionMap(const std::string& actionName, const std::string& protocol, bool strict, in InsertActionMap() argument
72 thermalAction->SetStrict(strict); in InsertActionMap()
152 result.append(std::to_string(iter->strict)); in DumpAction()
/base/security/device_auth/common_lib/interfaces/
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/services/native/include/thermal_action/
Dthermal_action_manager.h34 bool strict = false; member
65 …void InsertActionMap(const std::string& actionName, const std::string& protocol, bool strict, bool…
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_config_file_parser.cpp56 return iter.strict; in GetActionStrict()
220 xmlChar* strict = xmlGetProp(curNode, BAD_CAST("strict")); in ParseActionNode() local
221 if (strict != nullptr) { in ParseActionNode()
222 std::string strictValue = reinterpret_cast<char*>(strict); in ParseActionNode()
223 ai.strict = (TrimStr(strictValue) == TRUE_STR); in ParseActionNode()
224 xmlFree(strict); in ParseActionNode()
235 ai.name.c_str(), ai.strict, ai.params.c_str(), ai.protocol.c_str(), ai.enableEvent); in ParseActionNode()
Dthermal_action_report_test.cpp119 bool strict = g_configParser->GetActionStrict(actionName); in ActionValueDecision() local
123 if (strict) { in ActionValueDecision()
159 bool strict = g_configParser->GetActionStrict(actionName); in LcdValueDecision() local
163 if (strict) { in LcdValueDecision()
/base/powermgr/thermal_manager/
DREADME_zh.md74 <item name="thermal_level" strict="1"/>
109 ├── action # action目录,配置动作,name为加载动作名称,param为加载参数,strict为仲裁方案
DREADME.md75 <item name="thermal_level" strict="1"/>
110 …icates the name of the action, param indicates the action parameter, and strict indicates the arbi…
/base/powermgr/battery_manager/test/benchmarktest/
DBUILD.gn32 "-fno-strict-aliasing",
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_srv_config_parser.cpp470 xmlChar* strict = xmlGetProp(cur, BAD_CAST("strict")); in ParseActionInfo() local
471 if (strict != nullptr) { in ParseActionInfo()
472 ai.strict = (TrimStr(reinterpret_cast<char*>(strict)) == TRUE_STR); in ParseActionInfo()
473 xmlFree(strict); in ParseActionInfo()
483 …ai.name.c_str(), ai.strict, ai.params.c_str(), ai.uid.c_str(), ai.protocol.c_str(), ai.enableEvent… in ParseActionInfo()
/base/hiviewdfx/hiview/
DCMakeLists.txt38 -fno-strict-aliasing
/base/hiviewdfx/hilog_lite/frameworks/featured/
DBUILD.gn38 "-fno-strict-aliasing",
/base/security/device_security_level/oem_property/ohos/standard/
Ddslm_cred_tool.py427 if input_args.strict:
431 if input_args.strict: