Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 11 of 11) sorted by relevance

/drivers/peripheral/user_auth/test/unittest/database/
Didm_database_test.cpp41 …extern bool IsCredMatch(const CredentialCondition *limit, const CredentialInfoHal *credentialInfo);
42 extern bool IsUserMatch(const CredentialCondition *limit, const UserInfo *user);
43 …extern ResultCode TraverseCredentialList(const CredentialCondition *limit, const LinkedList *crede…
409 CredentialCondition limit = {}; variable
410 SetCredentialConditionTemplateId(&limit, 10);
411 EXPECT_FALSE(IsCredMatch(&limit, &credInfo));
418 CredentialCondition limit = {}; variable
419 SetCredentialConditionExecutorSensorHint(&limit, 0);
420 EXPECT_TRUE(IsCredMatch(&limit, &credInfo));
421 SetCredentialConditionExecutorSensorHint(&limit, 10);
[all …]
/drivers/peripheral/user_auth/hdi_service/database/src/
Didm_database.c645 IAM_STATIC bool IsCredMatch(const CredentialCondition *limit, const CredentialInfoHal *credentialIn… in IsCredMatch() argument
647 if ((limit->conditionFactor & CREDENTIAL_CONDITION_CREDENTIAL_ID) != 0 && in IsCredMatch()
648 limit->credentialId != credentialInfo->credentialId) { in IsCredMatch()
651 …if ((limit->conditionFactor & CREDENTIAL_CONDITION_AUTH_TYPE) != 0 && limit->authType != credentia… in IsCredMatch()
654 if ((limit->conditionFactor & CREDENTIAL_CONDITION_TEMPLATE_ID) != 0 && in IsCredMatch()
655 limit->templateId != credentialInfo->templateId) { in IsCredMatch()
658 if ((limit->conditionFactor & CREDENTIAL_CONDITION_SENSOR_HINT) != 0 && in IsCredMatch()
659 limit->executorSensorHint != INVALID_SENSOR_HINT && in IsCredMatch()
660 limit->executorSensorHint != credentialInfo->executorSensorHint) { in IsCredMatch()
663 if ((limit->conditionFactor & CREDENTIAL_CONDITION_EXECUTOR_MATCHER) != 0 && in IsCredMatch()
[all …]
/drivers/hdf_core/framework/tools/hdi-gen/util/
Dstring_helper.cpp17 std::vector<std::string> StringHelper::Split(std::string sources, const std::string &limit) in Split() argument
24 if (limit.empty()) { in Split()
30 size_t pos = sources.find(limit, begin); in Split()
36 begin = pos + limit.size(); in Split()
37 pos = sources.find(limit, begin); in Split()
Dstring_helper.h20 static std::vector<std::string> Split(std::string sources, const std::string &limit);
/drivers/hdf_core/adapter/uhdf2/hdi/test/smq_test/
Dsmq_test.cpp48 static std::vector<std::string> Split(const std::string &src, const std::string &limit) in Split() argument
55 if (limit.empty()) { in Split()
61 size_t pos = src.find(limit, begin); in Split()
67 begin = pos + limit.size(); in Split()
68 pos = src.find(limit, begin); in Split()
/drivers/peripheral/user_auth/hdi_service/database/inc/
Didm_database.h58 LinkedList *QueryCredentialLimit(const CredentialCondition *limit);
/drivers/interface/battery/v1_1/
DTypes.idl142 * @brief Defines the battery charging limit type.
155 * @brief Defines the limit on the battery charging current or voltage.
DIBatteryInterface.idl233 * @brief Sets a limit on the battery charging current or voltage.
/drivers/interface/battery/v1_2/
DTypes.idl142 * @brief Defines the battery charging limit type.
155 * @brief Defines the limit on the battery charging current or voltage.
DIBatteryInterface.idl233 * @brief Sets a limit on the battery charging current or voltage.
/drivers/interface/distributed_camera/v1_0/
DDCameraTypes.idl87 * The number of distributed camera devices enabled exceeds the limit.