Skip to content
Snippets Groups Projects
  1. Oct 23, 2023
    • Mark White's avatar
      Created empty framework-location non-updatable module · 3cc5e00e
      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
      3cc5e00e
  2. Aug 30, 2023
  3. Aug 29, 2023
  4. Aug 22, 2023
  5. Jun 13, 2023
  6. Mar 29, 2023
    • Yu-Han Yang's avatar
      Correct getExtras("satellites") · 5b7e2b63
      Yu-Han Yang authored
      To return the number of satellites instead of signals
      
      Bug: 275611082
      Test: manual
      Change-Id: I766159baf6cb16f902cb1395f9d12f8bbda9e8f0
      5b7e2b63
  7. Mar 08, 2023
    • Zhanghao Wen's avatar
      Update the Javadoc of getReceivedSvTimeNanos() · 9a28d068
      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
      9a28d068
  8. Mar 03, 2023
  9. Feb 07, 2023
  10. Jan 27, 2023
  11. Jan 25, 2023
    • Andrew Solovay's avatar
      docs: Fixing typo (i.e without closing period) · 062f767d
      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
      062f767d
  12. Jan 19, 2023
    • Neil Fuller's avatar
      Refactoring: Support alt. network time source · 8ad07e27
      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
      8ad07e27
  13. Jan 18, 2023
  14. Dec 22, 2022
  15. Dec 19, 2022
  16. Dec 14, 2022
  17. Dec 07, 2022
  18. Dec 06, 2022
  19. Dec 02, 2022
  20. Dec 01, 2022
    • Nagendra Prasad Nagarle Basavaraju's avatar
      API Enhancement CountryDetector · 576862f5
      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
      576862f5
  21. Nov 30, 2022
  22. Nov 22, 2022
    • Yu-Han Yang's avatar
      Clarify javadoc of Full Tracking · 6c109ef8
      Yu-Han Yang authored
      Bug: 257549183
      Test: doc update only
      Change-Id: Ia66235c20a527c4355b1ce9fae7c157dd90d2c84
      6c109ef8
    • Nagendra Prasad Nagarle Basavaraju's avatar
      Revert CountryDetector changes · e655f11c
      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
      e655f11c
  23. Nov 15, 2022
  24. Nov 10, 2022
  25. Nov 04, 2022
  26. Nov 03, 2022
    • Nagendra Prasad Nagarle Basavaraju's avatar
      Expose Country & CountryDetector API's · 9fe25438
      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
      9fe25438
  27. Nov 01, 2022
  28. Oct 25, 2022
  29. Oct 13, 2022
  30. Oct 06, 2022
  31. Oct 03, 2022
    • Kweku Adams's avatar
      Use non-deprecated methods. · 3bb858b2
      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
      3bb858b2
  32. Sep 30, 2022
  33. Sep 16, 2022
    • Neil Fuller's avatar
      Clarify method names and improve debug · d272f786
      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
      d272f786
  34. Aug 31, 2022
Loading