- Sep 29, 2023
-
-
Mark White authored
Fix: 301763182 Test: presubmit Change-Id: I41e518047cd35e3c91438d8cc67e831148dbd834
-
- Sep 05, 2023
-
-
Mark White authored
Bug: 289776578 Test: CtsLocationCoarseTestCases CtsLocationFineTestCases CtsLocationGnssTestCases CtsLocationNoneTestCases CtsLocationPrivilegedTestCases API-Coverage-Bug: 299124945 Change-Id: I6179e5338bf6d2cd9fe3297e841dc9610bc21160
-
- Aug 30, 2023
-
-
Zhanghao authored
Update the Javadocs based on doc:https://docs.google.com/document/d/1SliduwZ8TlV5kMDZpxM5CUg-Txsw3IxBe8JTnr_ZOl0/edit?resourcekey=0-HTfqV3iJLkQtaMp_lsy3Vg Test: change Javadoc only. Bug: 277260039 Change-Id: Ib42811a6490525df5a1072f79e78c01529bec1a6 (cherry picked from commit 2d4f577b)
-
Mark White authored
Bug: 289776578 Test: presubmit Change-Id: Id077cff3825cea0da2ea9fad06c53eeb4f8655a2 Merged-In: Id077cff3825cea0da2ea9fad06c53eeb4f8655a2
-
Mark White authored
Bug: 289776578 Test: presubmit Change-Id: Id077cff3825cea0da2ea9fad06c53eeb4f8655a2 Merged-In: Id077cff3825cea0da2ea9fad06c53eeb4f8655a2
-
- Aug 29, 2023
-
-
Zhanghao authored
Update the Javadocs based on doc:https://docs.google.com/document/d/1SliduwZ8TlV5kMDZpxM5CUg-Txsw3IxBe8JTnr_ZOl0/edit?resourcekey=0-HTfqV3iJLkQtaMp_lsy3Vg Test: change Javadoc only. Bug: 277260039 Change-Id: Ib42811a6490525df5a1072f79e78c01529bec1a6
-
Brian Julian authored
Modifies getMslAltitudeMeters and getMslAltitudeAccuracyMeters in android.location.Location to no longer throw IllegalStateExceptions when corresponding values are not set. Bug: 278389778 Test: CTS tests already compatible. Change-Id: I5fcdb8238eb6d77a7b2c60dc8544f5be1bcccce2
-
- Aug 23, 2023
-
-
Mark White authored
Bug: 289776578 Test: presubmit Change-Id: Id077cff3825cea0da2ea9fad06c53eeb4f8655a2
-
- Aug 22, 2023
-
-
Chan Kim authored
See https://source.android.com/setup/contribute/respectful-code for reference For this round, the fixes are only applied to the following to minimize breaking dependencies: * comments (excluding javaDoc annotations) * private constants * private functions * parameters within functions BYPASS_INCLUSIVE_LANGUAGE_REASON=Just updating a few select inclusive language violations. No-Typo-Check: Changes focused on inclusive language violations. BUG: 295342157 Change-Id: Id9e53eff8a9af87788b14c2367ce9fca8dd0c1f7
-
- Aug 10, 2023
-
-
Yu-Han Yang authored
Bug: 295235160 Test: atest GnssMeasurementRequestTest Change-Id: I679a6bf7f110ec55db12e8381f8bf3efd43a727e
-
- Aug 07, 2023
-
-
Sam Dubey authored
While we mitigated the system wide presubmit blockage due to failing test, it's been brought to attention that the test has been flaky for sometime. And still uses junit3, which means it hasn't been maintained for sometime. Bug: 293934372 Test: N/A Change-Id: Iea48daf39e8d40667f635e68b4c8e341abf4341a
-
- Aug 03, 2023
-
-
Yu-Han Yang authored
Bug: 294306993 Test: on device Change-Id: I5561796c73247a62385792e1976f66fba3bad381
-
- Jun 13, 2023
-
-
Brian Julian authored
Documents IllegalStateException throw condition in Location Javadocs for getMslAltitudeMeters() and getMslAltitudeAccuracyMeters(). Fix: 286965105 Test: N/A Change-Id: Ib195d277fdca874d0913e963d4bdf57f127a8336
-
- Apr 01, 2023
-
-
Zhanghao authored
Test: atest GnssMeasurementValueTest Bug: 268070943 Change-Id: I45f01488bd57f7c7ff9a88d9635865c009085e3e
-
- Mar 29, 2023
-
-
Yu-Han Yang authored
To return the number of satellites instead of signals Bug: 275611082 Test: manual Change-Id: I766159baf6cb16f902cb1395f9d12f8bbda9e8f0
-
- Mar 20, 2023
-
-
mattgilbride authored
Migrates call sites to use the @EnforcePermission annotation instead of manually checking permissions. These are fully behavior-preserving changes that can be identified by Android Lint (see SimpleManualPermissionEnforcementDetector) Bug: 232058525 Test: TH Change-Id: Ic654ed1de23462b982ec2ea9853f9a22e3c03dd7
-
- Mar 09, 2023
-
-
Brian Julian authored
Relnote: N/A Bug: 272491372 Test: atest FrameworksMockingServicesTests:AltitudeConverterTest CtsLocationNoneTestCases VtsHalAltitudeServiceTargetTest Change-Id: I47702ae82bfa1cc0a35501d56233ab77a8f77547
-
- Mar 08, 2023
-
-
Zhanghao Wen authored
Added GPS L1C(P), BDS B1C(P) with value: CODE_LOCK(10 ms), STATE_2ND_CODE_LOCK(18000 ms), TOW_KNOWN(1 week). Added BDS B2AQ: Same as E5AQ Added IRNSS: Same as GPS L1 C/A Bug: 264588057 Test: Javadoc only Change-Id: I187ecd0452efa97700a141a1837801b45f82da2d
-
- Mar 07, 2023
-
-
Zhanghao Wen authored
Added GPS L1C(P), BDS B1C(P) with value: CODE_LOCK(10 ms), STATE_2ND_CODE_LOCK(18000 ms), TOW_KNOWN(1 week). Added BDS B2AQ: Same as E5AQ Added IRNSS: Same as GPS L1 C/A Bug: 264588057 Test: Javadoc only Change-Id: I187ecd0452efa97700a141a1837801b45f82da2d
-
- Mar 03, 2023
-
-
Yu-Han Yang authored
Bug: 267312779 Test: atest GnssCapabilitiesTest Change-Id: Id94d8a5f0765600627ba51fff9b1fe41b581e372
-
- Mar 02, 2023
-
-
Yu-Han Yang authored
Bug: 267312779 Test: atest GnssCapabilitiesTest Change-Id: Id94d8a5f0765600627ba51fff9b1fe41b581e372
-
- Feb 07, 2023
-
-
Brian Julian authored
Relnote: N/A Bug: 265013616 Test: atest FrameworksMockingServicesTests:AltitudeConverterTest Change-Id: I5c1bbdec79d61ba7abad4db8131c5dca80ef7b9a Merged-In: Idb699d03035c7ec56a07f3c648f49119b014363f
-
- Jan 27, 2023
-
-
Yu-Han Yang authored
Bug: 265815272 Test: atest GnssMeasurementsEventTest Change-Id: I5e8e267a020454726c2c0377cba85d4355a8b5b6
-
Yu-Han Yang authored
Bug: 260002331 Test: atest GnssCapabilitiesTest Change-Id: I82356bc84abddf36b04da5576d34ba6d3f01f32f
-
- Jan 25, 2023
-
-
Andrew Solovay authored
The CommonTypos linter complained about "i.e" without a closing period. Since our tech writing style guide says to avoid "i.e." in general, I rephrased as "that is". Per go/fix-refdocs, tm-qpr-dev is now the preferred branch for doc fixes until the U dev branch is open. Since this CL hasn't been reviewed yet, I'm CPing it over here and abandoning the original CL. Docs-only change, no change to code. Change-Id: Id8de0d371e1290a7e8ed1831f2fbca063f9ff835 Test: [go/abtd docs build] Bug: 263824202
-
- Jan 19, 2023
-
-
Neil Fuller authored
Refactoring to support an alternative source of network time for passing to the GNSS component. The new implementation will be submitted in a follow-up. NtpTimeHelper has been replaced by NetworkTimeHelper in GnssLocationProvider. NetworkTimeHelper provides the stable interface between GnssLocationProvider and the original / alternative impl for what was NtpTimeHelper. NtpTimeHelper has been renamed NtpNetworkTimeHelper. These changes are not intended to change any behavior. There are some minor changes between the interaction between GnssLocationProvider and the NetworkTimeHelper class, but these are not expected to alter the runtime behavior. The NetworkTimeHelper.setPeriodicTimeInjectionMode() method touches a pre-existing bug: The method name reflected the effect of the method, which is the near-opposite of what the capability name would suggest. This appears to be due to an accidental logic inversion, not by intent. As can be seen in the changes for GnssLocationProvider: the enablePeriodicTimeInjection() method was called when mGnssNative.getCapabilities().hasOnDemandTime() was true. The existence of bug 73893222 supports the fact that there is a long-standing bug here. The intent with this commit is not to fix it or alter behavior, just to make it more obvious, as it is unclear if the current behavior is relied upon somewhere. Comments and field names have been improved to try to clarify the actual behavior. Bug: 73893222 Bug: 222295093 Test: atest services/robotests/src/com/android/server/location/gnss/NtpNetworkTimeHelperTest.java Change-Id: I0b1ba43a55ff531df343c022650e3f5721dda7f1
-
- Jan 18, 2023
-
-
Yu-Han Yang authored
Bug: 259324783 Test: manual Change-Id: I030de60258f11ec6ab719fb7cb5d6118c1814594
-
- Dec 22, 2022
-
-
Yu-Han Yang authored
Also add plumbing for isFullTracking in JNI Bug: 257549183 Test: atest GnssMeasurementRegistrationTest Change-Id: I2d41b7aaaceb225c29cf282a2733ab9dfdd9d6c0
-
- Dec 19, 2022
-
-
Yu-Han Yang authored
Bug: 260002331 Test: GnssCapabilitiesTest Change-Id: I15f768d10982f9d9fb60f6beb88f42b2f7f638b4
-
- Dec 14, 2022
-
-
Brian Julian authored
Adds hidden AltitudeConverter.addMslAltitudeToLocation(Location) that does not load data from raw assets. Relnote: N/A Bug: 231327615 Test: atest FrameworksMockingServicesTests:AltitudeConverterTest Change-Id: Idb699d03035c7ec56a07f3c648f49119b014363f
-
- Dec 07, 2022
-
-
Brian Julian authored
Renames addMslAltitude method in AltitudeConverter to addMslAltitudeToLocation, and updates Javadoc to use @throws. Relnote: N/A Bug: 261696975 Test: atest CtsLocationNoneTestCases Change-Id: I01c9c640eba6ab49b364f3aadcf86701f8aefb95
-
David Christie authored
-Only applicable when an app level GPS provider override is present which may mask the hardware provider. Bug: 260010264 Test: atest LocationManagerServiceTest, atest LocationProviderManagerTest Change-Id: I085152f9074863dcf8d8ee96981846b847966018
-
- Dec 06, 2022
-
-
Brian Julian authored
Relnote: N/A Bug: 231327615 Test: atest CtsLocationNoneTestCases Change-Id: I7a89f51d60837f709dce9b28afd1b52c49c339cf
-
- Dec 02, 2022
-
-
Brian Julian authored
Relnote: N/A Bug: 231327615 Test: atest CtsLocationNoneTestCases Change-Id: I7bac8b12ddd68732f99ff04e30f169657c2d2e71
-
- Dec 01, 2022
-
-
Nagendra Prasad Nagarle Basavaraju authored
-Replace CountryListener with a Consumer<Country> -Add registerCountryDetectorCallback to take an Executor Vs addCountryListener taking Looper -Add unregisterCountryDetectorCallback to remove Consumer<Country> callback interface -Adding getSource to return an IntDef -Expose Country constructor -Adding alternative API with new naming for getCountryIso -Refactoring addCountryListener() & removeCountryListener API's Bug: 252989268, 258197470 CTS-Coverage-Bug: 255511190 Test: manual test && make update-api Change-Id: I5a2f253a87d1037837bc161a80cb873a6471c229
-
- Nov 30, 2022
-
-
David Christie authored
Bug: 260010264 Test: Manual Change-Id: I657a6c9061492c31382a7ab619607d4a011a0af9
-
- Nov 22, 2022
-
-
Yu-Han Yang authored
Bug: 257549183 Test: doc update only Change-Id: Ia66235c20a527c4355b1ce9fae7c157dd90d2c84
-
Nagendra Prasad Nagarle Basavaraju authored
-Revert detectCountry() to UnsupportedAppUsage -Revert addCountryListener & removeCountryListener to UnsupportedAppUsage -Revert countryListener to UnsupportedAppUsage -Revert getCountryIso() to UnsupportedAppUsage to support api with new naming convention Bug: 252989268 Test: manual test && make update-api Change-Id: I5c5978f4460eb6bce8d3ed97458b5cc6ac6d788d
-
- Nov 15, 2022
-
-
Yu-Han Yang authored
Bug: 258197332 Test: atest GnssCapabilitiesTest Change-Id: I37e4f6b03726d8169cbff0202f5cb0b7af423c65
-
- Nov 10, 2022
-
-
Yu-Han Yang authored
Bug: 257549183 Test: atest GnssMeasurementsEventTest Change-Id: Icd57e644a50cef3f6633388a2ce3d0242385f13c
-