Home
last modified time | relevance | path

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

/system/chre/core/
Dsensor_type.cc226 SensorSampleType getSensorSampleTypeFromSensorType(SensorType sensorType) { in getSensorSampleTypeFromSensorType()
234 return SensorSampleType::ThreeAxis; in getSensorSampleTypeFromSensorType()
240 return SensorSampleType::Float; in getSensorSampleTypeFromSensorType()
244 return SensorSampleType::Occurrence; in getSensorSampleTypeFromSensorType()
246 return SensorSampleType::Byte; in getSensorSampleTypeFromSensorType()
249 return SensorSampleType::Vendor0; in getSensorSampleTypeFromSensorType()
251 return SensorSampleType::Vendor1; in getSensorSampleTypeFromSensorType()
253 return SensorSampleType::Vendor2; in getSensorSampleTypeFromSensorType()
255 return SensorSampleType::Vendor3; in getSensorSampleTypeFromSensorType()
257 return SensorSampleType::Vendor4; in getSensorSampleTypeFromSensorType()
[all …]
/system/chre/platform/slpi/see/
Dsee_helper.cc756 SensorSampleType sampleType = getSensorSampleTypeFromSensorType( in populateEventSample()
761 case SensorSampleType::ThreeAxis: { in populateEventSample()
770 case SensorSampleType::Float: { in populateEventSample()
778 case SensorSampleType::Byte: { in populateEventSample()
786 case SensorSampleType::Occurrence: { in populateEventSample()
794 case SensorSampleType::Vendor0: { in populateEventSample()
803 case SensorSampleType::Vendor1: { in populateEventSample()
812 case SensorSampleType::Vendor2: { in populateEventSample()
820 case SensorSampleType::Vendor3: { in populateEventSample()
829 case SensorSampleType::Vendor4: { in populateEventSample()
[all …]
Dplatform_sensor.cc420 SensorSampleType sampleType = getSensorSampleTypeFromSensorType(sensorType); in allocateLastEvent()
422 case SensorSampleType::ThreeAxis: in allocateLastEvent()
425 case SensorSampleType::Float: in allocateLastEvent()
428 case SensorSampleType::Byte: in allocateLastEvent()
431 case SensorSampleType::Occurrence: in allocateLastEvent()
/system/chre/core/include/chre/core/
Dsensor_type.h87 enum class SensorSampleType { enum
207 SensorSampleType getSensorSampleTypeFromSensorType(SensorType sensorType);
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc291 SensorSampleType sampleType = getSensorSampleTypeFromSensorType(sensorType); in allocateLastEvent()
293 case SensorSampleType::ThreeAxis: in allocateLastEvent()
296 case SensorSampleType::Float: in allocateLastEvent()
299 case SensorSampleType::Byte: in allocateLastEvent()
302 case SensorSampleType::Occurrence: in allocateLastEvent()
474 SensorSampleType sampleType = getSensorSampleTypeFromSensorType(sensorType); in allocateAndPopulateEvent()
477 case SensorSampleType::ThreeAxis: { in allocateAndPopulateEvent()
488 case SensorSampleType::Float: { in allocateAndPopulateEvent()
499 case SensorSampleType::Byte: { in allocateAndPopulateEvent()
510 case SensorSampleType::Occurrence: { in allocateAndPopulateEvent()
[all …]