Lines Matching refs:sensor
319 for (SensorInfo sensor : dynamicSensorsAdded) { in onDynamicSensorsConnected() local
320 if (!subHalIndexIsClear(sensor.sensorHandle)) { in onDynamicSensorsConnected()
322 sensor.name.c_str()); in onDynamicSensorsConnected()
324 sensor.sensorHandle = setSubHalIndex(sensor.sensorHandle, subHalIndex); in onDynamicSensorsConnected()
325 mDynamicSensors[sensor.sensorHandle] = sensor; in onDynamicSensorsConnected()
326 sensors.push_back(sensor); in onDynamicSensorsConnected()
401 for (SensorInfo sensor : list) { in initializeSensorList() local
402 if (!subHalIndexIsClear(sensor.sensorHandle)) { in initializeSensorList()
405 ALOGV("Loaded sensor: %s", sensor.name.c_str()); in initializeSensorList()
406 sensor.sensorHandle = setSubHalIndex(sensor.sensorHandle, subHalIndex); in initializeSensorList()
407 setDirectChannelFlags(&sensor, subHal); in initializeSensorList()
408 mSensors[sensor.sensorHandle] = sensor; in initializeSensorList()
700 const SensorInfo& sensor = mHalProxy->getSensorInfo(event.sensorHandle); in processEvents() local
701 if ((sensor.flags & V1_0::SensorFlagBits::WAKE_UP) != 0) { in processEvents()