Searched refs:eventSize (Results 1 – 2 of 2) sorted by relevance
414 ChreSensorData *allocateLastEvent(SensorType sensorType, size_t *eventSize) { in allocateLastEvent() argument415 CHRE_ASSERT(eventSize); in allocateLastEvent()417 *eventSize = 0; in allocateLastEvent()423 *eventSize = sizeof(chreSensorThreeAxisData); in allocateLastEvent()426 *eventSize = sizeof(chreSensorFloatData); in allocateLastEvent()429 *eventSize = sizeof(chreSensorByteData); in allocateLastEvent()432 *eventSize = sizeof(chreSensorOccurrenceData); in allocateLastEvent()439 event = static_cast<ChreSensorData *>(memoryAlloc(*eventSize)); in allocateLastEvent()441 *eventSize = 0; in allocateLastEvent()
285 ChreSensorData *allocateLastEvent(SensorType sensorType, size_t *eventSize) { in allocateLastEvent() argument286 CHRE_ASSERT(eventSize); in allocateLastEvent()288 *eventSize = 0; in allocateLastEvent()294 *eventSize = sizeof(chreSensorThreeAxisData); in allocateLastEvent()297 *eventSize = sizeof(chreSensorFloatData); in allocateLastEvent()300 *eventSize = sizeof(chreSensorByteData); in allocateLastEvent()303 *eventSize = sizeof(chreSensorOccurrenceData); in allocateLastEvent()310 event = static_cast<ChreSensorData *>(memoryAlloc(*eventSize)); in allocateLastEvent()312 *eventSize = 0; in allocateLastEvent()