OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDefaultSensor
(Results
1 - 25
of
73
) sorted by null
1
2
3
/cts/tests/tests/hardware/src/android/hardware/cts/
SensorTest.java
97
Sensor sensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_ACCELEROMETER);
108
sensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_STEP_COUNTER);
119
sensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_STEP_DETECTOR);
130
sensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_HEART_RATE);
141
sensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_MAGNETIC_FIELD);
152
sensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_ORIENTATION);
159
sensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_TEMPERATURE);
210
Sensor curr_sensor = mSensorManager.
getDefaultSensor
(sensor.getType(), false);
212
assertFalse("
getDefaultSensor
wakeup=false returns a wake-up sensor" +
217
curr_sensor = mSensorManager.
getDefaultSensor
(sensor.getType(), true)
[
all
...]
/cts/tests/tests/view/src/android/view/cts/
OrientationEventListenerTest.java
45
boolean hasSensor = (sm.
getDefaultSensor
(Sensor.TYPE_ACCELEROMETER) != null);
/frameworks/native/include/gui/
SensorManager.h
55
Sensor const*
getDefaultSensor
(int type);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SensorManagerTest.java
45
Sensor sensor = sensorManager.
getDefaultSensor
(SensorManager.SENSOR_ACCELEROMETER);
54
sensorManager.unregisterListener(listener, sensorManager.
getDefaultSensor
(SensorManager.SENSOR_ACCELEROMETER));
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
SensorSynchronizationTestActivity.java
48
mSensorManager.
getDefaultSensor
(Sensor.TYPE_ACCELEROMETER),
51
mSensorManager.
getDefaultSensor
(Sensor.TYPE_MAGNETIC_FIELD),
54
mSensorManager.
getDefaultSensor
(Sensor.TYPE_GYROSCOPE),
RotationVectorTestActivity.java
169
mSensorManager.
getDefaultSensor
(Sensor.TYPE_ROTATION_VECTOR);
171
mSensorManager.
getDefaultSensor
(Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR);
173
mSensorManager.
getDefaultSensor
(Sensor.TYPE_GAME_ROTATION_VECTOR);
HeartRateMonitorTestActivity.java
54
mSensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_HEART_RATE);
/frameworks/base/policy/src/com/android/internal/policy/impl/
WakeGestureListener.java
46
mSensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_WAKE_GESTURE);
/hardware/ti/omap4xxx/camera/
SensorListener.cpp
205
sensor = mgr.
getDefaultSensor
(Sensor::TYPE_ACCELEROMETER);
224
sensor = mgr.
getDefaultSensor
(Sensor::TYPE_ACCELEROMETER);
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
MovementDetectorHelper.java
52
mAccelerometer = mSensorManager.
getDefaultSensor
(Sensor.TYPE_ACCELEROMETER);
TestSensorEnvironment.java
286
Sensor sensor = sensorManager.
getDefaultSensor
(sensorType);
/development/samples/ApiDemos/src/com/example/android/apis/os/
TriggerSensors.java
100
mSigMotion = mSensorManager.
getDefaultSensor
(Sensor.TYPE_SIGNIFICANT_MOTION);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
MotionSensor.java
56
mSensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_LINEAR_ACCELERATION);
/frameworks/native/services/sensorservice/tests/
sensorservicetest.cpp
73
Sensor const* accelerometer = mgr.
getDefaultSensor
(Sensor::TYPE_ACCELEROMETER);
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
Balls.java
88
mSensorManager.
getDefaultSensor
(Sensor.TYPE_ACCELEROMETER),
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
Compass.java
56
mSensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_ORIENTATION);
SensorTest.java
141
mSensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_ACCELEROMETER);
/frameworks/base/core/java/android/view/
OrientationEventListener.java
71
mSensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_ACCELEROMETER);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
MotionSensorWTime.java
62
mSensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_LINEAR_ACCELERATION);
/frameworks/native/libs/gui/
SensorManager.cpp
115
Sensor const* SensorManager::
getDefaultSensor
(int type)
/packages/apps/Dialer/src/com/android/dialer/
ProximitySensorManager.java
188
Sensor proximitySensor = sensorManager.
getDefaultSensor
(Sensor.TYPE_PROXIMITY);
/packages/apps/InCallUI/src/com/android/incallui/
AccelerometerListener.java
69
mSensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_ACCELEROMETER);
/development/samples/Compass/src/com/example/android/compass/
CompassActivity.java
77
Sensor gsensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_ACCELEROMETER);
78
Sensor msensor = mSensorManager.
getDefaultSensor
(Sensor.TYPE_MAGNETIC_FIELD);
/hardware/ti/omap4-aah/camera/
SensorListener.cpp
203
sensor = mgr.
getDefaultSensor
(android::Sensor::TYPE_ACCELEROMETER);
226
sensor = mgr.
getDefaultSensor
(android::Sensor::TYPE_ACCELEROMETER);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
PowerTestHostLink.java
214
if (mSensorManager.
getDefaultSensor
(sensorId) == null) {
399
mSensorManager.
getDefaultSensor
(sensorId), rateUs);
404
mSensorManager.
getDefaultSensor
(sensorId));
Completed in 2868 milliseconds
1
2
3