Home
last modified time | relevance | path

Searched refs:subType (Results 1 - 25 of 25) sorted by relevance

/drivers/peripheral/pin_auth/test/unittest/pin_auth/database/src/
H A Dpin_db_ops_v1_test.cpp80 pinDbV0->pinIndex[0].pinInfo.subType = 10010; in HWTEST_F()
93 EXPECT_EQ(pinDbV1->pinIndex[0].pinInfo.subType, pinDbV0->pinIndex[0].pinInfo.subType); in HWTEST_F()
118 pinDbV1->pinIndex[0].pinInfo.subType = 10010; in HWTEST_F()
H A Dpin_db_test.cpp58 pinEnrollParam->subType = 10010; in HWTEST_F()
119 pinEnrollParam->subType = 10010; in HWTEST_F()
168 pinEnrollParam->subType = 10010; in HWTEST_F()
211 pinEnrollParam->subType = 10010; in HWTEST_F()
251 pinEnrollParam->subType = 10010; in HWTEST_F()
265 uint64_t subType = 0; in HWTEST_F() local
266 result = GetSubType(INVALID_TEMPLATE_ID, &subType); in HWTEST_F()
269 result = GetSubType(0, &subType); in HWTEST_F()
272 result = GetSubType(templateId, &subType); in HWTEST_F()
291 pinEnrollParam->subType in HWTEST_F()
[all...]
H A Dpin_db_ops_test.cpp73 pinDbV1->pinIndex[0].pinInfo.subType = 10010; in HWTEST_F()
/drivers/peripheral/pin_auth/hdi_service/main/inc/
H A Dpin_auth.h28 uint64_t subType; member
36 uint64_t subType; member
55 int32_t EnrollPin(uint64_t scheduleId, uint64_t subType, std::vector<uint8_t> &salt,
H A Dexecutor_func_common.h61 uint64_t subType; member
69 uint64_t subType; member
H A Dall_in_one_func.h35 uint64_t subType; member
/drivers/peripheral/pin_auth/hdi_service/database/inc/
H A Dpin_db.h35 uint64_t subType; member
51 ResultCode GetSubType(uint64_t templateId, uint64_t *subType);
H A Dpin_db_ops_v1.h33 uint64_t subType; member
H A Dpin_db_ops_v0.h31 uint64_t subType; member
/drivers/peripheral/user_auth/test/unittest/service_test/src/
H A Dsignature_operation.cpp65 /* Tag of auth subType */
159 static Buffer *GetDataTlvContent(uint32_t result, uint64_t scheduleId, uint64_t subType, uint64_t templatedId, in GetDataTlvContent() argument
177 WriteTlv(ATTR_PIN_SUB_TYPE, sizeof(subType), (const uint8_t *)&subType, ret) != RESULT_SUCCESS || in GetDataTlvContent()
201 Buffer *dataContent = GetDataTlvContent(para.result, para.scheduleId, para.subType, para.templateId, in GenerateRetTlv()
H A Duser_auth_interface_service_test.cpp110 para.subType = 10000; in DoOnceEnroll()
137 para.subType = 10000; in DoOnceAuth()
861 para.subType = 10000; in HWTEST_F()
1000 int32_t subType = PinSubType::PIN_SIX; in HWTEST_F() local
1002 EXPECT_EQ(service->GetUserInfo(userId, secureUid, subType, enrolledInfos), 0); in HWTEST_F()
1286 para.subType = 10000; in HWTEST_F()
/drivers/peripheral/user_auth/test/unittest/service_test/inc/
H A Dsignature_operation.h30 uint64_t subType; member
/drivers/peripheral/pin_auth/hdi_service/main/src/
H A Dpin_auth.cpp105 int32_t PinAuth::EnrollPin(uint64_t scheduleId, uint64_t subType, std::vector<uint8_t> &salt, in EnrollPin() argument
116 pinEnrollParam.subType = subType; in EnrollPin()
187 pinAlgoParam.subType = authAlgoParam.subType; in AllInOneAuth()
256 pinCredentialInfoRet.subType = pinCredentialInfosRet.subType; in QueryPinInfo()
421 pinAlgoParam.subType = algoParam.subType; in SendMessageToCollector()
H A Dexecutor_func_common.c332 uint64_t *subType, uint64_t templateId, uint32_t *freezeTime, uint32_t *count) in GetSubTypeAndFreezeTime()
334 ResultCode ret = GetSubType(templateId, subType); in GetSubTypeAndFreezeTime()
361 ResultCode ret = GetSubTypeAndFreezeTime(&(pinCredentialInfo->subType), templateId, in DoQueryPinInfo()
397 int32_t setSubTypeResult = SetAttributeUint64(attribute, ATTR_PIN_SUB_TYPE, pinCredentialInfo.subType); in SetResultDataInfo()
331 GetSubTypeAndFreezeTime( uint64_t *subType, uint64_t templateId, uint32_t *freezeTime, uint32_t *count) GetSubTypeAndFreezeTime() argument
H A Dverifier_func.c186 uint64_t subType = 0; in SetVerifyAckDataPinParam() local
187 if (GetSubType(g_verifierSchedule->templateId, &subType) != RESULT_SUCCESS) { in SetVerifyAckDataPinParam()
191 if (SetAttributeUint64(attribute, ATTR_PIN_SUB_TYPE, subType) != RESULT_SUCCESS) { in SetVerifyAckDataPinParam()
H A Dall_in_one_func.c87 ResultCode result = GetSubType(templateId, &(algoParam->subType)); in DoAllInOneAuth()
H A Dcollector_func.c234 int32_t result = GetAttributeUint64(data, ATTR_PIN_SUB_TYPE, &(algoParam->subType)); in GetAlgoParam()
/drivers/peripheral/pin_auth/test/unittest/pin_auth/main/src/
H A Dpin_auth_test.cpp286 EXPECT_EQ(pinCredentialInfo.subType, 10010); in HWTEST_F()
332 EXPECT_EQ(pinCredentialInfo.subType, 10010); in HWTEST_F()
359 EXPECT_EQ(pinCredentialInfo.subType, 10010); in HWTEST_F()
386 EXPECT_EQ(pinCredentialInfo.subType, 10010); in HWTEST_F()
413 EXPECT_EQ(pinCredentialInfo.subType, 10010); in HWTEST_F()
440 EXPECT_EQ(pinCredentialInfo.subType, 10010); in HWTEST_F()
H A Dall_in_one_func_test.cpp57 pinEnrollParam->subType = 10010; in HWTEST_F()
/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c288 static void InitPinInfo(PinInfoV1 *pinInfo, uint64_t templateId, uint64_t subType) in InitPinInfo() argument
291 pinInfo->subType = subType; in InitPinInfo()
301 static void InitPinIndex(PinIndexV1 *pinIndex, uint64_t templateId, uint64_t subType) in InitPinIndex() argument
303 InitPinInfo(&(pinIndex->pinInfo), templateId, subType); in InitPinIndex()
307 static ResultCode AddPinInDb(uint64_t templateId, uint64_t subType) in AddPinInDb() argument
329 InitPinIndex(&pinIndex[g_pinDbOp->pinIndexLen], templateId, subType); in AddPinInDb()
578 ret = AddPinInDb(*templateId, pinEnrollParam->subType); in ProcessAddPin()
708 ResultCode GetSubType(uint64_t templateId, uint64_t *subType) in GetSubType() argument
724 *subType in GetSubType()
[all...]
H A Dpin_db_ops_v1.c60 pinDbV1->pinIndex[i].pinInfo.subType = pinDbV0->pinIndex[i].pinInfo.subType; in UpdatePinDbFrom0To1()
/drivers/peripheral/user_auth/test/unittest/co_auth/
H A Dexecutor_message_test.cpp299 constexpr uint64_t subType = 0; in HWTEST_F() local
300 result = SetAttributeUint64(attribute, ATTR_PIN_SUB_TYPE, subType); in HWTEST_F()
345 constexpr uint64_t subType = 0; in HWTEST_F() local
346 result = SetAttributeUint64(attribute, ATTR_PIN_SUB_TYPE, subType); in HWTEST_F()
/drivers/peripheral/pin_auth/hdi_service/service/src/
H A Dcollector_impl.cpp143 if (callback_->OnGetData(pinAlgoParam.algoParameter, pinAlgoParam.subType, pinAlgoParam.algoVersion, in SendMessage()
H A Dall_in_one_impl.cpp223 result = callbackObj->OnGetData(pinAlgoParam.algoParameter, pinAlgoParam.subType, pinAlgoParam.algoVersion, in Authenticate()
346 property.authSubType = infoRet.subType; in GetProperty()
/drivers/peripheral/user_auth/test/unittest/database/
H A Didm_database_test.cpp652 uint64_t subType = pinSubType; in HWTEST_F() local
653 EXPECT_EQ(GetPinSubType(userId, &subType), RESULT_NOT_FOUND); in HWTEST_F()

Completed in 16 milliseconds