Searched refs:MAX_DEVICES (Results 1 – 2 of 2) sorted by relevance
28 #define MAX_DEVICES 20 macro105 Sensor * sensors[MAX_DEVICES];108 static Sensor * (*sensorFactoryFuncs[MAX_DEVICES])(int);110 static struct sensor_t sensorDescs[MAX_DEVICES];
24 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()