Home
last modified time | relevance | path

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

/system/chre/platform/slpi/smgr/include/chre/target_platform/
Dplatform_sensor_base.h67 ChreSensorData *lastEvent = nullptr; variable
/system/chre/platform/slpi/see/include/chre/target_platform/
Dplatform_sensor_base.h38 ChreSensorData *lastEvent, size_t lastEventSize, bool passiveSupported);
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc346 sensor.lastEvent = allocateLastEvent(sensorType, &sensor.lastEventSize); in addSensor()
1383 if (lastEvent != nullptr) { in ~PlatformSensor()
1386 memoryFree(lastEvent); in ~PlatformSensor()
1580 lastEvent = other.lastEvent; in operator =()
1581 other.lastEvent = nullptr; in operator =()
1594 return (this->lastEventValid) ? this->lastEvent : nullptr; in getLastEvent()
1612 memcpy(this->lastEvent, event, this->lastEventSize); in setLastEvent()
/system/chre/platform/slpi/see/
Dplatform_sensor.cc481 ChreSensorData *lastEvent = allocateLastEvent(sensorType, &lastEventSize); in addSensor() local
485 sensor.initBase(sensorType, minInterval, sensorName, lastEvent, in addSensor()
972 ChreSensorData *lastEvent, size_t lastEventSize, bool passiveSupported) { in initBase() argument
976 mLastEvent = lastEvent; in initBase()