Home
last modified time | relevance | path

Searched refs:altitude (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/
DGeomagneticFieldTest.java55 private void assertMagneticField(float lat, float lon, float altitude, int year, int month, in assertMagneticField() argument
63 GeomagneticField field = new GeomagneticField(lat, lon, altitude, time); in assertMagneticField()
/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java55 float altitude; in testGetAltitude() local
60 altitude = SensorManager.getAltitude(r * SensorManager.PRESSURE_STANDARD_ATMOSPHERE, in testGetAltitude()
62 assertRoughlyEqual("getAltitude identity property violated.", altitude, 0.0f, 0.1f); in testGetAltitude()
68 altitude = SensorManager.getAltitude(SensorManager.PRESSURE_STANDARD_ATMOSPHERE, in testGetAltitude()
71 … assertTrue("getAltitude result has to decrease as p increase.", prevAltitude > altitude); in testGetAltitude()
72 prevAltitude = altitude; in testGetAltitude()
/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java112 public final float altitude; field in ExifInterfaceTest.ExpectedValue
172 altitude = typedArray.getFloat(index++, 0f); in ExpectedValue()
315 assertEquals(expectedValue.altitude, exifInterface.getAltitude(.0), DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1177 double longitude, double altitude, long timestamp, String method) in testGpsExifValues() argument
1182 parameters.setGpsAltitude(altitude); in testGpsExifValues()
1200 assertEquals(altitude, exif.getAltitude(-1), 1); in testGpsExifValues()