Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 699) sorted by relevance

12345678910>>...28

/cts/tests/tests/location/src/android/location/cts/
DLocationTest.java17 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 …]
DGnssLocationValuesTest.java17 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 …]
DLocationManagerTest.java17 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 …]
DTestLocationListener.java16 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/
DLocationManagerTest.java24 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/
Dsample.rscript27 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/
DSuplRrlpMessagesGenerator.java17 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/
DAccessLocationOnCommand.java19 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/
DPrivateExtension.java17 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/
DSessionInformation.java17 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/
DVer2_SUPL_END_extension.java17 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;
DVer2_SUPL_POS_INIT_extension.java17 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 …]
DVer2_SUPL_POS_extension.java17 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 …]
DVer2_SUPL_START_extension.java17 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 …]
DVer2_SUPL_RESPONSE_extension.java17 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/
DVer2_SUPLNOTIFY.java17 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/
DGANSSRefLocation.java17 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;
DRefLocation.java17 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/
DVer2_SUPLTRIGGEREDSTOP.java17 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/
DSUPLAUTHREQ.java17 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/
DSUPLAUTHRESP.java17 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/
DVer2_SUPLSETINIT.java17 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/
DSUPLEND.java17 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/
DUlpMessage.java17 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/
DSUPLPOS.java17 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;

12345678910>>...28