Searched refs:sensorsNum (Results 1 – 2 of 2) sorted by relevance
26 int SensorContext::sensorsNum = 0; member in SensorContext54 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 …]
112 static int sensorsNum; member in SensorContext