Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/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.java91 public final float altitude; field in ExifInterfaceTest.ExpectedValue
134 altitude = typedArray.getFloat(6, 0f); in ExpectedValue()
293 assertEquals(expectedValue.altitude, exifInterface.getAltitude(.0), DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1078 double longitude, double altitude, long timestamp, String method) in testGpsExifValues() argument
1083 parameters.setGpsAltitude(altitude); in testGpsExifValues()
1101 assertEquals(altitude, exif.getAltitude(-1), 1); in testGpsExifValues()