Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c2530 int kcLen = 0, sresLen = 0; local
2613 sresLen = strlen(sres);
2616 binSimResponseLen = (kcLen + sresLen) / 2 + 3 * sizeof(char);
2621 binSimResponse[0] = (sresLen / 2) & 0xFF;
2622 uint8_t* tmpBinSimResponse = convertHexStringToBytes(sres, sresLen);
2623 snprintf((char*)(binSimResponse + 1), sresLen / 2, "%s", tmpBinSimResponse);
2627 binSimResponse[1 + sresLen / 2] = (kcLen / 2) & 0xFF;
2629 snprintf((char*)(binSimResponse + 1 + sresLen / 2 + 1), kcLen / 2, "%s", tmpBinSimResponse);