OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TYPE_ACCELEROMETER
(Results
1 - 25
of
68
) sorted by null
1
2
3
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
AccelerometerTestActivity.java
52
new GLArrowSensorTestRenderer(this, Sensor.
TYPE_ACCELEROMETER
);
74
Sensor.
TYPE_ACCELEROMETER
).get(0), SensorManager.SENSOR_DELAY_UI);
DeviceSuspendTestActivity.java
126
Sensor wakeUpSensor = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
, true);
128
throw new SensorNotSupportedException(Sensor.
TYPE_ACCELEROMETER
, true);
150
Sensor wakeUpSensor = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
, true);
152
throw new SensorNotSupportedException(Sensor.
TYPE_ACCELEROMETER
, true);
174
Sensor accel = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
176
throw new SensorNotSupportedException(Sensor.
TYPE_ACCELEROMETER
, false);
182
Sensor accel = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
184
throw new SensorNotSupportedException(Sensor.
TYPE_ACCELEROMETER
, false);
SensorSynchronizationTestActivity.java
48
mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
),
75
if (event.sensor.getType() == Sensor.
TYPE_ACCELEROMETER
) {
AccelerometerMeasurementTestActivity.java
97
Sensor.
TYPE_ACCELEROMETER
,
/cts/tests/tests/hardware/src/android/hardware/cts/
SensorIntegrationTests.java
72
Sensor.
TYPE_ACCELEROMETER
,
134
Sensor.
TYPE_ACCELEROMETER
,
169
verifySensorStoppingInteraction(Sensor.
TYPE_ACCELEROMETER
, Sensor.
TYPE_ACCELEROMETER
);
173
verifySensorStoppingInteraction(Sensor.
TYPE_ACCELEROMETER
, Sensor.TYPE_GYROSCOPE);
177
verifySensorStoppingInteraction(Sensor.
TYPE_ACCELEROMETER
, Sensor.TYPE_MAGNETIC_FIELD);
181
verifySensorStoppingInteraction(Sensor.TYPE_GYROSCOPE, Sensor.
TYPE_ACCELEROMETER
);
193
verifySensorStoppingInteraction(Sensor.TYPE_MAGNETIC_FIELD, Sensor.
TYPE_ACCELEROMETER
);
SensorSupportTest.java
56
checkSupportsSensor(Sensor.
TYPE_ACCELEROMETER
);
103
sensorType == Sensor.
TYPE_ACCELEROMETER
) {
SingleSensorTests.java
112
expectedProperties.put(Sensor.
TYPE_ACCELEROMETER
, new Object[]{20000});
115
expectedProperties.put(Sensor.
TYPE_ACCELEROMETER
, new Object[]{10000});
142
runSensorTest(Sensor.
TYPE_ACCELEROMETER
, SensorManager.SENSOR_DELAY_FASTEST);
146
runSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_100HZ);
150
runSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_200HZ);
154
runSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_50HZ);
158
runSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_25HZ);
162
runSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_15HZ);
166
runSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_10HZ);
170
runSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_5HZ)
[
all
...]
SensorBatchingFifoTest.java
54
Sensor.
TYPE_ACCELEROMETER
,
55
getReservedFifoLength(Sensor.
TYPE_ACCELEROMETER
));
SensorTest.java
114
Sensor sensor = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
119
assertEquals(Sensor.
TYPE_ACCELEROMETER
, sensor.getType());
256
mTriggerSensor = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
258
throw new SensorNotSupportedException(Sensor.
TYPE_ACCELEROMETER
);
266
mTriggerSensor = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
268
throw new SensorNotSupportedException(Sensor.
TYPE_ACCELEROMETER
);
288
Sensor sensor = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
290
throw new SensorNotSupportedException(Sensor.
TYPE_ACCELEROMETER
);
464
if (mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
) != null) {
SensorParameterRangeTest.java
80
mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
),
134
checkMinFifoLength(Sensor.
TYPE_ACCELEROMETER
, ACCELEROMETER_MIN_FIFO_LENGTH);
SensorBatchingTests.java
59
runBatchingSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_FASTEST, BATCHING_PERIOD);
63
runBatchingSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_50HZ, BATCHING_PERIOD);
67
runFlushSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_FASTEST, BATCHING_PERIOD);
71
runFlushSensorTest(Sensor.
TYPE_ACCELEROMETER
, RATE_50HZ, BATCHING_PERIOD);
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
SensorNotSupportedException.java
41
case Sensor.
TYPE_ACCELEROMETER
:
MovementDetectorHelper.java
52
mAccelerometer = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
54
throw new SensorNotSupportedException(Sensor.
TYPE_ACCELEROMETER
);
/cts/tests/tests/view/src/android/view/cts/
OrientationEventListenerTest.java
45
boolean hasSensor = (sm.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
) != null);
/frameworks/native/services/sensorservice/tests/
sensorservicetest.cpp
47
if (buffer[i].type == Sensor::
TYPE_ACCELEROMETER
) {
74
Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::
TYPE_ACCELEROMETER
);
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
Balls.java
62
if (event.sensor.getType() == Sensor.
TYPE_ACCELEROMETER
) {
88
mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
),
/packages/apps/Camera2/src/com/android/camera/hardware/
HeadingSensor.java
60
mAccelerometerSensor = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
108
if (type == Sensor.
TYPE_ACCELEROMETER
) {
/hardware/ti/omap4xxx/camera/
SensorListener.cpp
49
if (sen_events[i].type == Sensor::
TYPE_ACCELEROMETER
) {
205
sensor = mgr.getDefaultSensor(Sensor::
TYPE_ACCELEROMETER
);
224
sensor = mgr.getDefaultSensor(Sensor::
TYPE_ACCELEROMETER
);
/frameworks/base/core/java/android/view/
OrientationEventListener.java
71
mSensor = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
139
mOldListener.onSensorChanged(Sensor.
TYPE_ACCELEROMETER
, event.values);
/frameworks/base/core/java/android/hardware/
LegacySensorManager.java
74
case Sensor.
TYPE_ACCELEROMETER
:
95
Sensor.
TYPE_ACCELEROMETER
, listener, sensors, rate) || result;
148
unregisterLegacyListener(SensorManager.SENSOR_ACCELEROMETER, Sensor.
TYPE_ACCELEROMETER
,
355
case Sensor.
TYPE_ACCELEROMETER
:
/hardware/ti/omap4-aah/camera/
SensorListener.cpp
47
if (sen_events[i].type == android::Sensor::
TYPE_ACCELEROMETER
) {
203
sensor = mgr.getDefaultSensor(android::Sensor::
TYPE_ACCELEROMETER
);
226
sensor = mgr.getDefaultSensor(android::Sensor::
TYPE_ACCELEROMETER
);
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
EventBasicVerificationTest.java
47
Sensor sensor2 = mgr.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
MagnitudeVerification.java
129
DEFAULTS.put(Sensor.
TYPE_ACCELEROMETER
, new Float[]{SensorManager.STANDARD_GRAVITY, 1.5f});
/frameworks/native/include/gui/
Sensor.h
48
TYPE_ACCELEROMETER
= ASENSOR_TYPE_ACCELEROMETER,
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
AccelerometerListener.java
68
mSensor = mSensorManager.getDefaultSensor(Sensor.
TYPE_ACCELEROMETER
);
Completed in 1027 milliseconds
1
2
3