/cts/tests/tests/hardware/src/android/hardware/cts/ |
SensorIntegrationTests.java | 73 Sensor.TYPE_MAGNETIC_FIELD, 135 Sensor.TYPE_MAGNETIC_FIELD, 177 verifySensorStoppingInteraction(Sensor.TYPE_ACCELEROMETER, Sensor.TYPE_MAGNETIC_FIELD); 189 verifySensorStoppingInteraction(Sensor.TYPE_GYROSCOPE, Sensor.TYPE_MAGNETIC_FIELD); 193 verifySensorStoppingInteraction(Sensor.TYPE_MAGNETIC_FIELD, Sensor.TYPE_ACCELEROMETER); 197 verifySensorStoppingInteraction(Sensor.TYPE_MAGNETIC_FIELD, Sensor.TYPE_GYROSCOPE); 201 verifySensorStoppingInteraction(Sensor.TYPE_MAGNETIC_FIELD, Sensor.TYPE_MAGNETIC_FIELD);
|
SensorSupportTest.java | 68 checkSupportsSensor(Sensor.TYPE_MAGNETIC_FIELD); 101 if (sensorType == Sensor.TYPE_MAGNETIC_FIELD ||
|
SingleSensorTests.java | 118 expectedProperties.put(Sensor.TYPE_MAGNETIC_FIELD, new Object[]{100000}); 178 runSensorTest(Sensor.TYPE_MAGNETIC_FIELD, SensorManager.SENSOR_DELAY_FASTEST); 182 runSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_200HZ); 186 runSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_100HZ); 190 runSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_50HZ); 194 runSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_25HZ); 198 runSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_15HZ); 202 runSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_10HZ); 206 runSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_5HZ); 210 runSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_1HZ) [all...] |
SensorBatchingTests.java | 75 runBatchingSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_FASTEST, BATCHING_PERIOD); 79 runBatchingSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_50HZ, BATCHING_PERIOD); 83 runFlushSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_FASTEST, BATCHING_PERIOD); 87 runFlushSensorTest(Sensor.TYPE_MAGNETIC_FIELD, RATE_50HZ, BATCHING_PERIOD);
|
SensorParameterRangeTest.java | 96 mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD),
|
SensorTest.java | 158 sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); 163 assertEquals(Sensor.TYPE_MAGNETIC_FIELD, sensor.getType()); 467 if (mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD) != null) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
MagneticFieldMeasurementTestActivity.java | 78 Sensor.TYPE_MAGNETIC_FIELD, 123 Sensor.TYPE_MAGNETIC_FIELD, 145 Sensor.TYPE_MAGNETIC_FIELD, 170 Sensor.TYPE_MAGNETIC_FIELD,
|
SensorSynchronizationTestActivity.java | 51 mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD), 83 } else if (event.sensor.getType() == Sensor.TYPE_MAGNETIC_FIELD) {
|
DeviceSuspendTestActivity.java | 142 Sensor wakeUpSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD,true); 144 throw new SensorNotSupportedException(Sensor.TYPE_MAGNETIC_FIELD, true); 166 Sensor wakeUpSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD,true); 168 throw new SensorNotSupportedException(Sensor.TYPE_MAGNETIC_FIELD, true);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorNotSupportedException.java | 43 case Sensor.TYPE_MAGNETIC_FIELD:
|
SensorCtsHelper.java | 279 case Sensor.TYPE_MAGNETIC_FIELD:
|
/packages/apps/Camera2/src/com/android/camera/hardware/ |
HeadingSensor.java | 61 mMagneticSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); 110 } else if (type == Sensor.TYPE_MAGNETIC_FIELD) {
|
/frameworks/base/core/java/android/hardware/ |
LegacySensorManager.java | 77 case Sensor.TYPE_MAGNETIC_FIELD: 97 Sensor.TYPE_MAGNETIC_FIELD, listener, sensors, rate) || result; 150 unregisterLegacyListener(SensorManager.SENSOR_MAGNETIC_FIELD, Sensor.TYPE_MAGNETIC_FIELD, 357 case Sensor.TYPE_MAGNETIC_FIELD:
|
Sensor.java | 53 public static final int TYPE_MAGNETIC_FIELD = 2; 58 * @see #TYPE_MAGNETIC_FIELD 235 * Similar to {@link #TYPE_MAGNETIC_FIELD} but the hard iron calibration (device calibration [all...] |
/frameworks/native/include/gui/ |
Sensor.h | 49 TYPE_MAGNETIC_FIELD = ASENSOR_TYPE_MAGNETIC_FIELD,
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
StandardDeviationVerification.java | 112 DEFAULTS.put(Sensor.TYPE_MAGNETIC_FIELD, new float[]{mMagNoise, mMagNoise, mMagNoise}); 215 DEFAULTS.put(Sensor.TYPE_MAGNETIC_FIELD,
|
JitterVerification.java | 173 DEFAULTS.put(Sensor.TYPE_MAGNETIC_FIELD, Integer.MAX_VALUE);
|
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 78 Sensor msensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); 213 } else if (type == Sensor.TYPE_MAGNETIC_FIELD) {
|
/sdk/testapps/testSensors/src/com/android/tests/testsensors/ |
TestSensorsActivity.java | 106 case Sensor.TYPE_MAGNETIC_FIELD:
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
SensorManagerFacade.java | 169 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_MAGNETIC_FIELD)) { 344 case Sensor.TYPE_MAGNETIC_FIELD:
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/ |
SensorChannel.java | 406 case Sensor.TYPE_MAGNETIC_FIELD:
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
PowerTestHostLink.java | 361 sensorId = Sensor.TYPE_MAGNETIC_FIELD;
|
/cts/tests/app/src/android/app/cts/ |
SystemFeaturesTest.java | 295 Sensor.TYPE_MAGNETIC_FIELD);
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidInput.java | 711 Sensor sensor = manager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD);
923 if (event.sensor.getType() == Sensor.TYPE_MAGNETIC_FIELD) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsService.java | 229 mMagSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); 660 } else if (event.sensor.getType() == Sensor.TYPE_MAGNETIC_FIELD) { [all...] |