Home
last modified time | relevance | path

Searched refs:productIdBuf (Results 1 - 3 of 3) sorted by relevance

/test/xts/device_attest/services/core/adapter/
H A Dattest_adapter_mock.c262 char *productIdBuf = GetDeviceParaStub("productId"); in OsGetProdIdStub() local
263 if (productIdBuf == NULL) { in OsGetProdIdStub()
266 uint32_t productIdLen = strlen(productIdBuf); in OsGetProdIdStub()
268 ATTEST_MEM_FREE(productIdBuf); in OsGetProdIdStub()
272 int ret = memcpy_s(productId, len, productIdBuf, productIdLen); in OsGetProdIdStub()
273 ATTEST_MEM_FREE(productIdBuf); in OsGetProdIdStub()
/test/xts/device_attest_lite/services/core/adapter/
H A Dattest_adapter_mock.c261 char *productIdBuf = GetDeviceParaStub("productId"); in OsGetProdIdStub() local
262 if (productIdBuf == NULL) { in OsGetProdIdStub()
265 uint32_t productIdLen = strlen(productIdBuf); in OsGetProdIdStub()
267 ATTEST_MEM_FREE(productIdBuf); in OsGetProdIdStub()
271 int ret = memcpy_s(productId, len, productIdBuf, productIdLen); in OsGetProdIdStub()
272 ATTEST_MEM_FREE(productIdBuf); in OsGetProdIdStub()
/test/xts/device_attest/services/oem_adapter/src/
H A Ddevice_attest_oem_adapter.c213 const char productIdBuf[] = ""; in OEMGetProductId() local
214 uint32_t productIdLen = strlen(productIdBuf); in OEMGetProductId()
219 int32_t ret = memcpy_s(productId, len, productIdBuf, productIdLen); in OEMGetProductId()

Completed in 3 milliseconds