Home | History | Annotate | Download | only in sensors

Lines Matching refs:sensor

61  * Comparable class that globally identifies a sensor, by module index and local handle.
63 * A local handle is the handle the sub-module assigns to a sensor.
107 // Returns the sub_hw_modules index of the module that contains the sensor associates with this
256 // Android L requires sensor HALs to be either 1_0 or 1_3 compliant
289 ALOGE("IGNORING activate(enable %d) call to non-API-compliant sensor handle=%d !",
304 ALOGE("IGNORING setDelay() call for non-API-compliant sensor handle=%d !", handle);
313 // A normal event's "sensor" field is a local handle. Convert it to a global handle.
314 // A meta-data event must have its sensor set to 0, but it has a nested event
319 // If it's a metadata event, rewrite the inner payload, not the sensor field.
320 // If the event's sensor field is unregistered for any reason, rewrite the sensor field
321 // with a -1, instead of writing an incorrect but plausible sensor number, because
324 full_handle.localHandle = dest->meta_data.sensor;
325 dest->meta_data.sensor = get_global_handle(&full_handle);
327 full_handle.localHandle = dest->sensor;
328 dest->sensor = get_global_handle(&full_handle);
349 if (data[eventsRead].sensor == -1) {
382 ALOGE("IGNORING batch() call to non-API-compliant sensor handle=%d !", handle);
396 ALOGE("IGNORING flush() call to non-API-compliant sensor handle=%d !", handle);
555 // index of the next sensor to set in mutable_sensor_list
563 // Read the sub-module's sensor list.
568 // Copy the HAL's sensor list into global_sensors_list,
571 ALOGV("examining one sensor");
602 ALOGV("sensor type: %d", global_sensors_list[i].type);
617 .name = "MultiHal Sensor Module",
655 ALOGE("SENSORS_DEVICE_API_VERSION_1_3 is required for all sensor HALs");