Age | Commit message (Collapse) | Author |
|
|
|
- Add RealTimeIntegrityModel to Glonass
- AuxiliaryInformation should be list
Test: atest CtsLocationNoneTestCases
Bug: 404694257
Flag: android.location.flags.gnss_assistance_interface
Change-Id: If4b23317c9e882d55c069aa44affba99791afd3b
|
|
|
|
Bug: 355384257
Test: manual
Flag: android.location.flags.fix_is_in_emergency_anr
Change-Id: I5774b944ff682926790733d815487282eaf1450a
|
|
* changes:
Add missing attribution tags to com.android.location.fused
Add an unstable fallback for the gnss/fused location provider overlay
|
|
Avoids warning prints in log:
W LocationManagerService: system location request with no attribution tag
W LocationManagerService: java.lang.IllegalArgumentException
Flag: android.location.flags.missing_attribution_tags_in_overlay
Bug : 403337028
Test: Manual
Change-Id: I11204b0724abc9d28fe819ea99b870397594d466
|
|
Keeps track of the number of times a given service has died in the last minute, and if a service has died ten times, mark it as unstable and always prefer non-unstable services.
Flag: android.location.flags.service_watcher_unstable_fallback
Bug: 402997842
Test: Manual
Change-Id: I8ad3fb6fb5497b2d828b10269afb9c8e0d215a0a
|
|
Test: atest CtsLocationNoneTestCases
Bug: 404092793
Flag: android.location.flags.gnss_assistance_interface
Change-Id: I2116ccb760d180fdb690876dc4a2a59e8f617e2f
|
|
|
|
GPS should only be used for high power requests at relatively fast intervals
Flag: android.location.flags.limit_fused_gps
Bug: 401885179
Test: manual
modified: location/java/android/location/flags/location.aconfig
modified: packages/FusedLocation/src/com/android/location/fused/FusedLocationProvider.java
Change-Id: Ic6a6ee54b60054dfef6a4b04b18d3b3a9d128bd8
|
|
|
|
Also mark assistance_provider_interface as is_exported: true
This allows apps to depend on the flagged APIs
Bug: 401741230
Flag: EXEMPT flag config update
Test: m all_aconfig_declarations
Test: printflags --format='{fully_qualified_name}:{is_exported}' | grep true
Change-Id: Ib8601b69d69d621d30fbcf4a31d6233ceb6f9d18
|
|
Test: atest FrameworksMockingServicesTests_location
Bug: 358381377
Flag: android.location.flags.gnss_assistance_interface_jni
Change-Id: Ifae3e1f0630841254af46a169674a9adc7da2ce0
|
|
Flag: DOCS_ONLY
Bug: 399873226
Test: javadoc update only
Change-Id: Ie1592b9528186c10f78723a4903d6535de868236
|
|
Flag: android.location.flags.gnss_location_provider_overlay_2025_devices
Bug: 398254728
Test: Manual
Change-Id: I9388121819d6c4bb794bd7e180d9c5eeaef8a4a5
|
|
|
|
Flag: android.location.flags.update_min_location_request_interval
Bug: 397444378
Test: atest LocationRequestTest
Change-Id: I98c914d9b7f7d088a2c3ba7869b2f496b907cdb5
|
|
We now rely on the WeaklyReferencedCallback annotation to automatically
preserve fields that are needed to keep callback type instances that are
weakly referenced when registered.
The affected members should be identically preserved with this change.
Bug: 349245577
Test: FULL_SYSTEM_OPTIMIZE_JAVA=true m services
Flag: EXEMPT refactor
Change-Id: Idb54509fde818d52eff2edeaa694c2c1393e1149
|
|
|
|
|
|
Cleaned up the 24Q3 flag enforce_telephony_feature_mapping_for_public_apis
Test: Basic telephony functionality tests
Test: atest FrameworksTelephonyTests
Bug: 297989574
Flag: EXEMPT flag cleanup
Change-Id: If41ad237f55baa9df032564a5316d216e9d5838b
|
|
d3c246c403 am: c063a0e71b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3349287
Change-Id: I54bf5132e157caa0421f3ec300d80ee92dea04a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
- Add AuxiliaryInformation to GnssAssistance
- Remove NullableCollection lint suppression in all Assistance.Builder classes set methods
Bug: 358381377
Bug: 384869212
Test: atest CtsLocationNoneTestCases
Flag: android.location.flags.gnss_assistance_interface
Change-Id: Ibdf2aa20ecc63ae623e02beeaa541d07ac8c487b
|
|
|
|
Flag: android.location.flags.gnss_assistance_interface
Bug: 358381377
Bug: 209078566
Test: atest GnssAssistanceProviderBaseTest
Change-Id: Ia36f84ec2bbb6f0482b09845a3505b17d98c7dae
|
|
Flag: DOCS_ONLY
Bug: 284427002
Test: javadoc update only
Change-Id: Icb80f881dc834222c5aa96f18d7acce23188a144
|
|
- Add missing fields for Glonass ephemeris & almanac.
- Define health type for Galileo & Glonass.
Bug: 358381377
Test: atest CtsLocationNoneTestCases
Flag: android.location.flags.gnss_assistance_interface
Change-Id: I3ba66a25a4e6ccb641852e6e31fb9318b4047a04
|
|
|
|
Bug: 358381377
Test: atest CtsLocationNoneTestCases
Flag: android.location.flags.gnss_assistance_interface
Change-Id: Ie174dfadc3e5320ccc63753a227e55a3b0a383e5
|
|
Adds a parameter to indicate the desired answer size when querying the coarsened cells. This allows the framework to indicate its cache size, and the provider to answer with the right amount of cells.
Tests:
- atest CtsLocationNoneTestCases:PopulationDensityProviderBaseTest
- atest FrameworksMockingServicesTests:LocationProviderManagerTest
- atest FrameworksMockingServicesTests:LocationFudgerTest
- atest FrameworksMockingServicesTests:LocationFudgerCacheTest
Test: manual atest on Pixel 7 pro (see above)
Bug: 381286551
Flag: android.location.flags.density_based_coarse_locations
Change-Id: Ib0d26e8ce0e1164ff30b45e2d3deddb67f68a83b
|
|
|
|
322dd88f9dedd580115bd62377c2a21323540d2f
Change-Id: I9d1b06d9bea270e22f364bbc4be24174d3ae53fe
|
|
Revert submission 30583310-fix-non-exported-flags
Reason for revert: Likely culprit for b/381233132 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted changes: /q/submissionid:30583310-fix-non-exported-flags
Change-Id: Iab8df31884c344069dfccde634623e0cc64ec13c
|
|
This change adds the concept of population density providers in AOSP. It allows the framework to query the population density at a given location. Internally, this is backed by a new type of Provider, following the current conventions in the location package. There is no app-facing change, only the LocationManagerService will access this provider (see other CLs in the topic).
Because the provider will be implemented by Play Services (or OEM implementations), we add a proxy mechanism identical to the current ProxyLocationProvider, which reads the config.xml and instantiates the correct provider.
The core of the change is IPopulationDensityProvider.aidl.
In details:
- We add a new IPopulationDensityProvider IDL with its associated implementation PopulationDensityProviderBase.
- We add the IDL for two callback type for the S2CellId and the default coarsening level.
- We change the LocationManagerService to instantiate a ProxyPopulationDensityProvider.
- This ProxyPopulationDensityProvider creates the correct provider given the XML config.
Tests:
- atest CtsLocationNoneTestCases:PopulationDensityProviderBaseTest
- atest FrameworksMockingServicesTests:LocationManagerServiceTest
NB: I also did a manual test by implementing a fake provider and querying it, this works on Pixel 7 pro, see linked commits with topic "population-density-provider-test-dns"
Test: manual atest on Pixel 7 pro (see above)
Bug: 376198890
Flag: android.location.flags.population_density_provider
Change-Id: I90663d478200c734abbf5f442dfb1bb8bb79a875
|
|
An aconfig flag that is used together with @FlaggedApi must be marked as
`is_exported: true` to guarantee that the auto-generated lookup code
checks the actual flag value (instead of using a hard-coded value set at
compile time). This is important when the API is called across aconfig
container boundaries (e.g. a mainline module calling code on the system
partition).
Mark all non-exported flags used with @FlaggedApi as exported.
The "all @FlaggedApi flags are exported" invariant should be checked at
build time; this will be added in future CLs.
Bug: 378061535
Test: treehugger
Flag: EXEMPT can't flag changes to flag declarations
Change-Id: If45930e4afdcc87e374679ea73502651ce2de445
|
|
These methods are required for the density-based coarse location feature.
They match the implementation of the S2 lib in google3.
As per the code owners request, since this lib will now be used both by the altitude module and our coarse locations, it is moved outside of the altitude/ folder, into a new s2/ folder. As a result, four methods have to become public.
For location coarsening, we add the following methods:
- In S2CellIdUtils, add a method toLatLngDegrees(s2cellId, latlng) which sets latlng to the center of the cell
- In S2CellIdUtils, add a method containsLatLng(s2cellId, latlng) -> Boolean
Tests:
- atest FrameworksMockingServicesTests:S2CellIdUtilsTest
NB: as discussed with the code owners, these are non-API changes that shouldn't be flagged. If need be, it could be gated behind the feature flag for the larger change (see other CLs)
Test: manual atest on Pixel 7 pro (see above)
Bug: 376198890
Flag: EXEMPT non-AI changes
Change-Id: If1ec4b05b97e1916ce988264e6110102b60e19a9
|
|
Summary: Some framework components do not check
whether the system service being called is null or not
causing "FATAL EXCEPTION" in zygote system process.
Adding nullptr or NULL obj check before calling.
Test: m
flash the device
verify the zygote is running stable and not hitting
FATAL EXECEPTION.
Change-Id: Icd504fb529716ff0870d0d911b1cd8b356bf9bb7
Signed-off-by: Abdelrahman Daim <adaim@meta.com>
|
|
This is in preparation for the Android B workstream about density-based coarse locations (details in go/density-based-coarse-locations). TLDR: Down the road, approximate locations might get coarser in low-population areas. For this, we will add PopulationDensityProvider in AOSP, that GMSCore (or OEMs) will implement.
We need two flags:
1) We'll need to add a IPopulationDensityProvider in AOSP, that GMSCore or OEMs can implement. There is one flag for this, so we can completely disable this set of changes.
2) Later on, we'll need to actually call the IDensityProvider in LocationFudger. This is a separate flag.
Change-Id: I9feab6b73893a1ba973d7d33f82e265cacb2e77f
Test: None
Bug: 376198890
Flag: EXEMPT only adding a new flag definition
|
|
|
|
|
|
Bug: 368034558
Test: check location dumpsys on device
Flag: android.location.flags.use_legacy_ntp_time
Change-Id: I7db49147f03944dbd0c2f96a9069481b43b1158f
|
|
This CL renames legacy PropertyInvalidatedCache keys to match the new
naming convention, which is "cache_key.<module>.<name>", where the
module is one of "system_server", "telephony", or "bluetooth". The
rename is entirely in the framework. There is no backcompat issue.
Invalid cache keys are logged, unless the flag is true, in which case
a fatal exception is thrown.
Tested with a special image that removed the SELinux policies that
permitted the legacy property names to work. Booted the image and
verified no selinux violations in logcat. This means no caches were
using the legacy properties.
Test: booted the image and verified that no caches with non-standard
names existed in the system. Verification used the output of
`dumpsys cacheinfo`.
Flag: EXEMPT refactor
Bug: 366552454
Change-Id: Icfc43980def04c8aefaa4097a38eabbc7ca3b054
|
|
Trunk Stable flag can only be updated by creating a new flag.
ag/29386156 tries to update the metadata of an existing flag, which does
not work.
Flag: android.location.flags.enable_ni_supl_message_injection_by_carrier_config_bugfix
Bug: 242105192
Test: flag rename only
Change-Id: I67ab9b239f2af941ba746a8f3f63ce86cc13d4c4
|
|
Flag: android.location.flags.enable_ni_supl_message_injection_by_carrier_config
Bug: 242105192
Test: flag metadata update only
Change-Id: I0ccd9a4aed4f302080127d5ec91a77c38f3b4066
|
|
|
|
Test: on-device
1. Insert SIM
2. Enable flag android.location.flags.enable_ni_supl_message_injection_by_carrier_config
3. adb shell cmd phone cc set-value gps.enable_ni_supl_message_injection_bool true
4. Enable NFW lock
5. atest SmsNiSuplTest
6. Confirm the SUPL message is injected to HAL
7. adb shell cmd phone cc set-value gps.enable_ni_supl_message_injection_bool false
8. atest SmsNiSuplTest
9. Confirm no SUPL message is injected to HAL
Bug: 242105192
Flag: android.location.flags.enable_ni_supl_message_injection_by_carrier_config
Change-Id: I86a86517db139137a16e76bff2b820aad447a734
|
|
These were only ever intended for testing and should not be used
otherwise.
Flag: android.location.flags.deprecate_provider_request_apis
Bug: 361811782
Test: na
Change-Id: I839d076bf06c988638fbcfdd81a79f62fe85c491
|
|
e380004d62 am: db8a61da99
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3197750
Change-Id: Iefd0304a711247e1a0244521c18a272040d7f8ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3197750
Change-Id: Ic3025d2e498254864699da303f55756307e49b15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|