HomeSort by relevance Sort by last modified time
    Searched refs:sensor (Results 226 - 250 of 463) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/services/Car/tests/carservice_test/src/com/android/car/
CarSensorManagerTest.java 84 // Start the HAL layer and set up the sensor manager service
89 * Test single sensor availability entry point
111 * Test sensor enumeration entry point
121 // Unfortunately, we don't have a definitive range for legal sensor values,
123 // will need to be updated if/when new sensor types are allowed.
128 for (int sensor : supportedSensors) {
129 if (candidate == sensor) {
131 Log.i(TAG, "Sensor type " + sensor + " is supported.");
136 // Make sure the individual query on a sensor type is consisten
    [all...]
  /device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
st_lsm6dsm.c 94 #define LSM6DSM_ONE_SAMPLE_BYTE 6 /* One sample of triaxial sensor is expressed on 6 byte */
95 #define LSM6DSM_TEMP_SAMPLE_BYTE 2 /* One sample of temperature sensor is expressed on 2 byte */
104 #define LSM6DSM_SYNC_DELTA_INTERVAL 100000000ULL /* Sensor timestamp is synced with MCU every #n deltatime [ns] */
378 /* LSM6DSM_CTRL1_XL_BASE: accelerometer sensor register default settings */
388 /* LSM6DSM_CTRL2_G_BASE: gyroscope sensor register default settings */
4433 struct LSM6DSMSensor *sensor; local
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
BatteryStatsService.java 579 public void noteStartSensor(int uid, int sensor) {
582 mStats.noteStartSensorLocked(uid, sensor);
583 StatsLog.write_non_chained(StatsLog.SENSOR_STATE_CHANGED, uid, null, sensor,
588 public void noteStopSensor(int uid, int sensor) {
591 mStats.noteStopSensorLocked(uid, sensor);
593 sensor, StatsLog.SENSOR_STATE_CHANGED__STATE__OFF);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
FalsingManager.java 21 import android.hardware.Sensor;
44 * When the phone is locked, listens to touch, sensor and phone events and sends them to
53 Sensor.TYPE_PROXIMITY,
57 Sensor.TYPE_ACCELEROMETER,
58 Sensor.TYPE_GYROSCOPE,
59 Sensor.TYPE_PROXIMITY,
60 Sensor.TYPE_LIGHT,
61 Sensor.TYPE_ROTATION_VECTOR,
180 Sensor s = mSensorManager.getDefaultSensor(sensorType);
264 public void onAccuracyChanged(Sensor sensor, int accuracy)
    [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;
  /hardware/invensense/6515/libsensors_iio/
MPLSensor.cpp 197 /* instantiate pressure sensor on secondary bus */
420 /* initialize sensor data */
425 mPendingEvents[RotationVector].sensor = ID_RV;
431 mPendingEvents[GameRotationVector].sensor = ID_GRV;
437 mPendingEvents[LinearAccel].sensor = ID_LA;
443 mPendingEvents[Gravity].sensor = ID_GR;
448 mPendingEvents[Gyro].sensor = ID_GY;
453 mPendingEvents[RawGyro].sensor = ID_RG;
458 mPendingEvents[Accelerometer].sensor = ID_A;
465 mPendingEvents[MagneticField].sensor = ID_M
    [all...]
  /compatibility/cdd/7_hardware-compatibility/
7_9_virtual-reality.md 74 https://developer.android.com/reference/android/hardware/Sensor.html#isDirectChannelTypeSupported%28int%29")
75 for all of the following default sensor types:
86 `android.hardware.sensor.hifi_sensors` feature and MUST meet the gyroscope,
  /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/build/prebuilts/gradle/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...]
  /developers/samples/android/wearable/wear/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...]
  /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/browseable/JumpingJack/src/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...]
  /device/google/contexthub/firmware/os/drivers/bosch_bmi160/
bosch_bmi160.c 288 #define kTimeSyncPeriodNs 100000000ull // sync sensor and RTC time every 100ms
    [all...]
  /device/google/contexthub/util/sensortest/
sensortest.cpp 23 #include <android/sensor.h>
114 printf ("No sensor found with type \"%d\"\n", atoi(argv[currArgumentIndex+1]));
121 printf("Replacing previous config for sensor type %d\n", atoi(argv[currArgumentIndex+1]));
147 printf ("No sensor found with type \"%d\"\n", atoi(argv[currArgumentIndex+1]));
154 printf("Replacing previous config for sensor type %d\n", atoi(argv[currArgumentIndex+1]));
218 printf("Unable to register sensor %d with rate %d and report latency %" PRId64 "\n",
  /device/google/cuttlefish_common/guest/hals/sensors/
sensors.cpp 48 event_.sensor = info.handle;
  /external/oj-libjdwp/src/share/javavm/export/
jmm.h 285 jobject sensor);
  /external/webrtc/webrtc/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/packages/SystemUI/src/com/android/systemui/analytics/
SensorLoggerSession.java 31 * Collects touch, sensor and phone events and converts the data to
126 proto.setType(ev.sensor.getType());
  /external/libxcam/modules/isp/
aiq_handler.cpp 270 /* 185 sensor code : DB = 160 : 48 */
536 struct atomisp_exposure sensor; local
539 xcam_mem_clear (sensor);
540 sensor.integration_time[0] = _result.sensor_exp_param.coarse_integration_time;
541 sensor.integration_time[1] = _result.sensor_exp_param.fine_integration_time;
542 sensor.gain[0] = _result.sensor_exp_param.analog_gain_code_global;
543 sensor.gain[1] = _result.sensor_exp_param.digital_gain_global;
544 result->set_isp_config (sensor);
    [all...]
  /hardware/invensense/65xx/libsensors_iio/
MPLSensor.cpp 285 /* instantiate pressure sensor on secondary bus */
289 LOGE("HAL:ERR - Failed to instantiate pressure sensor class");
499 /* initialize sensor data */
503 mPendingEvents[RotationVector].sensor = ID_RV;
509 mPendingEvents[GameRotationVector].sensor = ID_GRV;
515 mPendingEvents[LinearAccel].sensor = ID_LA;
521 mPendingEvents[Gravity].sensor = ID_GR;
526 mPendingEvents[Gyro].sensor = ID_GY;
531 mPendingEvents[RawGyro].sensor = ID_RG;
536 mPendingEvents[Accelerometer].sensor = ID_A
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsService.java 39 import android.hardware.Sensor;
199 public Sensor sensor; field in class:ItsService.MySensorEvent
205 // For capturing motion sensor traces.
207 private Sensor mAccelSensor = null;
208 private Sensor mMagSensor = null;
209 private Sensor mGyroSensor = null;
246 mAccelSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
247 mMagSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD);
248 mGyroSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE)
    [all...]
  /cts/tests/app/src/android/app/cts/
SystemFeaturesTest.java 33 import android.hardware.Sensor;
304 * Check that the sensor features reported by the PackageManager correspond to the sensors
311 Sensor.TYPE_ACCELEROMETER);
313 Sensor.TYPE_PRESSURE);
315 Sensor.TYPE_MAGNETIC_FIELD);
317 Sensor.TYPE_GYROSCOPE);
319 Sensor.TYPE_LIGHT);
321 Sensor.TYPE_PROXIMITY);
323 Sensor.TYPE_STEP_COUNTER);
325 Sensor.TYPE_STEP_DETECTOR)
    [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);

Completed in 1512 milliseconds

1 2 3 4 5 6 7 8 91011>>