/test/xts/tools/others/query/src/ |
D | QueryMainStandard.cpp | 99 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/ |
D | QueryMainSmall.cpp | 96 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/ |
D | attest_dfx.c | 132 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/ |
D | attest_dfx.c | 132 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/ |
D | attest_type.h | 90 char* versionId; member 142 char *versionId; member
|
/test/xts/device_attest/services/core/include/ |
D | attest_type.h | 103 char* versionId; member 155 char *versionId; member
|
/test/xts/device_attest/services/core/attest/ |
D | attest_service_auth.c | 312 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()
|
D | attest_service_challenge.c | 60 devicePacket->productInfo.versionId = StrdupDevInfo(VERSION_ID); in GenChallengeMsg()
|
/test/xts/device_attest_lite/services/core/attest/ |
D | attest_service_auth.c | 332 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()
|
D | attest_service_challenge.c | 60 devicePacket->productInfo.versionId = StrdupDevInfo(VERSION_ID); in GenChallengeMsg()
|
/test/xts/device_attest_lite/test/tdd/gtest/ |
D | attest_tdd_test.cpp | 225 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/ |
D | hctest.c | 293 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/ |
D | attest_tdd_test.cpp | 163 …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/ |
D | attest_network.c | 92 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/ |
D | DeviceInfoJsUnit.test.js | 701 let versionIdInfo = deviceinfo.versionId; 1131 let versionIdInfo = deviceinfo.versionId; 1513 let versionIdInfo = deviceinfo.versionId;
|
/test/xts/device_attest_lite/services/core/network/ |
D | attest_network.c | 95 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/ |
D | initNdk.test.ets | 819 console.info('the value of the deviceinfo versionId is :' + versionIdInfo); 845 console.info('the value of the deviceinfo versionId is :' + versionIdInfo);
|