/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
D | read_device_node.c | 56 void get_sensor_data(char *d, short *sensor) in get_sensor_data() argument 60 sensor[i] = *(short *)(d + 2 + i * 2); in get_sensor_data() 76 short sensor[3]; in read_data() local 121 get_sensor_data(dptr, sensor); in read_data() 123 … printf("PRESS, %d, %lld\n", (sensor[1] << 16) + (unsigned short)sensor[2], *(long long *)dptr); in read_data() 129 get_sensor_data(dptr, sensor); in read_data() 131 … printf("ACCEL, %d, %d, %d, %lld\n", sensor[0], sensor[1], sensor[2], *(long long *)dptr); in read_data() 137 get_sensor_data(dptr, sensor); in read_data() 139 … printf("GYRO, %d, %d, %d, %lld\n", sensor[0], sensor[1], sensor[2], *(long long *)dptr); in read_data() 145 get_sensor_data(dptr, sensor); in read_data() [all …]
|
/hardware/ti/omap4-aah/camera/ |
D | SensorListener.cpp | 195 android::Sensor const* sensor; in enableSensor() local 203 sensor = mgr.getDefaultSensor(android::Sensor::TYPE_ACCELEROMETER); in enableSensor() 204 if(sensor) { in enableSensor() 205 CAMHAL_LOGDB("orientation = %p (%s)", sensor, sensor->getName().string()); in enableSensor() 206 mSensorEventQueue->enableSensor(sensor); in enableSensor() 207 mSensorEventQueue->setEventRate(sensor, ms2ns(100)); in enableSensor() 218 android::Sensor const* sensor; in disableSensor() local 226 sensor = mgr.getDefaultSensor(android::Sensor::TYPE_ACCELEROMETER); in disableSensor() 227 CAMHAL_LOGDB("orientation = %p (%s)", sensor, sensor->getName().string()); in disableSensor() 228 mSensorEventQueue->disableSensor(sensor); in disableSensor()
|
/hardware/ti/omap4xxx/camera/ |
D | SensorListener.cpp | 197 Sensor const* sensor; in enableSensor() local 205 sensor = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in enableSensor() 206 CAMHAL_LOGDB("orientation = %p (%s)", sensor, sensor->getName().string()); in enableSensor() 207 mSensorEventQueue->enableSensor(sensor); in enableSensor() 208 mSensorEventQueue->setEventRate(sensor, ms2ns(100)); in enableSensor() 216 Sensor const* sensor; in disableSensor() local 224 sensor = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in disableSensor() 225 CAMHAL_LOGDB("orientation = %p (%s)", sensor, sensor->getName().string()); in disableSensor() 226 mSensorEventQueue->disableSensor(sensor); in disableSensor()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | stress_iio.c | 700 void get_sensor_data(char *d, short *sensor) in get_sensor_data() argument 705 sensor[i] = *(short *)(d + 2 + i * 2); in get_sensor_data() 712 short sensor[3]; in read_data() local 790 get_sensor_data(dptr, sensor); in read_data() 792 … printf("PRESSURE:%d, %lld\n", (sensor[1] << 16) + (unsigned short)sensor[2], *(long long *)dptr); in read_data() 798 get_sensor_data(dptr, sensor); in read_data() 800 printf("A:%d, %d, %d, %lld\n", sensor[0], sensor[1], sensor[2], *(long long *)dptr); in read_data() 806 get_sensor_data(dptr, sensor); in read_data() 809 printf("G:%d, %d, %d, %lld\n", sensor[0], sensor[1], sensor[2], *(long long *)dptr); in read_data() 815 get_sensor_data(dptr, sensor); in read_data() [all …]
|
D | README | 24 other sensor output (including quaternion, gyro, accel, and compass.) in the
|
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
D | ThermalZone.java | 555 ThermalSensor sensor = mThermalSensors.get(0); in registerUevent() local 556 if (sensor == null) return; in registerUevent() 557 String path = sensor.getUEventDevPath(); in registerUevent() 560 sensor.updateSensorTemp(); in registerUevent() 561 setZoneTemp(sensor.getCurrTemp()); in registerUevent() 567 programThresholds(sensor); in registerUevent() 589 ThermalSensor sensor = mThermalSensors.get(0); 590 if (sensor != null && sensor.getSensorName() != null 591 && sensor.getSensorName().equalsIgnoreCase(sensorName)) { 594 errorVal = sensor.getErrorCorrectionTemp(); [all …]
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 72 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias); 174 void set_sensor_orientation_and_scale(struct inv_single_sensor_t *sensor, in set_sensor_orientation_and_scale() argument 177 sensor->sensitivity = sensitivity; in set_sensor_orientation_and_scale() 178 sensor->orientation = orientation; in set_sensor_orientation_and_scale() 425 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias) in inv_apply_calibration() argument 430 raw32[0] = (long)sensor->raw[0] << 15; in inv_apply_calibration() 431 raw32[1] = (long)sensor->raw[1] << 15; in inv_apply_calibration() 432 raw32[2] = (long)sensor->raw[2] << 15; in inv_apply_calibration() 434 …inv_convert_to_body_with_scale(sensor->orientation, sensor->sensitivity << 1, raw32, sensor->raw_s… in inv_apply_calibration() 440 …inv_convert_to_body_with_scale(sensor->orientation, sensor->sensitivity << 1, raw32, sensor->calib… in inv_apply_calibration() [all …]
|
D | results_holder.c | 49 struct inv_sensor_cal_t *sensor; member 278 rh.sensor = sensor_cal; in inv_generate_results()
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
D | ExynosCameraHWInterface2.cpp | 450 …->internal_shot.shot.ctl.request.frameCount, currentEntry->internal_shot.shot.dm.sensor.timeStamp); in PrepareFrame() 522 shot_ext->shot.ctl.sensor.exposureTime = 0; in MarkProcessingRequest() 523 shot_ext->shot.ctl.sensor.frameDuration = 33*1000*1000; in MarkProcessingRequest() 524 shot_ext->shot.ctl.sensor.sensitivity = 0; in MarkProcessingRequest() 633 timeStamp = request_shot->shot.dm.sensor.timeStamp; in ApplyDynamicMetadata() 635 request_shot->shot.dm.sensor.timeStamp = timeStamp; in ApplyDynamicMetadata() 780 index, frameCnt, currentEntry->internal_shot.shot.dm.sensor.timeStamp); in RegisterTimestamp() 782 currentEntry->internal_shot.shot.dm.sensor.timeStamp = *((uint64_t*)frameTime); in RegisterTimestamp() 784 index, frameCnt, currentEntry->internal_shot.shot.dm.sensor.timeStamp); in RegisterTimestamp() 809 nsecs_t frameTime = currentEntry->internal_shot.shot.dm.sensor.timeStamp; in GetTimestamp() [all …]
|
D | MetadataConverter.cpp | 137 dst->dm.sensor.timeStamp = curr_entry.data.i64[0]; in ToInternalShot() 150 dst->dm.sensor.exposureTime = curr_entry.data.i64[0]; in ToInternalShot() 532 &metadata->dm.sensor.timeStamp, 1)) in ToDynamicMetadata() 536 &metadata->dm.sensor.exposureTime, 1)) in ToDynamicMetadata() 549 metadata->dm.sensor.timeStamp, metadata->dm.sensor.exposureTime, metadata->dm.lens.aperture); in ToDynamicMetadata()
|
D | fimc-is-metadata.h | 662 struct camera2_sensor_ctl sensor; member 685 struct camera2_sensor_dm sensor; member 706 struct camera2_sensor_sm sensor; member
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 56 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias); 206 void set_sensor_orientation_and_scale(struct inv_single_sensor_t *sensor, in set_sensor_orientation_and_scale() argument 217 sensor->sensitivity = sensitivity; in set_sensor_orientation_and_scale() 232 sensor->orientation = orientation; in set_sensor_orientation_and_scale() 486 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias) in inv_apply_calibration() argument 491 raw32[0] = (long)sensor->raw[0] << 15; in inv_apply_calibration() 492 raw32[1] = (long)sensor->raw[1] << 15; in inv_apply_calibration() 493 raw32[2] = (long)sensor->raw[2] << 15; in inv_apply_calibration() 495 …inv_convert_to_body_with_scale(sensor->orientation, sensor->sensitivity << 1, raw32, sensor->raw_s… in inv_apply_calibration() 501 …inv_convert_to_body_with_scale(sensor->orientation, sensor->sensitivity << 1, raw32, sensor->calib… in inv_apply_calibration() [all …]
|
D | results_holder.c | 54 struct inv_sensor_cal_t *sensor; member 354 rh.sensor = sensor_cal; in inv_generate_results()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 57 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias); 207 void set_sensor_orientation_and_scale(struct inv_single_sensor_t *sensor, in set_sensor_orientation_and_scale() argument 218 sensor->sensitivity = sensitivity; in set_sensor_orientation_and_scale() 233 sensor->orientation = orientation; in set_sensor_orientation_and_scale() 691 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias) in inv_apply_calibration() argument 696 raw32[0] = (long)sensor->raw[0] << 15; in inv_apply_calibration() 697 raw32[1] = (long)sensor->raw[1] << 15; in inv_apply_calibration() 698 raw32[2] = (long)sensor->raw[2] << 15; in inv_apply_calibration() 700 …inv_convert_to_body_with_scale(sensor->orientation, sensor->sensitivity << 1, raw32, sensor->raw_s… in inv_apply_calibration() 706 …inv_convert_to_body_with_scale(sensor->orientation, sensor->sensitivity << 1, raw32, sensor->calib… in inv_apply_calibration() [all …]
|
/hardware/akm/AK8975_FS/libsensors/ |
D | AkmSensor.cpp | 46 mPendingEvents[Accelerometer].sensor = ID_A; in AkmSensor() 51 mPendingEvents[MagneticField].sensor = ID_M; in AkmSensor() 56 mPendingEvents[Orientation ].sensor = ID_O; in AkmSensor()
|
D | sensors.cpp | 282 SensorBase* const sensor(mSensors[i]); in pollEvents() local 283 if ((mPollFds[i].revents & POLLIN) || (sensor->hasPendingEvents())) { in pollEvents() 284 int nb = sensor->readEvents(data, count); in pollEvents()
|
D | KionixSensor.cpp | 46 mPendingEvent.sensor = ID_A; in KionixSensor()
|
D | AdxlSensor.cpp | 43 mPendingEvent.sensor = ID_A; in AdxlSensor()
|
/hardware/libhardware/modules/sensors/ |
D | multihal.cpp | 291 full_handle.localHandle = dest->meta_data.sensor; in copy_event_remap_handle() 292 dest->meta_data.sensor = get_global_handle(&full_handle); in copy_event_remap_handle() 294 full_handle.localHandle = dest->sensor; in copy_event_remap_handle() 295 dest->sensor = get_global_handle(&full_handle); in copy_event_remap_handle() 316 if (data[eventsRead].sensor == -1) { in poll()
|
/hardware/libhardware/include/hardware/ |
D | sensors.h | 675 int32_t sensor; member 701 int32_t sensor; member
|
/hardware/invensense/60xx/libsensors/ |
D | MPLSensor.cpp | 221 mPendingEvents[RotationVector].sensor = ID_RV; in MPLSensor() 225 mPendingEvents[LinearAccel].sensor = ID_LA; in MPLSensor() 229 mPendingEvents[Gravity].sensor = ID_GR; in MPLSensor() 233 mPendingEvents[Gyro].sensor = ID_GY; in MPLSensor() 237 mPendingEvents[Accelerometer].sensor = ID_A; in MPLSensor() 241 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor() 246 mPendingEvents[Orientation].sensor = ID_O; in MPLSensor()
|
/hardware/invensense/6515/libsensors_iio/ |
D | sensors_mpl.cpp | 205 flushCompleteEvent.sensor = 0; in pollEvents() 207 flushCompleteEvent.meta_data.sensor = handle_element->handle; in pollEvents() 212 flushCompleteEvent.meta_data.sensor); in pollEvents()
|
D | MPLSensor.cpp | 397 mPendingEvents[RotationVector].sensor = ID_RV; in MPLSensor() 403 mPendingEvents[GameRotationVector].sensor = ID_GRV; in MPLSensor() 409 mPendingEvents[LinearAccel].sensor = ID_LA; in MPLSensor() 415 mPendingEvents[Gravity].sensor = ID_GR; in MPLSensor() 420 mPendingEvents[Gyro].sensor = ID_GY; in MPLSensor() 425 mPendingEvents[RawGyro].sensor = ID_RG; in MPLSensor() 430 mPendingEvents[Accelerometer].sensor = ID_A; in MPLSensor() 437 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor() 443 mPendingEvents[RawMagneticField].sensor = ID_RM; in MPLSensor() 450 mPendingEvents[Pressure].sensor = ID_PS; in MPLSensor() [all …]
|
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/ |
D | fimc-is-metadata.h | 715 struct camera2_sensor_ctl sensor; member 734 struct camera2_sensor_dm sensor; member 752 struct camera2_sensor_sm sensor; member
|
/hardware/invensense/60xx/libsensors_iio/ |
D | MPLSensor.cpp | 265 mPendingEvents[RotationVector].sensor = ID_RV; in MPLSensor() 269 mPendingEvents[LinearAccel].sensor = ID_LA; in MPLSensor() 273 mPendingEvents[Gravity].sensor = ID_GR; in MPLSensor() 277 mPendingEvents[Gyro].sensor = ID_GY; in MPLSensor() 281 mPendingEvents[RawGyro].sensor = ID_RG; in MPLSensor() 285 mPendingEvents[Accelerometer].sensor = ID_A; in MPLSensor() 290 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor() 296 mPendingEvents[Orientation].sensor = ID_O; in MPLSensor() 2251 temp.sensor = ID_SO; in readDmpOrientEvents()
|