/device/google/contexthub/util/nanoapp_encr/ |
D | nanoapp_encr.c | 87 encr.dataLen = bufUsed; in handleEncrypt() 122 fprintf(stderr, "orig len: %" PRIu32 " bytes\n", encr.dataLen); in handleEncrypt() 124 encr.dataLen -= sizeof(*image); in handleEncrypt() 133 int32_t sz = encr.dataLen - (i * sizeof(uint32_t)); in handleEncrypt() 186 if (encr->dataLen > bufUsed) { in handleDecrypt() 187 fprintf(stderr, "Claimed output size of %" PRIu32 "b invalid\n", encr->dataLen); in handleDecrypt() 191 encr->dataLen, bufUsed - encr->dataLen); in handleDecrypt() 205 int32_t size = encr->dataLen - i * sizeof(uint32_t); in handleDecrypt()
|
/device/google/contexthub/firmware/os/inc/ |
D | eventnums.h | 54 uint8_t dataLen; //not incl this header, 128 bytes max member 91 int32_t dataLen; //use negative here to indicate marshalling error. member
|
/device/google/contexthub/util/nanotool/ |
D | apptohostevent.cpp | 42 return GetTypedData()->dataLen; in GetDataLen() 137 + packet->dataLen)) { in IsValid()
|
D | apptohostevent.h | 28 uint8_t dataLen; //not incl this header, 128 bytes max member
|
D | nanomessage.cpp | 251 event->event_data.hdr.dataLen = sizeof(BrHostEventData); in GetBytes()
|
/device/google/contexthub/firmware/os/core/ |
D | appSec.c | 271 __func__, encrHdr->dataLen, encrHdr->keyID); in appSecProcessIncomingHdr() 273 if (!encrHdr->dataLen || !encrHdr->keyID) in appSecProcessIncomingHdr() 283 state->encryptedBytesOut = encrHdr->dataLen; in appSecProcessIncomingHdr()
|
D | hostIntf.c | 1208 if (hostMsg->dataLen <= HOST_HUB_RAW_PACKET_MAX_LEN) { in onEvtAppToHost() 1209 … struct HostIntfDataBuffer *data = alloca(sizeof(uint32_t) + sizeof(*hostMsg) + hostMsg->dataLen); in onEvtAppToHost() 1212 data->length = sizeof(*hostMsg) + hostMsg->dataLen; in onEvtAppToHost()
|
/device/google/contexthub/firmware/app/test0.app/ |
D | test_app0.c | 62 extMsg->hdr.dataLen = 5; in handle_event()
|
/device/google/contexthub/contexthubhal/ |
D | system_comms.cpp | 899 uint32_t dataLen = buf.getRoom(); in handleRx() local 901 if (dataLen) { in handleRx() 905 if (mKeyOffset + dataLen >= keyLen) { in handleRx() 909 mKeyOffset += dataLen; in handleRx()
|
/device/google/contexthub/lib/include/nanohub/ |
D | nanohub.h | 151 uint32_t dataLen; member
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 435 data->header.dataLen = (sizeof(struct AlsCalibrationData) - sizeof(struct HostHubRawPacket)); in sendCalibrationResultAls() 455 data->header.dataLen = (sizeof(struct ProxCalibrationData) - sizeof(struct HostHubRawPacket)); in sendCalibrationResultProx()
|
/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | sap_service.cpp | 776 size_t dataLen = rsp->payload->size; in processResponse() local 778 void *messagePtr = sapDecodeMessage(msgId, msgType, data, dataLen); in processResponse()
|
D | ril_service.cpp | 2585 int dataLen = sizeof(char *) * countStrings; in dispatchImsGsmSms() local 2607 memset(pStrings, 0, dataLen); in dispatchImsGsmSms() 2616 memset(pStrings, 0, dataLen); in dispatchImsGsmSms() 2624 sizeof(uint8_t) + sizeof(int32_t) + dataLen, pRI, pRI->socket_id); in dispatchImsGsmSms() 2631 memset(pStrings, 0, dataLen); in dispatchImsGsmSms()
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 292 data->header.dataLen = (sizeof(struct CalibrationData) - sizeof(struct HostHubRawPacket)); in sendCalibrationResult()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 299 data->header.dataLen = (sizeof(struct CalibrationData) - sizeof(struct HostHubRawPacket)); in sendCalibrationResult()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 551 data->header.dataLen = (sizeof(struct TestResultData) - sizeof(struct HostHubRawPacket)); in sendTestResult()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 511 cmd->msg.dataLen = sizeof(bool); in setLeftyMode() 1858 cmd->msg.dataLen = sizeof(float); in queueUsbMagBias()
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 1188 data->header.dataLen = (sizeof(struct CalibrationData) - sizeof(struct HostHubRawPacket)); 1440 data->header.dataLen = (sizeof(struct TestResultData) - sizeof(struct HostHubRawPacket));
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 2729 data->header.dataLen = (sizeof(struct CalibrationData) - sizeof(struct HostHubRawPacket)); 2887 data->header.dataLen = (sizeof(struct TestResultData) - sizeof(struct HostHubRawPacket));
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 1527 …data->header.dataLen = (sizeof(struct LSM6DSMSelfTestResultPkt) - sizeof(struct HostHubRawPacket)); in lsm6dsm_sendSelfTestResult() 1557 …data->header.dataLen = (sizeof(struct LSM6DSMCalibrationResultPkt) - sizeof(struct HostHubRawPacke… in lsm6dsm_sendCalibrationResult()
|