- Oct 23, 2023
-
-
Mark White authored
Note that this is a re-cherry-pick of the original CL that is closer to the original CL than the first CP, to minimize the number of conflicts in Android.bp files. Bug: 289776578 Test: presubmit Merged-In: I721fc4ae5c62cf1eada9bb6b4e5b3f1a4c9db21a Change-Id: Ibf98f37cb795bc7f627a485546b6ce8ec23b3a9e
-
- 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
-
- Aug 29, 2023
-
-
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 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
-
- 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
-
- Mar 29, 2023
-
-
Yu-Han Yang authored
To return the number of satellites instead of signals Bug: 275611082 Test: manual Change-Id: I766159baf6cb16f902cb1395f9d12f8bbda9e8f0
-
- 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 03, 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
-
- Nov 04, 2022
-
-
Yu-Han Yang authored
Bug: 253319784 Test: manual on cuttlefish Change-Id: I85a652338b9ec0fc9b1fc17ff9057d73a6c796ae
-
- Nov 03, 2022
-
-
Nagendra Prasad Nagarle Basavaraju authored
To Support new mainline module expose getCountryIso, getSource,addCountryListener,detectCountry API's as System API Bug: 252989268 CTS-Coverage-Bug: 255511190 Test: manual test && make update-api Change-Id: I6c4b2980ee04e56e8d0bb9ddda0391e3e23ada7e
-
- Nov 01, 2022
-
-
Yu-Han Yang authored
Bug: 253319784 Test: atest GnssCapabilitiesTest Change-Id: I550ca8a957d0dfd8bd4702739415fb2fa9994a61
-
- Oct 25, 2022
-
-
Yu-Han Yang authored
Bug: 254279031 Test: atest GnssCapabilitiesTest Change-Id: I98d5a6aa2842d445a1b22ea6371705fa3469272e
-
Yu-Han Yang authored
Bug: 237129569 Test: atest GnssStatusTest Change-Id: I779157e8693c62616303e38e35e611a9f1b8bb97
-
- Oct 13, 2022
-
-
Yu-Han Yang authored
Bug: 252920075 Test: atest GnssCapabilitiesTest Change-Id: Ide95f69c605f50f205f202640f9a51fd8c8e78b8
-
- Oct 06, 2022
-
-
Yu-Han Yang authored
Bug: 251279388 Test: doc update only Change-Id: I419da5319a8d414b277871848b3fad52fe060306
-
- Oct 03, 2022
-
-
Kweku Adams authored
Feature ID was renamed to Attribution Tag. The old methods were marked @Deprecated and @removed. Bug: 135214188 Test: atest MediaInserterTest Change-Id: Id2fd77dcdc5125ea949c23825606e7a046697e8e
-
- Sep 30, 2022
-
-
Yu-Han Yang authored
Bug: 248291428 Test: atest GnssMeasurementRegistrationTest Change-Id: Ifac665ff1e85ee9625613e87548460c8974a81bc
-
- Sep 16, 2022
-
-
Neil Fuller authored
Change LocationTime.getTime() -> getUnixEpochMillis() for clarity. Add LocationTime.toString() to improve log messages involving LocationTime. Test: build only Bug: 236611620 Change-Id: I6f33bec6288c67e18a2008a735e88a8981186183
-
- Aug 31, 2022
-
-
Grace Cheng authored
Bug: 244264468 Test: none Change-Id: I0bf0d4e0ef45aea8726d52bc661a6713c5e986ce
-
Grace Cheng authored
Bug: 244264468 Test: none Change-Id: I0bf0d4e0ef45aea8726d52bc661a6713c5e986ce
-