Skip to content

refactor(sensorservice): modernize measurement implementations - #18

Closed
Foxpace wants to merge 1 commit into
codex/sensorbox-refactor-04-sensorservice-foundationfrom
codex/sensorbox-refactor-05-sensorservice-measurements
Closed

refactor(sensorservice): modernize measurement implementations#18
Foxpace wants to merge 1 commit into
codex/sensorbox-refactor-04-sensorservice-foundationfrom
codex/sensorbox-refactor-05-sensorservice-measurements

Conversation

@Foxpace

@FoxpaceFoxpace commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Modernizes the individual measurement implementations behind a common service-facing contract.

What was added

  • A dedicated ActivityRecognitionMeasurement implementation.
  • Updated sensor, GPS, significant-motion, and extra-information measurements.
  • A revised measurement interface shared by all implementations.
  • Removal of the obsolete activity-recognition and alarm-noise handlers.

How it works

The service creates measurement implementations through the same contract, then starts, observes, and stops them uniformly. Each implementation owns the platform callback for its sensor type and converts incoming values into the common recording pipeline.

Stack position

Layer 5 of 31 in the SensorBox refactor stack. Review this PR against its configured base to see only this layer.

Validation

  • Full stack: ./gradlew test — BUILD SUCCESSFUL (160 tasks)

@FoxpaceFoxpace changed the title codex/sensorbox refactor 05 sensorservice measurementsrefactor(sensorservice): modernize measurement implementationsAug 15, 2026
@Foxpace
Foxpace marked this pull request as ready for review August 15, 2026 21:50
@FoxpaceChatGPT Codex Connector

Copy link
Copy Markdown
OwnerAuthor

Superseded by #46, which targets master and shows the final current tree. Closing this stacked layer so review stays on the consolidated diff; this PR remains available as history.

@FoxpaceFoxpace closed this Aug 19, 2026
@FoxpaceChatGPT Codex Connector

Copy link
Copy Markdown
OwnerAuthor

Stack restored at the author's request. This PR is again part of the original 31-layer refactor chain. The architecture work continues as stacked PRs #47 through #54; consolidated PR #46 is superseded.

@FoxpaceFoxpace reopened this Aug 19, 2026
@FoxpaceFoxpace closed this Aug 23, 2026
@Foxpace
Foxpace deleted the codex/sensorbox-refactor-05-sensorservice-measurements branch August 23, 2026 12:58
Sign up for freeto 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

@Foxpace