/cts/tests/tests/location/src/android/location/cts/ |
D | LocationTest.java | 17 package android.location.cts; 21 import android.location.Location; 22 import android.location.SettingInjectorService; 58 Location location = new Location(l); in testConstructor() local 59 assertTestLocation(location); in testConstructor() 72 Location location = new Location("LocationProvider"); in testDump() local 73 location.dump(printer, ""); in testDump() 78 Location location = new Location(""); in testBearingTo() local 82 location.setLatitude(39.9); in testBearingTo() 83 location.setLongitude(116.4); in testBearingTo() [all …]
|
D | LocationManagerTest.java | 17 package android.location.cts; 26 import android.location.Criteria; 27 import android.location.GnssStatus; 28 import android.location.GpsStatus; 29 import android.location.GpsStatus.Listener; 30 import android.location.GpsStatus.NmeaListener; 31 import android.location.Location; 32 import android.location.LocationListener; 33 import android.location.LocationManager; 34 import android.location.LocationProvider; [all …]
|
D | TestLocationListener.java | 16 package android.location.cts; 18 import android.location.Location; 19 import android.location.LocationListener; 20 import android.location.LocationManager; 41 public void onLocationChanged(Location location) { in onLocationChanged() argument
|
D | GnssMeasurementsEventCallbackTest.java | 17 package android.location.cts; 19 import android.location.GnssClock; 20 import android.location.GnssMeasurement; 21 import android.location.GnssMeasurementsEvent;
|
D | GnssMeasurementsEventTest.java | 17 package android.location.cts; 19 import android.location.GnssClock; 20 import android.location.GnssMeasurement; 21 import android.location.GnssMeasurementsEvent; 22 import android.location.GnssStatus;
|
D | GpsStatusTest.java | 17 package android.location.cts; 21 import android.location.GpsSatellite; 22 import android.location.GpsStatus; 23 import android.location.LocationManager;
|
D | LocationProviderTest.java | 17 package android.location.cts; 19 import android.location.Criteria; 20 import android.location.LocationManager; 21 import android.location.LocationProvider;
|
D | GpsSatelliteTest.java | 17 package android.location.cts; 21 import android.location.GpsSatellite; 22 import android.location.GpsStatus; 23 import android.location.LocationManager;
|
D | TestLocationManager.java | 17 package android.location.cts; 20 import android.location.GnssMeasurementsEvent; 21 import android.location.GnssNavigationMessage; 22 import android.location.GpsStatus; 23 import android.location.LocationListener; 24 import android.location.LocationManager;
|
D | TestGpsStatusListener.java | 17 package android.location.cts; 19 import android.location.GpsSatellite; 20 import android.location.GpsStatus; 21 import android.location.LocationManager;
|
D | GnssMeasurementRegistrationTest.java | 17 package android.location.cts; 19 import android.location.GnssMeasurement; 20 import android.location.GnssMeasurementsEvent; 21 import android.location.GpsStatus;
|
D | GnssMeasurementsConstellationTest.java | 17 package android.location.cts; 19 import android.location.GnssMeasurement; 20 import android.location.GnssMeasurementsEvent; 21 import android.location.GnssStatus;
|
D | GnssStatusCallbackTest.java | 17 package android.location.cts; 19 import android.location.GnssStatus;
|
D | GnssMeasurementWhenNoLocationTest.java | 17 package android.location.cts; 19 import android.location.GnssMeasurement; 20 import android.location.GnssMeasurementsEvent; 21 import android.location.GpsStatus;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | sample.rs | 27 static bool sub_test_RGBA_1D(rs_allocation alloc1D, float location, float lod, 30 float4 result = rsSample(alloc1D, gNearest, location, lod); 33 result = rsSample(alloc1D, gLinear, location, lod); 36 result = rsSample(alloc1D, gMipNearest, location, lod); 39 result = rsSample(alloc1D, gMipLinear, location, lod); 44 static bool sub_test_RGBA_2D(rs_allocation alloc2D, float2 location, float lod, 47 float4 result = rsSample(alloc2D, gNearest, location, lod); 50 result = rsSample(alloc2D, gLinear, location, lod); 53 result = rsSample(alloc2D, gMipNearest, location, lod); 56 result = rsSample(alloc2D, gMipLinear, location, lod); [all …]
|
/cts/tests/tests/location2/src/android/location2/cts/ |
D | LocationManagerTest.java | 24 import android.location.Criteria; 25 import android.location.GpsStatus.Listener; 26 import android.location.GpsStatus.NmeaListener; 27 import android.location.Location; 28 import android.location.LocationListener; 29 import android.location.LocationManager; 155 final Location location = mManager.getLastKnownLocation(providerName); in doTestGetLocationUpdates_withIntent() local 156 assertEquals(providerName, location.getProvider()); in doTestGetLocationUpdates_withIntent() 158 assertEquals(3000.0f, location.getAccuracy()); in doTestGetLocationUpdates_withIntent() 159 assertEquals(LAT, location.getLatitude(), FUDGER_DELTA); in doTestGetLocationUpdates_withIntent() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationVerifier.java | 17 package com.android.cts.verifier.location; 19 import android.location.Location; 20 import android.location.LocationListener; 21 import android.location.LocationManager; 78 public void onLocationChanged(Location location) { in onLocationChanged() argument 85 long timestamp = location.getTime(); in onLocationChanged() 93 if (location.isFromMockProvider() != mIsMockProvider) { in onLocationChanged() 96 location.isFromMockProvider()); in onLocationChanged() 158 public void onLocationChanged(Location location) { in onLocationChanged() argument 160 if (!location.getProvider().equals(mProvider)) return; in onLocationChanged() [all …]
|
D | GnssMeasurementRegistrationTestsActivity.java | 17 package com.android.cts.verifier.location; 19 import android.location.cts.GnssMeasurementRegistrationTest; 20 import com.android.cts.verifier.location.base.GnssCtsTestActivity;
|
D | GnssMeasurementValuesTestsActivity.java | 17 package com.android.cts.verifier.location; 19 import android.location.cts.GnssMeasurementValuesTest; 20 import com.android.cts.verifier.location.base.GnssCtsTestActivity;
|
D | GnssMeasurementWhenNoLocationTestsActivity.java | 17 package com.android.cts.verifier.location; 19 import android.location.cts.GnssMeasurementWhenNoLocationTest; 20 import com.android.cts.verifier.location.base.GnssCtsTestActivity;
|
D | GnssMeasurementsConstellationTestsActivity.java | 17 package com.android.cts.verifier.location; 19 import android.location.cts.GnssMeasurementsConstellationTest; 20 import com.android.cts.verifier.location.base.GnssCtsTestActivity;
|
D | GnssNavigationMessageTestsActivity.java | 17 package com.android.cts.verifier.location; 19 import android.location.cts.GnssNavigationMessageTest; 20 import com.android.cts.verifier.location.base.GnssCtsTestActivity;
|
D | LocationListenerActivity.java | 1 package com.android.cts.verifier.location; 5 import android.location.Location; 6 import android.location.LocationListener; 7 import android.location.LocationManager; 81 public void onLocationChanged(Location location) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | NinePatchTest.java | 165 Rect location = new Rect(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); in testGetTransparentRegion() local 166 Region region = mNinePatch.getTransparentRegion(location); in testGetTransparentRegion() 175 location = new Rect(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); in testGetTransparentRegion() 176 region = mNinePatch.getTransparentRegion(location); in testGetTransparentRegion() 181 location = new Rect(0, 0, mBitmap.getWidth() * 2, mBitmap.getHeight() * 2); in testGetTransparentRegion() 182 region = mNinePatch.getTransparentRegion(location); in testGetTransparentRegion() 193 location = new Rect(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); in testGetTransparentRegion() 194 region = mNinePatch.getTransparentRegion(location); in testGetTransparentRegion() 199 location = new Rect(0, 0, mBitmap.getWidth() * 2, mBitmap.getHeight() * 2); in testGetTransparentRegion() 200 region = mNinePatch.getTransparentRegion(location); in testGetTransparentRegion()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoLocationPermissionTest.java | 23 import android.location.Location; 24 import android.location.LocationListener; 25 import android.location.LocationManager; 371 Location location = new Location(TEST_PROVIDER_NAME); in testSetTestProviderLocation() local 372 location.makeComplete(); in testSetTestProviderLocation() 375 mLocationManager.setTestProviderLocation(TEST_PROVIDER_NAME, location); in testSetTestProviderLocation() 469 public void onLocationChanged(Location location) { in onLocationChanged() argument
|