HomeSort by relevance Sort by last modified time
    Searched refs:sensor (Results 276 - 300 of 448) sorted by null

<<1112131415161718

  /hardware/akm/AK8975_FS/libsensors/
KionixSensor.cpp 46 mPendingEvent.sensor = ID_A;
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/
TestSensorEventListener.java 22 import android.hardware.Sensor;
120 public void onAccuracyChanged(Sensor sensor, int accuracy) {
126 * @return A CountDownLatch initialzed with eventCount and decremented as sensor events arrive
153 public void onFlushCompleted(Sensor sensor) {
195 * named 'events' under the sensor test directory (part of external storage).
201 builder.append("Sensor='").append(mEnvironment.getSensor()).append("', ");
271 * Wait for {@link #onFlushCompleted(Sensor)} to be called.
345 * Asserts that sensor events arrived in the proper thread if a {@link Handler} was associate
    [all...]
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 25 import android.hardware.Sensor;
47 * @see Sensor
102 * release our sensor resources and wake locks
120 private Sensor mAccelerometer;
346 mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
379 if (event.sensor.getType() != Sensor.TYPE_ACCELEROMETER)
457 public void onAccuracyChanged(Sensor sensor, int accuracy) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
FalsingManager.java 21 import android.hardware.Sensor;
38 * When the phone is locked, listens to touch, sensor and phone events and sends them to
47 Sensor.TYPE_PROXIMITY,
51 Sensor.TYPE_ACCELEROMETER,
52 Sensor.TYPE_GYROSCOPE,
53 Sensor.TYPE_PROXIMITY,
54 Sensor.TYPE_LIGHT,
55 Sensor.TYPE_ROTATION_VECTOR,
152 Sensor s = mSensorManager.getDefaultSensor(sensorType);
198 public void onAccuracyChanged(Sensor sensor, int accuracy)
    [all...]
  /frameworks/base/services/core/java/com/android/server/
GestureLauncherService.java 27 import android.hardware.Sensor;
46 * The service that listens for gestures detected in sensor firmware and starts the intent
65 private Sensor mCameraLaunchSensor;
81 * How long the sensor 1 has been turned on since camera launch sensor was
83 * <p>Sensor 1 is the main sensor used to detect camera launch gesture.</p>
88 * If applicable, how long the sensor 2 has been turned on since camera
89 * launch sensor was subscribed to and when the last camera launch
91 * <p>Sensor 2 is the secondary sensor used to detect camera launch gesture
    [all...]
  /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;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
RVCVRecordActivity.java 23 import android.hardware.Sensor;
254 * Start the sensor recording
268 * Stop the sensor recording
296 * Wait until a sensor recording for a certain axis is fully covered
304 * Wait until a sensor recording for a certain axis is halfway covered
332 * Get the sensor log file path
333 * @return Path of the sensor log file
336 return new File(mRecordDir, "sensor.log").getPath();
468 * Get sensor information of the camera being used
663 * Log all raw sensor readings, for Rotation Vector sensor algorithms researc
    [all...]
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) {
  /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...]
  /frameworks/base/services/core/java/com/android/server/policy/
WindowOrientationListener.java 20 import android.hardware.Sensor;
58 private Sensor mSensor;
68 * @param handler Provides the Looper for receiving sensor updates.
78 * @param handler Provides the Looper for receiving sensor updates.
79 * @param rate at which sensor events are processed (see also
90 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_DEVICE_ORIENTATION);
98 ? Sensor.TYPE_GRAVITY : Sensor.TYPE_ACCELEROMETER);
107 * Enables the WindowOrientationListener so it will monitor the sensor and call
193 * Returns true if sensor is enabled and false otherwis
    [all...]
  /cts/tests/app/src/android/app/cts/
SystemFeaturesTest.java 33 import android.hardware.Sensor;
274 * Check that the sensor features reported by the PackageManager correspond to the sensors
281 Sensor.TYPE_ACCELEROMETER);
283 Sensor.TYPE_PRESSURE);
285 Sensor.TYPE_MAGNETIC_FIELD);
287 Sensor.TYPE_GYROSCOPE);
289 Sensor.TYPE_LIGHT);
291 Sensor.TYPE_PROXIMITY);
293 Sensor.TYPE_STEP_COUNTER);
295 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;
  /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...]
  /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/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/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/src/drivers/bosch_bmi160/
bosch_bmi160.c 208 #define kTimeSyncPeriodNs 100000000ull // sync sensor and RTC time every 100ms
995 // if this is the first data sensor fifo to enable, start to
996 // sync the sensor time and rtc time
    [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 %d\n", mSensorConfigList[i].listIndex,
  /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
122 proto.setType(ev.sensor.getType());
  /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...]
  /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...]
  /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;

Completed in 1415 milliseconds

<<1112131415161718