Home
last modified time | relevance | path

Searched refs:longitude (Results 1 – 9 of 9) 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()
83 public final float longitude; field in GeomagneticFieldTest.TestDataPoint
93 longitude = lng; in TestDataPoint()
/cts/tests/tests/location/src/android/location/cts/
DLocationManagerTest.java1004 double longitude = 40; in testLocationShouldStillBeMarkedMockWhenProvidersDoNotMatch() local
1015 updateLocationAndWait(TEST_MOCK_PROVIDER_NAME, realProviderToFool, latitude, longitude); in testLocationShouldStillBeMarkedMockWhenProvidersDoNotMatch()
1176 private void updateLocationAndWait(String providerName, double latitude, double longitude) in updateLocationAndWait() argument
1178 updateLocationAndWait(providerName, providerName, latitude, longitude); in updateLocationAndWait()
1191 double latitude, double longitude) throws InterruptedException { in updateLocationAndWait() argument
1201 updateLocation(testProviderName, locationProviderName, latitude, longitude); in updateLocationAndWait()
1208 assertEquals("Bad longitude", longitude, location.getLongitude()); in updateLocationAndWait()
1227 private void registerProximityListener(double latitude, double longitude, float radius, in registerProximityListener() argument
1230 mManager.addProximityAlert(latitude, longitude, radius, expiration, mPendingIntent); in registerProximityListener()
1261 final double longitude) { in updateLocation() argument
[all …]
DAddressTest.java134 double longitude = 1.23456789; in testAccessLongitude() local
135 address.setLongitude(longitude); in testAccessLongitude()
137 assertEquals(longitude, address.getLongitude()); in testAccessLongitude()
/cts/tests/tests/location2/src/android/location2/cts/
DLocationManagerTest.java305 final double longitude) { in updateLocation() argument
308 nlocation.setLongitude(longitude); in updateLocation()
315 location.setLongitude(longitude); in updateLocation()
/cts/tests/tests/telephony/src/android/telephony/cts/
DCellInfoTest.java202 int longitude = cdma.getLongitude(); in verifyCellIdentityCdma() local
203 assertTrue("getLongitude() out of range [-2592000,2592000], longitude=" + longitude, in verifyCellIdentityCdma()
204longitude == Integer.MAX_VALUE || (longitude >= -LONGITUDE && longitude <= LONGITUDE)); in verifyCellIdentityCdma()
/cts/tests/tests/media/src/android/media/cts/
DMediaMuxerTest.java499 float longitude = Float.parseFloat(location.substring(index, lastIndex - 1)); in verifyLocationInFile() local
502 assertTrue("Incorrect longitude: " + longitude + " [" + location + "]", in verifyLocationInFile()
503 Math.abs(longitude - LONGITUDE) <= TOLERANCE); in verifyLocationInFile()
DExifInterfaceTest.java106 public final float longitude; field in ExifInterfaceTest.ExpectedValue
152 longitude = typedArray.getFloat(index++, 0f); in ExpectedValue()
271 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
DMediaRecorderTest.java526 float longitude = Float.parseFloat(location.substring(index, lastIndex - 1)); in checkLocationInFile() local
528 … assertTrue("Incorrect longitude: " + longitude, Math.abs(longitude - LONGITUDE) <= TOLERANCE); in checkLocationInFile()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1139 double longitude, double altitude, long timestamp, String method) in testGpsExifValues() argument
1143 parameters.setGpsLongitude(longitude); in testGpsExifValues()
1161 assertEquals((float)longitude, latLong[1], 0.0001f); in testGpsExifValues()