Skip to content

adapt location CTS to density-based coarsening - #4

Open
soupslurpr wants to merge 2 commits into
GrapheneOS:17from
soupslurpr:population-density-provider
Open

adapt location CTS to density-based coarsening#4
soupslurpr wants to merge 2 commits into
GrapheneOS:17from
soupslurpr:population-density-provider

Conversation

@soupslurpr

@soupslurpr soupslurpr commented Aug 6, 2026

Copy link
Copy Markdown
Member

Update PopulationDensityProviderBase CTS coverage for the synchronous Binder path. Test coordinate forwarding, successful results, provider errors, null and empty results, timeouts, duplicate callbacks, and cross-thread callbacks.

Adapt coarse-location assertions to variable-size S2 cells. Use a deterministic random seed and derive the distance allowance from the reported cell edge plus the configured offset scale instead of assuming fixed-grid accuracy.

Testing:

  • relevant CtsLocationCoarseTestCases and CtsLocationFineTestCases classes: 20 passed
  • full akita cur userdebug build and flash
  • real-world density-based coarsening on the development device

Related repository: GrapheneOS/platform_external_population-density.

Related changes:

Exercise success, error, timeout, null, duplicate, and cross-thread
callback paths through the synchronous Binder bridge. Verify coordinates
are forwarded and only the first result cell is returned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant