HomeSort by relevance Sort by last modified time
    Searched refs:GnssMeasurement (Results 1 - 25 of 38) sorted by null

1 2

  /cts/tests/tests/location/src/android/location/cts/
GnssMeasurementsEventTest.java 20 import android.location.GnssMeasurement;
31 GnssMeasurement m1 = new GnssMeasurement();
32 GnssMeasurement m2 = new GnssMeasurement();
34 clock, new GnssMeasurement[] {m1, m2});
41 GnssMeasurement m1 = new GnssMeasurement();
43 GnssMeasurement m2 = new GnssMeasurement();
    [all...]
GnssMeasurementsEventCallbackTest.java 20 import android.location.GnssMeasurement;
30 GnssMeasurement m1 = new GnssMeasurement();
31 GnssMeasurement m2 = new GnssMeasurement();
33 clock, new GnssMeasurement[] {m1, m2});
GnssMeasurementTest.java 19 import android.location.GnssMeasurement;
25 GnssMeasurement measurement = new GnssMeasurement();
30 GnssMeasurement measurement = new GnssMeasurement();
34 private static void setTestValues(GnssMeasurement measurement) {
44 measurement.setMultipathIndicator(GnssMeasurement.MULTIPATH_INDICATOR_DETECTED);
55 private static void verifyTestValues(GnssMeasurement measurement) {
65 assertEquals(GnssMeasurement.MULTIPATH_INDICATOR_DETECTED,
78 GnssMeasurement measurement = new GnssMeasurement()
    [all...]
TestMeasurementUtil.java 24 import android.location.GnssMeasurement;
40 * Helper class for GnssMeasurement Tests.
120 + "from year " + minHardwareYear + " or newer provide GnssMeasurement support." );
129 * @param measurement GnssMeasurement
132 public static boolean gnssMeasurementHasCarrierPhasePrr(GnssMeasurement measurement) {
172 * @param measurement GnssMeasurement
176 public static void assertAllGnssMeasurementMandatoryFields(GnssMeasurement measurement,
282 * @param measurement GnssMeasurement
286 private static void verifyAccumulatedDeltaRanges(GnssMeasurement measurement,
319 * @param measurement GnssMeasurement
    [all...]
GnssPseudorangeVerificationTest.java 20 import android.location.GnssMeasurement;
139 ArrayList<GnssMeasurement> filteredMeasurements = filterMeasurements(event.getMeasurements());
140 HashMap<Integer, ArrayList<GnssMeasurement>> measurementConstellationMap =
142 for (ArrayList<GnssMeasurement> measurements : measurementConstellationMap.values()) {
154 + "GnssMeasurement. If failed, retry near window or outdoors?",
160 private HashMap<Integer, ArrayList<GnssMeasurement>> groupByConstellation(
161 Collection<GnssMeasurement> measurements) {
162 HashMap<Integer, ArrayList<GnssMeasurement>> measurementConstellationMap = new HashMap<>();
163 for (GnssMeasurement measurement: measurements){
173 private ArrayList<GnssMeasurement> filterMeasurements(Collection<GnssMeasurement> measurements)
    [all...]
GnssMeasurementWhenNoLocationTest.java 19 import android.location.GnssMeasurement;
29 * Test for {@link GnssMeasurement} without a location fix.
159 // that mandatory fields of GnssMeasurement are in expected ranges.
161 Collection<GnssMeasurement> gpsMeasurements = firstEvent.getMeasurements();
165 for (GnssMeasurement measurement : gpsMeasurements) {
181 // Verify mandatory fields of GnssMeasurement
182 for (GnssMeasurement measurement : gpsMeasurements) {
GnssMeasurementValuesTest.java 19 import android.location.GnssMeasurement;
26 * Test the {@link GnssMeasurement} values.
38 * 5. Verify {@link GnssMeasurement}s (all mandatory fields), the test will fail if any of the
121 for (GnssMeasurement measurement : event.getMeasurements()) {
GnssMeasurementsConstellationTest.java 19 import android.location.GnssMeasurement;
29 * Test for {@link GnssMeasurement}s without location registration.
97 Log.i(TAG, "Number of GnssMeasurement events received = " + events.size());
100 "Did not receive any GnssMeasurement events. Retry outdoors?",
116 for (GnssMeasurement measurement : event.getMeasurements()) {
TestGnssMeasurementListener.java 20 import android.location.GnssMeasurement;
37 // least 4 decoded GnssMeasurement in same constellation.
96 for (GnssMeasurement gnssMeasurement : event.getMeasurements()){
97 int constellationType = gnssMeasurement.getConstellationType();
99 if (gnssMeasurement.getCn0DbHz() < C_TO_N0_THRESHOLD_DB_HZ ||
100 (gnssMeasurement.getState() & (1L << TOW_DECODED_MEASUREMENT_STATE_BIT)) == 0) {
GnssMeasurementRegistrationTest.java 19 import android.location.GnssMeasurement;
27 * Test for {@link GnssMeasurement}s without location registration.
100 Log.i(TAG, "Number of GnssMeasurement events received = " + events.size());
122 Log.i(TAG, "Number of GnssMeasurement events received = " + events.size());
126 "Did not receive any GnssMeasurement events. Retry outdoors?",
  /hardware/qcom/gps/msm8998/android/
GnssMeasurement.cpp 25 #include "GnssMeasurement.h"
33 void GnssMeasurement::GnssMeasurementDeathRecipient::serviceDied(
42 GnssMeasurement::GnssMeasurement() {
47 GnssMeasurement::~GnssMeasurement() {
55 Return<IGnssMeasurement::GnssMeasurementStatus> GnssMeasurement::setCallback(
80 Return<void> GnssMeasurement::close() {
GnssMeasurement.h 42 struct GnssMeasurement : public IGnssMeasurement {
43 GnssMeasurement();
44 ~GnssMeasurement();
56 GnssMeasurementDeathRecipient(sp<GnssMeasurement> gnssMeasurement) :
57 mGnssMeasurement(gnssMeasurement) {
61 sp<GnssMeasurement> mGnssMeasurement;
Android.mk 13 GnssMeasurement.cpp \
Gnss.h 29 #include <GnssMeasurement.h>
127 sp<GnssMeasurement> mGnssMeasurement = nullptr;
  /hardware/qcom/gps/sdm845/android/
GnssMeasurement.cpp 25 #include "GnssMeasurement.h"
33 void GnssMeasurement::GnssMeasurementDeathRecipient::serviceDied(
42 GnssMeasurement::GnssMeasurement() {
47 GnssMeasurement::~GnssMeasurement() {
55 Return<IGnssMeasurement::GnssMeasurementStatus> GnssMeasurement::setCallback(
80 Return<void> GnssMeasurement::close() {
GnssMeasurement.h 42 struct GnssMeasurement : public IGnssMeasurement {
43 GnssMeasurement();
44 ~GnssMeasurement();
56 GnssMeasurementDeathRecipient(sp<GnssMeasurement> gnssMeasurement) :
57 mGnssMeasurement(gnssMeasurement) {
61 sp<GnssMeasurement> mGnssMeasurement;
Android.mk 13 GnssMeasurement.cpp \
Gnss.h 29 #include <GnssMeasurement.h>
127 sp<GnssMeasurement> mGnssMeasurement = nullptr;
  /frameworks/base/location/java/android/location/
GnssMeasurementsEvent.java 38 private final Collection<GnssMeasurement> mReadOnlyMeasurements;
89 public GnssMeasurementsEvent(GnssClock clock, GnssMeasurement[] measurements) {
96 Collection<GnssMeasurement> measurementCollection = Arrays.asList(measurements);
116 public Collection<GnssMeasurement> getMeasurements() {
129 GnssMeasurement[] measurementsArray = new GnssMeasurement[measurementsLength];
130 in.readTypedArray(measurementsArray, GnssMeasurement.CREATOR);
151 GnssMeasurement[] measurementsArray =
152 mReadOnlyMeasurements.toArray(new GnssMeasurement[measurementsCount]);
164 for (GnssMeasurement measurement : mReadOnlyMeasurements)
    [all...]
GnssMeasurement.java 30 public final class GnssMeasurement implements Parcelable {
166 public GnssMeasurement() {
175 public void set(GnssMeasurement measurement) {
939 public static final Creator<GnssMeasurement> CREATOR = new Creator<GnssMeasurement>() {
941 public GnssMeasurement createFromParcel(Parcel parcel) {
942 GnssMeasurement gnssMeasurement = new GnssMeasurement();
944 gnssMeasurement.mFlags = parcel.readInt()
    [all...]