Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/sensors/mraa/
DSensorsHAL.hpp28 #define MAX_DEVICES 20 macro
105 Sensor * sensors[MAX_DEVICES];
108 static Sensor * (*sensorFactoryFuncs[MAX_DEVICES])(int);
110 static struct sensor_t sensorDescs[MAX_DEVICES];
DSensorsHAL.cpp24 Sensor * (*SensorContext::sensorFactoryFuncs[MAX_DEVICES])(int);
25 struct sensor_t SensorContext::sensorDescs[MAX_DEVICES];
31 pollFd = epoll_create(MAX_DEVICES); in SensorContext()
48 memset(sensors, 0, sizeof(Sensor *) * MAX_DEVICES); in SensorContext()
76 if (sensorsNum >= MAX_DEVICES) { in addSensorModule()
77 ALOGE("%s: Cannot add more than %d sensors.", __func__, MAX_DEVICES); in addSensorModule()
185 struct epoll_event ev[MAX_DEVICES]; in pollEvents()
190 nfds = epoll_wait(pollFd, ev, MAX_DEVICES, -1); in pollEvents()