/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | GeomagneticFieldTest.java | 57 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/ |
D | LocationManagerTest.java | 923 double longitude = 40; in testLocationShouldStillBeMarkedMockWhenProvidersDoNotMatch() local 934 updateLocationAndWait(TEST_MOCK_PROVIDER_NAME, realProviderToFool, latitude, longitude); in testLocationShouldStillBeMarkedMockWhenProvidersDoNotMatch() 1050 private void updateLocationAndWait(String providerName, double latitude, double longitude) in updateLocationAndWait() argument 1052 updateLocationAndWait(providerName, providerName, latitude, longitude); in updateLocationAndWait() 1065 double latitude, double longitude) throws InterruptedException { in updateLocationAndWait() argument 1075 updateLocation(testProviderName, locationProviderName, latitude, longitude); in updateLocationAndWait() 1082 assertEquals("Bad longitude", longitude, location.getLongitude()); in updateLocationAndWait() 1101 private void registerProximityListener(double latitude, double longitude, float radius, in registerProximityListener() argument 1104 mManager.addProximityAlert(latitude, longitude, radius, expiration, mPendingIntent); in registerProximityListener() 1135 final double longitude) { in updateLocation() argument [all …]
|
D | AddressTest.java | 134 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/ |
D | LocationManagerTest.java | 291 final double longitude) { 294 nlocation.setLongitude(longitude); 301 location.setLongitude(longitude);
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CellInfoTest.java | 383 int longitude = cdma.getLongitude(); in verifyCellIdentityCdma() local 384 assertTrue("getLongitude() out of range [-2592000,2592000], longitude=" + longitude, in verifyCellIdentityCdma() 385 longitude == Integer.MAX_VALUE in verifyCellIdentityCdma() 386 || (longitude >= -LONGITUDE && longitude <= LONGITUDE)); in verifyCellIdentityCdma()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ExifInterfaceTest.java | 109 public final float longitude; field in ExifInterfaceTest.ExpectedValue 164 longitude = typedArray.getFloat(index++, 0f); in ExpectedValue() 302 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
|
D | MediaMuxerTest.java | 648 float longitude = Float.parseFloat(location.substring(index, lastIndex - 1)); in verifyLocationInFile() local 651 assertTrue("Incorrect longitude: " + longitude + " [" + location + "]", in verifyLocationInFile() 652 Math.abs(longitude - LONGITUDE) <= TOLERANCE); in verifyLocationInFile()
|
D | MediaRecorderTest.java | 529 float longitude = Float.parseFloat(location.substring(index, lastIndex - 1)); in checkLocationInFile() local 531 … assertTrue("Incorrect longitude: " + longitude, Math.abs(longitude - LONGITUDE) <= TOLERANCE); in checkLocationInFile()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 1177 double longitude, double altitude, long timestamp, String method) in testGpsExifValues() argument 1181 parameters.setGpsLongitude(longitude); in testGpsExifValues() 1199 assertEquals((float)longitude, latLong[1], 0.0001f); in testGpsExifValues()
|