Home
last modified time | relevance | path

Searched refs:versionId (Results 1 – 17 of 17) sorted by relevance

/test/xts/tools/others/query/src/
DQueryMainStandard.cpp99 const char *versionId = GetVersionId(); in main() local
100 if (versionId != nullptr) { in main()
101 printf("VersionID = %s\n", versionId); in main()
/test/xts/tools/lite/others/query/src/
DQueryMainSmall.cpp96 const char *versionId = GetVersionId(); in main() local
97 if (versionId != nullptr) { in main()
98 printf("VersionID = %s\n", versionId); in main()
/test/xts/device_attest_lite/services/core/dfx/
Dattest_dfx.c132 if (productInfo->versionId == NULL) { in PrintDeviceProductInfo()
135 ATTEST_LOG_INFO_ANONY("versionId = %s;", productInfo->versionId); in PrintDeviceProductInfo()
198 if (authStatus->versionId == NULL) { in PrintAuthStatus()
201 ATTEST_LOG_INFO("versionId = %s;", authStatus->versionId); in PrintAuthStatus()
/test/xts/device_attest/services/core/dfx/
Dattest_dfx.c132 if (productInfo->versionId == NULL) { in PrintDeviceProductInfo()
135 ATTEST_LOG_INFO_ANONY("versionId = %s;", productInfo->versionId); in PrintDeviceProductInfo()
198 if (authStatus->versionId == NULL) { in PrintAuthStatus()
201 ATTEST_LOG_INFO("versionId = %s;", authStatus->versionId); in PrintAuthStatus()
/test/xts/device_attest_lite/services/core/include/
Dattest_type.h90 char* versionId; member
142 char *versionId; member
/test/xts/device_attest/services/core/include/
Dattest_type.h103 char* versionId; member
155 char *versionId; member
/test/xts/device_attest/services/core/attest/
Dattest_service_auth.c312 authStatus->versionId = ATTEST_MEM_MALLOC(len + 1); in ParseVersionId()
313 if (authStatus->versionId == NULL) { in ParseVersionId()
317 if (memcpy_s(authStatus->versionId, len + 1, temp, len) != 0) { in ParseVersionId()
318 ATTEST_MEM_FREE(authStatus->versionId); in ParseVersionId()
493 if ((authStatus == NULL) || (authStatus->versionId == NULL)) { in CheckVersionChanged()
503 int32_t ret = strcmp(versionIdFromOs, authStatus->versionId); in CheckVersionChanged()
599 authStatus->versionId = NULL; in CreateAuthStatus()
628 ATTEST_MEM_FREE(authStatus->versionId); in DestroyAuthStatus()
676 productInfo->versionId = StrdupDevInfo(VERSION_ID); in PackProductInfo()
Dattest_service_challenge.c60 devicePacket->productInfo.versionId = StrdupDevInfo(VERSION_ID); in GenChallengeMsg()
/test/xts/device_attest_lite/services/core/attest/
Dattest_service_auth.c332 authStatus->versionId = ATTEST_MEM_MALLOC(len + 1); in ParseVersionId()
333 if (authStatus->versionId == NULL) { in ParseVersionId()
337 if (memcpy_s(authStatus->versionId, len + 1, temp, len) != 0) { in ParseVersionId()
338 ATTEST_MEM_FREE(authStatus->versionId); in ParseVersionId()
513 if ((authStatus == NULL) || (authStatus->versionId == NULL)) { in CheckVersionChanged()
523 int32_t ret = strcmp(versionIdFromOs, authStatus->versionId); in CheckVersionChanged()
619 authStatus->versionId = NULL; in CreateAuthStatus()
648 ATTEST_MEM_FREE(authStatus->versionId); in DestroyAuthStatus()
696 productInfo->versionId = StrdupDevInfo(VERSION_ID); in PackProductInfo()
Dattest_service_challenge.c60 devicePacket->productInfo.versionId = StrdupDevInfo(VERSION_ID); in GenChallengeMsg()
/test/xts/device_attest_lite/test/tdd/gtest/
Dattest_tdd_test.cpp225 if (authStatus->versionId != NULL) { in FreeAuthStatus()
226 free(authStatus->versionId); in FreeAuthStatus()
341 …EXPECT_TRUE((outStatus->versionId != nullptr) && (outStatus->authType != nullptr) && (detail != nu…
342 …if ((outStatus->versionId == nullptr) || (outStatus->authType == nullptr) || (detail == nullptr)) {
/test/xts/tools/lite/hctest/src/
Dhctest.c293 const char *versionId = GetVersionId(); in ObtainSystemParams() local
294 if (versionId != NULL) { in ObtainSystemParams()
295 printf("VersionID = %s\n", versionId); in ObtainSystemParams()
/test/xts/device_attest/services/devattest_ability/test/tdd/gtest/src/
Dattest_tdd_test.cpp163 …EXPECT_TRUE((outStatus->versionId != nullptr) && (outStatus->authType != nullptr) && (detail != nu…
164 …if ((outStatus->versionId == nullptr) || (outStatus->authType == nullptr) || (detail == nullptr)) {
171 EXPECT_STREQ(outStatus->versionId, ATTEST_VERSION_ID);
/test/xts/device_attest/services/core/network/
Dattest_network.c92 devicePacket->productInfo.versionId = NULL; in CreateDevicePacket()
119 ATTEST_MEM_FREE(devicePacket->productInfo.versionId); in DestroyDevicePacket()
580 if (cJSON_AddStringToObject(software, "versionId", postValue->productInfo.versionId) == NULL || in BuildSoftware()
/test/xts/acts/startup/startup_standard/deviceinfo/src/main/js/test/
DDeviceInfoJsUnit.test.js701 let versionIdInfo = deviceinfo.versionId;
1131 let versionIdInfo = deviceinfo.versionId;
1513 let versionIdInfo = deviceinfo.versionId;
/test/xts/device_attest_lite/services/core/network/
Dattest_network.c95 devicePacket->productInfo.versionId = NULL; in CreateDevicePacket()
121 ATTEST_MEM_FREE(devicePacket->productInfo.versionId); in DestroyDevicePacket()
416 if (cJSON_AddStringToObject(software, "versionId", postValue->productInfo.versionId) == NULL || in BuildCoapAuthBodySoftware()
/test/xts/acts/startup/startup_standard/init_ndkTest/entry/src/main/ets/test/
DinitNdk.test.ets819 console.info('the value of the deviceinfo versionId is :' + versionIdInfo);
845 console.info('the value of the deviceinfo versionId is :' + versionIdInfo);