/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
results_holder.c | 43 long geomag_compass_correction[4]; /**< quaternion going from accel quaternion to geomag sensor fusion */ 54 struct inv_sensor_cal_t *sensor; member in struct:results_t 349 * @param[in] sensor_cal New sensor data to process. 354 rh.sensor = sensor_cal;
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
MetadataConverter.cpp | 137 dst->dm.sensor.timeStamp = curr_entry.data.i64[0]; 150 dst->dm.sensor.exposureTime = curr_entry.data.i64[0]; 532 &metadata->dm.sensor.timeStamp, 1)) 536 &metadata->dm.sensor.exposureTime, 1)) 549 metadata->dm.sensor.timeStamp, metadata->dm.sensor.exposureTime, metadata->dm.lens.aperture);
|
/device/htc/flounder/sensor_hub/libsensors/ |
sensors.cpp | 44 {.name = "Accelerometer Sensor", 61 {.name = "Magnetic field Sensor", 78 {.name = "Gyroscope Sensor", 95 {.name = "CM32181 Light sensor", 112 {.name = "Pressure Sensor", 129 {.name = "CWGD Orientation Sensor", 318 {.name = "Accelerometer Sensor (WAKE_UP)", 335 {.name = "Magnetic field Sensor (WAKE_UP)", 352 {.name = "Gyroscope Sensor (WAKE_UP)", 369 {.name = "Pressure Sensor (WAKE_UP)" [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
SystemFeaturesTest.java | 31 import android.hardware.Sensor; 224 * Check that the sensor features reported by the PackageManager correspond to the sensors 231 Sensor.TYPE_ACCELEROMETER); 233 Sensor.TYPE_PRESSURE); 235 Sensor.TYPE_MAGNETIC_FIELD); 237 Sensor.TYPE_GYROSCOPE); 239 Sensor.TYPE_LIGHT); 241 Sensor.TYPE_PROXIMITY); 243 Sensor.TYPE_STEP_COUNTER); 245 Sensor.TYPE_STEP_DETECTOR) [all...] |
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
GL2CameraEye.java | 45 import android.hardware.Sensor; 79 mAcceleration = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); 117 if (event.sensor.getType() == Sensor.TYPE_LINEAR_ACCELERATION) { 126 public void onAccuracyChanged(Sensor sensor, int accuracy) { 127 // Ignoring sensor accuracy changes. 134 Sensor mAcceleration;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeTestActivity.java | 25 import android.hardware.Sensor; 36 * Manual test for testing the gyroscope sensor. This test consists of 6 steps for all the 49 private Sensor mSensor; 76 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE); 224 public void onAccuracyChanged(Sensor sensor, int accuracy) {
|
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/jumpingjack/ |
MainActivity.java | 24 import android.hardware.Sensor; 40 * sensor values. Since on wearable devices a full screen activity is very short-lived, we set the 64 * measured by the Gravity sensor, changes with a variation (delta) > GRAVITY_THRESHOLD, 70 private Sensor mSensor; 93 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); 131 Log.d(TAG, "Successfully registered for the sensor updates"); 141 Log.d(TAG, "Unregistered for sensor events"); 151 public void onAccuracyChanged(Sensor sensor, int accuracy) { 157 * as measured by the Gravity Sensor is +9.8 when the hand is downward and -9.8 when the han [all...] |
/development/ndk/platforms/android-9/samples/native-activity/jni/ |
main.c | 25 #include <android/sensor.h> 274 // If a sensor has data, process it now.
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
MissileLauncherActivity.java | 24 import android.hardware.Sensor; 51 private Sensor mGravitySensor; 80 mGravitySensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); 210 public void onAccuracyChanged(Sensor sensor, int accuracy) {
|
/development/samples/wearable/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/ |
MainActivity.java | 24 import android.hardware.Sensor; 40 * sensor values. Since on wearable devices a full screen activity is very short-lived, we set the 64 * measured by the Gravity sensor, changes with a variation (delta) > GRAVITY_THRESHOLD, 70 private Sensor mSensor; 93 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); 131 Log.d(TAG, "Successfully registered for the sensor updates"); 141 Log.d(TAG, "Unregistered for sensor events"); 151 public void onAccuracyChanged(Sensor sensor, int accuracy) { 157 * as measured by the Gravity Sensor is +9.8 when the hand is downward and -9.8 when the han [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/android/apmtest/jni/ |
main.c | 25 #include <android/sensor.h> 274 // If a sensor has data, process it now.
|
/external/webrtc/src/modules/audio_processing/test/android/apmtest/jni/ |
main.c | 25 #include <android/sensor.h> 274 // If a sensor has data, process it now.
|
/frameworks/base/services/core/java/com/android/server/am/ |
BatteryStatsService.java | 282 public void noteStartSensor(int uid, int sensor) { 285 mStats.noteStartSensorLocked(uid, sensor); 289 public void noteStopSensor(int uid, int sensor) { 292 mStats.noteStopSensorLocked(uid, sensor);
|
/frameworks/base/services/core/java/com/android/server/power/ |
WirelessChargerDetector.java | 19 import android.hardware.Sensor; 69 * sensor to detect this case. 76 // The minimum amount of time to spend watching the sensor before making 80 // The sensor sampling interval. 105 // The gravity sensor, or null if none. 106 private Sensor mGravitySensor; 149 mGravitySensor = sensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); 249 + mTotalSamples + " samples from the gravity sensor but we " 345 public void onAccuracyChanged(Sensor sensor, int accuracy) [all...] |
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsService.java | 34 import android.hardware.Sensor; 165 public Sensor sensor; field in class:ItsService.MySensorEvent 171 // For capturing motion sensor traces. 173 private Sensor mAccelSensor = null; 174 private Sensor mMagSensor = null; 175 private Sensor mGyroSensor = null; 207 mAccelSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); 208 mMagSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); 209 mGyroSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE) [all...] |
/hardware/invensense/6515/libsensors_iio/ |
MPLSensor.cpp | 169 /* instantiate pressure sensor on secondary bus */ 392 /* initialize sensor data */ 397 mPendingEvents[RotationVector].sensor = ID_RV; 403 mPendingEvents[GameRotationVector].sensor = ID_GRV; 409 mPendingEvents[LinearAccel].sensor = ID_LA; 415 mPendingEvents[Gravity].sensor = ID_GR; 420 mPendingEvents[Gyro].sensor = ID_GY; 425 mPendingEvents[RawGyro].sensor = ID_RG; 430 mPendingEvents[Accelerometer].sensor = ID_A; 437 mPendingEvents[MagneticField].sensor = ID_M [all...] |
/hardware/invensense/60xx/libsensors_iio/ |
MPLSensor.cpp | 261 /* initialize sensor data */ 265 mPendingEvents[RotationVector].sensor = ID_RV; 269 mPendingEvents[LinearAccel].sensor = ID_LA; 273 mPendingEvents[Gravity].sensor = ID_GR; 277 mPendingEvents[Gyro].sensor = ID_GY; 281 mPendingEvents[RawGyro].sensor = ID_RG; 285 mPendingEvents[Accelerometer].sensor = ID_A; 290 mPendingEvents[MagneticField].sensor = ID_M; 296 mPendingEvents[Orientation].sensor = ID_O; 351 /* disable driver master enable the first sensor goes on * [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
MPLSensor.cpp | 289 /* instantiate pressure sensor on secondary bus */ 293 LOGE("HAL:ERR - Failed to instantiate pressure sensor class"); 503 /* initialize sensor data */ 507 mPendingEvents[RotationVector].sensor = ID_RV; 513 mPendingEvents[GameRotationVector].sensor = ID_GRV; 519 mPendingEvents[LinearAccel].sensor = ID_LA; 525 mPendingEvents[Gravity].sensor = ID_GR; 530 mPendingEvents[Gyro].sensor = ID_GY; 535 mPendingEvents[RawGyro].sensor = ID_RG; 540 mPendingEvents[Accelerometer].sensor = ID_A [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
results_holder.c | 38 long geomag_compass_correction[4]; /**< quaternion going from accel quaternion to geomag sensor fusion */
49 struct inv_sensor_cal_t *sensor;
member in struct:results_t 447 * @param[in] sensor_cal New sensor data to process.
452 rh.sensor = sensor_cal;
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
iio_utils.h | 596 int *counter, char *sensor, int en) 615 strcat(pattern, sensor);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
iio_utils.h | 596 int *counter, char *sensor, int en) 615 strcat(pattern, sensor);
|
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
TeapotNativeActivity.cpp | 23 #include <android/sensor.h> 324 //Sensor handlers 337 // If a sensor has data, process it now.
|
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
MoreTeapotsNativeActivity.cpp | 27 #include <android/sensor.h> 335 //Sensor handlers 348 // If a sensor has data, process it now.
|
/hardware/libhardware/tests/hardware/ |
struct-offset.cpp | 71 CHECK_MEMBER_AT(sensors_event_t, sensor, 4, 4);
|
/ndk/build/tools/ |
dev-platform-import.sh | 428 android/sensor.h \
|