Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/sensors/mraa/
DSensorsHAL.cpp26 int SensorContext::sensorsNum = 0; member in SensorContext
54 for (int i = 0; i < sensorsNum; i++) { in ~SensorContext()
76 if (sensorsNum >= MAX_DEVICES) { in addSensorModule()
81 sensorDesc->handle = sensorsNum; in addSensorModule()
82 sensorDescs[sensorsNum] = *sensorDesc; in addSensorModule()
83 sensorFactoryFuncs[sensorsNum] = sensorFactoryFunc; in addSensorModule()
84 sensorsNum++; in addSensorModule()
110 if (!list || (sensorsNum == 0)) { in GetSensorsListWrapper()
115 return sensorsNum; in GetSensorsListWrapper()
126 if (handle < 0 || handle >= sensorsNum) { in activate()
[all …]
DSensorsHAL.hpp112 static int sensorsNum; member in SensorContext