lp:~thomas-voss/location-service/simplify-provider-interface
Created by
Thomas Voß
and last modified
- Get this branch:
- bzr branch lp:~thomas-voss/location-service/simplify-provider-interface
Only
Thomas Voß
can upload to this branch. If you are
Thomas Voß
please log in for upload directions.
Branch merges
Propose for merging
- Simon Fels (community): Approve
- Thomas Voß: Pending requested
-
Diff: 8744 lines (+2869/-4340)84 files modifiedinclude/location/criteria.h (+6/-23)
include/location/event.h (+106/-0)
include/location/events/reference_position_updated.h (+59/-0)
include/location/events/wifi_and_cell_id_reporting_state_changed.h (+58/-0)
include/location/features.h (+49/-0)
include/location/provider.h (+50/-232)
src/location/CMakeLists.txt (+15/-8)
src/location/bus.h (+45/-0)
src/location/cmds/provider.cpp (+1/-1)
src/location/cmds/run.cpp (+7/-4)
src/location/criteria.cpp (+0/-99)
src/location/dbus/codec.h (+320/-53)
src/location/dbus/skeleton/service.cpp (+13/-3)
src/location/dbus/skeleton/session.cpp (+6/-6)
src/location/dbus/skeleton/session.h (+1/-0)
src/location/dbus/stub/service.cpp (+1/-0)
src/location/default_provider_selection_policy.cpp (+0/-135)
src/location/default_provider_selection_policy.h (+0/-49)
src/location/dummy_service.cpp (+0/-55)
src/location/dummy_service.h (+0/-55)
src/location/engine.cpp (+32/-64)
src/location/engine.h (+6/-7)
src/location/event.cpp (+26/-0)
src/location/events/all.h (+46/-0)
src/location/events/reference_position_updated.cpp (+55/-0)
src/location/events/registry.cpp (+65/-0)
src/location/events/registry.h (+65/-0)
src/location/events/wifi_and_cell_id_reporting_state_changed.cpp (+55/-0)
src/location/fusion_provider_selection_policy.cpp (+6/-3)
src/location/non_selecting_provider_selection_policy.cpp (+5/-6)
src/location/provider.cpp (+0/-191)
src/location/provider_selection.h (+0/-14)
src/location/providers/CMakeLists.txt (+1/-2)
src/location/providers/config.cpp (+0/-25)
src/location/providers/dummy/provider.cpp (+64/-68)
src/location/providers/dummy/provider.h (+29/-10)
src/location/providers/fusion/CMakeLists.txt (+4/-0)
src/location/providers/fusion/newer_or_more_accurate_update_selector.h (+11/-5)
src/location/providers/fusion/newer_update_selector.h (+1/-1)
src/location/providers/fusion/provider.cpp (+105/-113)
src/location/providers/fusion/provider.h (+40/-22)
src/location/providers/fusion/update_selector.h (+1/-1)
src/location/providers/geoclue/CMakeLists.txt (+0/-24)
src/location/providers/geoclue/geoclue.h (+0/-257)
src/location/providers/geoclue/provider.cpp (+0/-165)
src/location/providers/geoclue/provider.h (+0/-106)
src/location/providers/gps/provider.cpp (+43/-26)
src/location/providers/gps/provider.h (+21/-11)
src/location/providers/proxy.cpp (+95/-0)
src/location/providers/proxy.h (+59/-0)
src/location/providers/remote/interface.h (+24/-147)
src/location/providers/remote/provider.cpp (+400/-596)
src/location/providers/remote/provider.h (+83/-58)
src/location/providers/remote/stub.cpp (+2/-2)
src/location/providers/remote/stub.h (+9/-2)
src/location/providers/skyhook/CMakeLists.txt (+0/-40)
src/location/providers/skyhook/provider.cpp (+0/-206)
src/location/providers/skyhook/provider.h (+0/-96)
src/location/providers/state_tracking_provider.cpp (+139/-0)
src/location/providers/state_tracking_provider.h (+93/-0)
src/location/proxy_provider.cpp (+0/-79)
src/location/proxy_provider.h (+0/-58)
src/location/runtime.h (+1/-1)
src/location/serializing_bus.cpp (+47/-0)
src/location/serializing_bus.h (+52/-0)
src/location/service_with_engine.cpp (+12/-18)
src/location/session_with_provider.cpp (+9/-9)
src/location/state_tracking_provider.h (+0/-156)
src/location/util/flags.h (+53/-0)
tests/CMakeLists.txt (+4/-6)
tests/acceptance_tests.cpp (+25/-15)
tests/controller_test.cpp (+0/-132)
tests/criteria_test.cpp (+0/-48)
tests/engine_test.cpp (+19/-45)
tests/espoo_provider_test.cpp (+11/-3)
tests/event_test.cpp (+57/-0)
tests/mock_provider.h (+21/-32)
tests/provider_selection_policy_test.cpp (+0/-217)
tests/provider_test.cpp (+0/-441)
tests/reference_position_updated_test.cpp (+59/-0)
tests/remote_provider_test.cpp (+30/-51)
tests/serializing_bus_test.cpp (+78/-0)
tests/state_tracking_provider_test.cpp (+31/-38)
tests/wifi_and_cell_id_reporting_state_changed_test.cpp (+38/-0)
Branch information
Recent revisions
- 263. By Thomas Voß
-
Simplify the location::Provider interface.
Move all state-machine semantics into the implementation and
only expose a pure virtual interface for providers to implement.
Remove specific event-handlers and instead go fo an extensible location::Event
with location::Provider extending on location::Event: :Receiver. With that, we
can easily extend events going forward in an ABI compatible way. - 256. By Scott Sweeny
-
Fusion provider: Always use an update that came from the same source as the previous used update (fixes LP: #1570878) (LP: #1570878)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:location-service/trunk