/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | GeomagneticFieldTest.java | 57 new GeomagneticField(t.latitude, t.longitude, t.altitude, t.epochTimeMillis); in testGeomagneticField() 82 public final float latitude; field in GeomagneticFieldTest.TestDataPoint 92 latitude = lat; in TestDataPoint()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | LocationManagerTest.java | 922 double latitude = 20; 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() 1081 assertEquals("Bad latitude", latitude, location.getLatitude()); 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() 1134 private void updateLocation(final String providerName, final double latitude, in updateLocation() argument [all …]
|
D | AddressTest.java | 116 double latitude = 1.23456789; in testAccessLatitude() local 117 address.setLatitude(latitude); in testAccessLatitude() 119 assertEquals(latitude, address.getLatitude()); in testAccessLatitude()
|
/cts/tests/tests/location2/src/android/location2/cts/ |
D | LocationManagerTest.java | 290 private void updateLocation(final String providerName, final double latitude, 293 nlocation.setLatitude(latitude); 300 location.setLatitude(latitude);
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CellInfoTest.java | 388 int latitude = cdma.getLatitude(); in verifyCellIdentityCdma() local 389 assertTrue("getLatitude() out of range [-1296000,1296000], latitude=" + latitude, in verifyCellIdentityCdma() 390 latitude == Integer.MAX_VALUE || (latitude >= -LATITUDE && latitude <= LATITUDE)); in verifyCellIdentityCdma()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ExifInterfaceTest.java | 106 public final float latitude; field in ExifInterfaceTest.ExpectedValue 163 latitude = typedArray.getFloat(index++, 0f); in ExpectedValue() 301 assertEquals(expectedValue.latitude, latLong[0], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
|
D | MediaMuxerTest.java | 643 float latitude = Float.parseFloat(location.substring(0, index - 1)); in verifyLocationInFile() local 649 assertTrue("Incorrect latitude: " + latitude + " [" + location + "]", in verifyLocationInFile() 650 Math.abs(latitude - LATITUDE) <= TOLERANCE); in verifyLocationInFile()
|
D | MediaRecorderTest.java | 524 float latitude = Float.parseFloat(location.substring(0, index - 1)); in checkLocationInFile() local 530 assertTrue("Incorrect latitude: " + latitude, Math.abs(latitude - LATITUDE) <= TOLERANCE); in checkLocationInFile()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 1176 private void testGpsExifValues(Parameters parameters, double latitude, in testGpsExifValues() argument 1180 parameters.setGpsLatitude(latitude); in testGpsExifValues() 1198 assertEquals((float)latitude, latLong[0], 0.0001f); in testGpsExifValues()
|