Home
last modified time | relevance | path

Searched refs:altitude (Results 1 – 2 of 2) 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()
DCameraTest.java1080 double longitude, double altitude, long timestamp, String method) in testGpsExifValues() argument
1085 parameters.setGpsAltitude(altitude); in testGpsExifValues()
1103 assertEquals(altitude, exif.getAltitude(-1), 1); in testGpsExifValues()