Searched refs:inJson (Results 1 – 2 of 2) sorted by relevance
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | iso_auth_task_test.cpp | 75 CJson *inJson = CreateJson(); variable 76 EXPECT_NE(inJson, nullptr); 77 (void)AddIntToJson(inJson, FIELD_AUTH_FORM, AUTH_FORM_IDENTICAL_ACCOUNT); 82 task = CreateIsoAuthClientTask(inJson, outJson, &info); 85 (void)AddIntToJson(inJson, FIELD_CREDENTIAL_TYPE, SYMMETRIC_CRED); 87 task = CreateIsoAuthClientTask(inJson, outJson, &info); 90 (void)AddIntToJson(inJson, FIELD_LOCAL_DEVICE_TYPE, DEVICE_TYPE_CONTROLLER); 92 task = CreateIsoAuthClientTask(inJson, outJson, &info); 95 (void)AddStringToJson(inJson, FIELD_SELF_USER_ID, TEST_USER_ID.c_str()); 97 task = CreateIsoAuthClientTask(inJson, outJson, &info); [all …]
|
/base/security/device_auth/services/key_agree_sdk/src/ |
D | key_agree_sdk.c | 89 CJson *inJson = CreateJsonFromString((const char *)(in->data)); in IsErrorMessage() local 90 if (inJson == NULL) { in IsErrorMessage() 94 if (GetIntFromJson(inJson, FIELD_SDK_ERROR_CODE, &errorCode) != HC_SUCCESS) { in IsErrorMessage() 96 FreeJson(inJson); in IsErrorMessage() 99 FreeJson(inJson); in IsErrorMessage()
|