/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; 62 Location location = new Location(l); in testConstructor() local 63 assertTestLocation(location); in testConstructor() 76 Location location = new Location("LocationProvider"); in testDump() local 77 location.dump(printer, ""); in testDump() 82 Location location = new Location(""); in testBearingTo() local 86 location.setLatitude(39.9); in testBearingTo() 87 location.setLongitude(116.4); in testBearingTo() [all …]
|
D | GnssLocationValuesTest.java | 17 package android.location.cts; 19 import android.location.Location; 78 for (Location location : mLocationListener.getReceivedLocationList()) { in testAccuracyFields() 79 checkLocationAccuracyFields(softAssert, location, in testAccuracyFields() 87 Location location, boolean extendedLocationAccuracyExpected) { in checkLocationAccuracyFields() argument 89 + "should have a horizontal accuracy.", location.hasAccuracy()); in checkLocationAccuracyFields() 90 if (location.hasAccuracy()) { in checkLocationAccuracyFields() 92 location.getAccuracy() > 0); in checkLocationAccuracyFields() 100 if (location.hasSpeed() && location.getSpeed() > MINIMUM_SPEED_FOR_BEARING) { in checkLocationAccuracyFields() 104 location.hasBearingAccuracy()); in checkLocationAccuracyFields() [all …]
|
D | LocationManagerTest.java | 17 package android.location.cts; 25 import android.location.Criteria; 26 import android.location.GnssStatus; 27 import android.location.Location; 28 import android.location.LocationListener; 29 import android.location.LocationManager; 30 import android.location.LocationProvider; 31 import android.location.OnNmeaMessageListener; 337 Location location = listener.getLocation(); in doLocationUpdatesWithLocationListener() local 338 assertEquals(providerName, location.getProvider()); in doLocationUpdatesWithLocationListener() [all …]
|
D | TestLocationListener.java | 16 package android.location.cts; 18 import android.location.Location; 19 import android.location.LocationListener; 20 import android.location.LocationManager; 46 public void onLocationChanged(Location location) { in onLocationChanged() argument 48 mLocationList.add(location); in onLocationChanged()
|
/cts/tests/tests/location2/src/android/location2/cts/ |
D | LocationManagerTest.java | 24 import android.location.Criteria; 25 import android.location.Location; 26 import android.location.LocationListener; 27 import android.location.LocationManager; 147 Location location = new Location(providerName); in testGnssProvidedClock() local 149 location.setLatitude(0); in testGnssProvidedClock() 150 location.setLongitude(0); in testGnssProvidedClock() 151 location.setAccuracy(0); in testGnssProvidedClock() 152 location.setElapsedRealtimeNanos(elapsed); in testGnssProvidedClock() 153 location.setTime(1); in testGnssProvidedClock() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | sample.rscript | 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/location/src/android/location/cts/suplClient/ |
D | SuplRrlpMessagesGenerator.java | 17 package android.location.cts.suplClient; 19 import android.location.cts.asn1.base.PacketBuilder; 20 import android.location.cts.asn1.supl2.rrlp_messages.PDU; 21 import android.location.cts.asn1.supl2.supl_pos.PosPayLoad; 22 import android.location.cts.asn1.supl2.supl_pos.SUPLPOS; 23 import android.location.cts.asn1.supl2.supl_pos_init.NavigationModel; 24 import android.location.cts.asn1.supl2.supl_pos_init.RequestedAssistData; 25 import android.location.cts.asn1.supl2.supl_pos_init.SUPLPOSINIT; 26 import android.location.cts.asn1.supl2.supl_start.PosProtocol; 27 import android.location.cts.asn1.supl2.supl_start.PosTechnology; [all …]
|
/cts/tests/tests/permission/AppThatAccessesLocationOnCommand/src/android/permission/cts/appthataccesseslocation/ |
D | AccessLocationOnCommand.java | 19 import static android.location.Criteria.ACCURACY_FINE; 23 import android.location.Criteria; 24 import android.location.Location; 25 import android.location.LocationListener; 26 import android.location.LocationManager; 42 public void onLocationChanged(Location location) { in getLocation()
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/map_extensiondatatypes/ |
D | PrivateExtension.java | 17 package android.location.cts.asn1.supl2.map_extensiondatatypes; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent;
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_report/ |
D | SessionInformation.java | 17 package android.location.cts.asn1.supl2.supl_report; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.ulp_components.SessionID;
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp_version_2_message_extensions/ |
D | Ver2_SUPL_END_extension.java | 17 package android.location.cts.asn1.supl2.ulp_version_2_message_extensions; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.supl_start.SETCapabilities;
|
D | Ver2_SUPL_POS_INIT_extension.java | 17 package android.location.cts.asn1.supl2.ulp_version_2_message_extensions; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.ver2_ulp_components.MultipleLocationIds; 33 import android.location.cts.asn1.supl2.ver2_ulp_components.UTRAN_GANSSReferenceTimeResult; [all …]
|
D | Ver2_SUPL_POS_extension.java | 17 package android.location.cts.asn1.supl2.ulp_version_2_message_extensions; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.ver2_ulp_components.UTRAN_GANSSReferenceTimeAssistance; 33 import android.location.cts.asn1.supl2.ver2_ulp_components.UTRAN_GANSSReferenceTimeResult; [all …]
|
D | Ver2_SUPL_START_extension.java | 17 package android.location.cts.asn1.supl2.ulp_version_2_message_extensions; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.ulp_components.Position; 33 import android.location.cts.asn1.supl2.ver2_ulp_components.ApplicationID; [all …]
|
D | Ver2_SUPL_RESPONSE_extension.java | 17 package android.location.cts.asn1.supl2.ulp_version_2_message_extensions; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.ulp_components.Position; 33 import android.location.cts.asn1.supl2.ver2_ulp_components.GNSSPosTechnology; [all …]
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_notify/ |
D | Ver2_SUPLNOTIFY.java | 17 package android.location.cts.asn1.supl2.supl_notify; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.supl_init.Notification;
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/rrlp_components/ |
D | GANSSRefLocation.java | 17 package android.location.cts.asn1.supl2.rrlp_components; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.map_lcs_datatypes.Ext_GeographicalInformation;
|
D | RefLocation.java | 17 package android.location.cts.asn1.supl2.rrlp_components; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.map_lcs_datatypes.Ext_GeographicalInformation;
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_triggered_stop/ |
D | Ver2_SUPLTRIGGEREDSTOP.java | 17 package android.location.cts.asn1.supl2.supl_triggered_stop; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.ulp_components.StatusCode;
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_auth_req/ |
D | SUPLAUTHREQ.java | 17 package android.location.cts.asn1.supl2.supl_auth_req; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.supl_start.SETCapabilities; 33 import android.location.cts.asn1.supl2.ulp_components.Ver;
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_auth_resp/ |
D | SUPLAUTHRESP.java | 17 package android.location.cts.asn1.supl2.supl_auth_resp; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.ver2_ulp_components.SPCSETKey; 33 import android.location.cts.asn1.supl2.ver2_ulp_components.SPCSETKeylifetime; [all …]
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_set_init/ |
D | Ver2_SUPLSETINIT.java | 17 package android.location.cts.asn1.supl2.supl_set_init; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.ulp_components.QoP; 33 import android.location.cts.asn1.supl2.ulp_components.SETId; [all …]
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_end/ |
D | SUPLEND.java | 17 package android.location.cts.asn1.supl2.supl_end; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.ulp_components.Position; 33 import android.location.cts.asn1.supl2.ulp_components.StatusCode; [all …]
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp/ |
D | UlpMessage.java | 17 package android.location.cts.asn1.supl2.ulp; 25 import android.location.cts.asn1.base.Asn1Choice; 26 import android.location.cts.asn1.base.Asn1Null; 27 import android.location.cts.asn1.base.Asn1Object; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.ChoiceComponent; 32 import android.location.cts.asn1.supl2.supl_auth_req.SUPLAUTHREQ; 33 import android.location.cts.asn1.supl2.supl_auth_resp.SUPLAUTHRESP; [all …]
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_pos/ |
D | SUPLPOS.java | 17 package android.location.cts.asn1.supl2.supl_pos; 25 import android.location.cts.asn1.base.Asn1Null; 26 import android.location.cts.asn1.base.Asn1Object; 27 import android.location.cts.asn1.base.Asn1Sequence; 28 import android.location.cts.asn1.base.Asn1Tag; 29 import android.location.cts.asn1.base.BitStream; 30 import android.location.cts.asn1.base.BitStreamReader; 31 import android.location.cts.asn1.base.SequenceComponent; 32 import android.location.cts.asn1.supl2.ulp_components.Velocity; 33 import android.location.cts.asn1.supl2.ulp_version_2_message_extensions.Ver2_SUPL_POS_extension;
|