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.java57 new GeomagneticField(t.latitude, t.longitude, t.altitude, t.epochTimeMillis); in testGeomagneticField()
84 public final float altitude; field in GeomagneticFieldTest.TestDataPoint
94 altitude = alt; in TestDataPoint()
/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.java110 public final float altitude; field in ExifInterfaceTest.ExpectedValue
165 altitude = typedArray.getFloat(index++, 0f); in ExpectedValue()
310 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()