Home
last modified time | relevance | path

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

/system/chre/platform/slpi/see/
Dplatform_sensor.cc414 ChreSensorData *allocateLastEvent(SensorType sensorType, size_t *eventSize) { in allocateLastEvent() argument
415 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()
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc285 ChreSensorData *allocateLastEvent(SensorType sensorType, size_t *eventSize) { in allocateLastEvent() argument
286 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()