/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/primers/ |
D | ElevationPrimerTest.java | 25 import com.android.server.uwb.correction.math.SphericalVector.Annotated; 41 Annotated input = SphericalVector.fromDegrees(35, 0, 10).toAnnotated(); in hasElevationTest() 42 Annotated result = primer.prime(input, null, nps, 0); in hasElevationTest() 54 Annotated input = SphericalVector.fromDegrees(35, 0, 10) in noPoseTest() 57 Annotated result = primer.prime(input, null, nps, 0); in noPoseTest() 74 Annotated input = SphericalVector.fromDegrees(35, 0, 10) in noElevationTest() 77 Annotated result = primer.prime(input, prediction, nps, 0); in noElevationTest() 94 Annotated input = SphericalVector.fromDegrees(35, 0, 10) in replaceElevationTest() 97 Annotated result = primer.prime(input, prediction, nps, 0); in replaceElevationTest()
|
D | NullPrimer.java | 22 import com.android.server.uwb.correction.math.SphericalVector.Annotated; 38 public Annotated prime(@NonNull Annotated input, @Nullable SphericalVector prediction, in prime() 54 return new Annotated(SphericalVector.fromRadians(Math.abs(azimuth), elevation, distance)); in prime()
|
D | AoaPrimerTest.java | 22 import com.android.server.uwb.correction.math.SphericalVector.Annotated; 32 Annotated sv = SphericalVector.fromDegrees(35, 0, 10) in conversionTest() 34 Annotated result = primer.prime(sv, null, null, 0); in conversionTest() 55 Annotated result = primer.prime(sv.toAnnotated(false, true, true), null, null, 0); in missingDataTest()
|
D | FoVPrimerTest.java | 24 import com.android.server.uwb.correction.math.SphericalVector.Annotated; 33 Annotated input, result; in conversionTest() 62 Annotated input, result; in edgeCases()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/ |
D | SphericalVector.java | 221 public Annotated toAnnotated() { in toAnnotated() 222 return new Annotated(this, true, true, true); in toAnnotated() 234 public Annotated toAnnotated(boolean hasAzimuth, boolean hasElevation, boolean hasDistance) { in toAnnotated() 235 return new Annotated( in toAnnotated() 248 public static class Annotated extends SphericalVector { class in SphericalVector 261 public Annotated( in Annotated() method in SphericalVector.Annotated 279 public Annotated( in Annotated() method in SphericalVector.Annotated 307 public Annotated copyFomFrom(Annotated basis) { in copyFomFrom()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/primers/ |
D | FovPrimer.java | 27 import com.android.server.uwb.correction.math.SphericalVector.Annotated; 65 public SphericalVector.Annotated prime( in prime() 66 @NonNull SphericalVector.Annotated input, in prime() 83 Annotated result = new Annotated(SphericalVector.fromRadians( in prime()
|
D | AoaPrimer.java | 23 import com.android.server.uwb.correction.math.SphericalVector.Annotated; 45 public SphericalVector.Annotated prime( in prime() 46 @NonNull SphericalVector.Annotated input, in prime() 53 return new Annotated( in prime()
|
D | ElevationPrimer.java | 51 public SphericalVector.Annotated prime( in prime() 52 @NonNull SphericalVector.Annotated input, in prime() 56 SphericalVector.Annotated position = input; in prime() 66 position = new SphericalVector.Annotated( in prime()
|
D | BackAzimuthPrimer.java | 39 import com.android.server.uwb.correction.math.SphericalVector.Annotated; 136 public SphericalVector.Annotated prime( in prime() 137 @NonNull SphericalVector.Annotated input, in prime() 267 Annotated annotatedResult = new Annotated( in prime() 287 private void updateFom(Annotated annotatedResult, float normalAccuracy, float mirrorAccuracy) { in updateFom()
|
D | IPrimer.java | 43 SphericalVector.Annotated prime( in prime() 44 @NonNull SphericalVector.Annotated input, in prime()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/filtering/ |
D | IPositionFilter.java | 18 import static com.android.server.uwb.correction.math.SphericalVector.Annotated; 36 void add(@NonNull Annotated value, long timeMs); in add() 42 Annotated compute(long timeMs); in compute()
|
D | PositionFilterImpl.java | 23 import com.android.server.uwb.correction.math.SphericalVector.Annotated; 62 public void add(@NonNull SphericalVector.Annotated value, long timeMs) { in add() 81 public SphericalVector.Annotated compute(long timeMs) { in compute() 89 Annotated result = SphericalVector.fromRadians( in compute()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/ |
D | UwbFilterEngineTest.java | 29 import com.android.server.uwb.correction.math.SphericalVector.Annotated; 53 Annotated annotated = SphericalVector.fromRadians(0, 0, 0) in testBadReading() 56 Annotated currentVector = engine.compute(0); in testBadReading() 68 Annotated annotated = SphericalVector.fromRadians(0, 0, 0) in testIntermittentReading() 72 Annotated currentVector = engine.compute(0); in testIntermittentReading()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/filtering/ |
D | NullPositionFilter.java | 33 private SphericalVector.Annotated mValue; 44 public void add(@NonNull SphericalVector.Annotated value, long timeMs) { in add() 57 public SphericalVector.Annotated compute(long timeMs) { in compute()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbControlee.java | 134 SphericalVector.Annotated sv = SphericalVector.fromRadians(azimuth, elevation, distance) in filterMeasurement() 144 SphericalVector.Annotated engineResult = mEngine.compute(nowMs); in filterMeasurement() 169 SphericalVector.Annotated replacement) { in updateBuilder()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/ |
D | UwbFilterEngine.java | 56 @Nullable private SphericalVector.Annotated mLastInputState; 78 public void add(@NonNull SphericalVector.Annotated position, long timeMs) { in add() 129 public SphericalVector.Annotated compute(long timeMs) { in compute()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/math/ |
D | SphericalVectorTest.java | 127 SphericalVector.Annotated sparse = vec.toAnnotated(); in annotated()
|