Dennis Guse
819f454bd8
Refactored TrackFileFormat interface.
2023-04-12 22:41:56 +02:00
Dennis Guse
7d58014b15
Cleanup/Java 17: use multi-line text blocks.
2023-04-12 22:39:30 +02:00
Dennis Guse
b9dedef292
Refactor: introduced SensorManager.
2023-03-28 20:58:23 +02:00
Dennis Guse
ac80386b8a
Refactor tests: use mocks for BluetoothRemoteSensorManager.
2022-12-30 16:22:46 +01:00
Dennis Guse
a5eca8fa64
Test: do not request GPS permissions for test that use fake locations anyhow.
2022-10-28 18:41:54 +02:00
Dennis Guse
498ee20e2a
Test: update and re-enable ExportImportTest for csv_export.
2022-10-28 18:41:54 +02:00
Dennis Guse
82fe859c84
KML: Export KML2.3 - KML2.2 and KML2.3 can be imported.
...
Fixes #339 .
2022-09-13 23:20:06 +02:00
Dennis Guse
dc7afbd07f
BLE: extract SensorDataCycling.
...
Part of #1352 .
2022-09-04 12:11:09 +02:00
Dennis Guse
06d2957407
Desugar: upgrade to AGP 7.3.0-rc01
...
Required for desugar 1.2.0)
2022-08-21 23:25:06 +02:00
Dennis Guse
5667d2d83e
Store sensor data without distance.
...
Fixes #1088 .
2022-07-11 22:56:11 +02:00
Dennis Guse
21d1852505
Test: import+export results in same timezone.
...
Part of #1296 .
2022-07-08 00:16:48 +02:00
Dennis Guse
73615aa0d6
Statistics: remove speed filtering (fix tests).
...
Part of #1003 .
2022-07-01 13:24:18 +02:00
Dennis Guse
81bb6699d8
Statistics: remove speed filtering.
...
Part of #1003 .
2022-06-30 14:03:33 +02:00
Dennis Guse
059f3d8f43
Cleanup: align test classes name to tested class.
2022-05-26 10:23:27 +02:00
Dennis Guse
5d2414977b
TrackRecordingService: remove pause functionality.
...
Fixes #1233 .
2022-05-23 07:41:50 +02:00
Dennis Guse
24eb768707
Export: filename template now distinguishes between {date} and {time}.
2022-05-19 19:28:15 +02:00
Dennis Guse
40d2bf0c22
Bluetooth: use TrackRecording handler for callback.
...
Otherwise the thread is not defined and a SecurityException may be triggered when inserting data into the ContentProvider.
Sadly, below API26 this needs to be done manually.
Fixes #1165 .
2022-05-11 20:56:52 +02:00
Dennis Guse
094a20c379
Vertical accuracy: process and import/export.
...
Fixes #78 .
2022-05-04 20:18:45 +02:00
Dennis Guse
0d3cf4ce0d
Configurable filename for export: used for all automatic exports after recording, exporting all, and sharing tracks.
...
Fixes #512 .
2022-05-03 20:06:29 +02:00
Dennis Guse
b44bab1ab5
For testing: add rule to mock timezone.
...
Used by ExportImportTest.csv_export_only()
2022-04-23 15:03:05 +02:00
Dennis Guse
374959f340
Add CSV as export format (TrackPoints only).
...
Fixes #999 .
2022-04-23 15:03:05 +02:00
Dennis Guse
5cf8b67954
Import/Export: horizontal accuracy.
...
Fixes #683 .
2022-04-23 12:49:07 +02:00
Dennis Guse
18b21a6a3e
Bugfix: prevent race condition in TrackPointCreator.
...
This race condition leads to a crash in TrackStatisticsUpdater as the time might appear to move backwards if the created TrackPoints are not stored in order. Might happen if multiple sensors (BLE or GPS) are used in simultaneously.
Every method affected by a race condition is now synchronized.
Problem was introduced in c4b8082efc
Fixes #1151 .
2022-04-23 12:48:19 +02:00
Dennis Guse
dd1c5667a0
Adhere to recording distance interval for TrackPoint storage.
...
Part of #1059 .
2022-04-10 12:57:12 +02:00
Dennis Guse
2dc362c105
Cleanup.
2022-01-29 19:21:54 +01:00
Dennis Guse
0eda1eed1d
Introduced value objects for heartrate, cadence, and power.
...
Fixes #896 .
2022-01-16 15:30:08 +01:00
Dennis Guse
88c4e1a109
Package structure: moved sensors.
...
Part of #963 .
2022-01-15 22:24:59 +01:00
Dennis Guse
0645628d7e
Package structure: moved models and database.
...
Part of #963 .
2022-01-15 22:24:59 +01:00
Dennis Guse
e508c53ca9
TrackRecordingManager: store GPS-based TrackPoints based upon the distance to the previously stored GPS-based TrackPoint.
2022-01-12 18:07:48 +01:00
Dennis Guse
cd7bf36aa9
TrackRecordingService: add integration tests.
2022-01-09 18:28:35 +01:00
Dennis Guse
8b5320e40e
TrackRecordingService: cleanup tests.
2022-01-09 18:28:35 +01:00
Dennis Guse
ef15632d7b
TrackRecordingService: refactored and unified tests.
2022-01-09 18:28:35 +01:00
Dennis Guse
f5ce76955b
TrackRecordingService: add tests for state changes.
2022-01-09 18:28:35 +01:00
Dennis Guse
1163f74b98
SENSORPOINT and TRACKPOINT require a distance to be stored.
...
TrackRecording and TrackStatisticsUpdater.
Part of #500
Fixes #1074 .
2022-01-06 22:12:53 +01:00
Dennis Guse
c4b8082efc
Bluetooth sensors: event-driven TrackPoint creation.
...
Part of #500 .
2022-01-06 22:12:53 +01:00
Dennis Guse
6d04659370
Timezone support: store timezone offset per Track.
...
When a recording is started the offset of the phone is used.
Timezone is exported to KML and GPX.
Fixes #301 .
2021-12-28 15:42:38 +01:00
Dennis Guse
7d0d87e962
Tests: ServiceTestRule does not (always) restart the service.
...
Thus, resetting it's status is not happening and then leading to failures in subsequent tests.
Fixes #1058 .
2021-12-28 13:05:24 +01:00
Dennis Guse
84c51ba8bb
GPX: export cumulative sensor data from SENSORPOINTs.
...
Part of #500 .
2021-12-28 13:05:24 +01:00
Dennis Guse
f8cc257895
KMZ/KML: Export/Import SENSORPOINTs.
...
Part of #500 .
2021-12-28 13:05:23 +01:00
Dennis Guse
45125bcda3
Refactor: rename LocationHandler to GPSHandler.
2021-12-28 13:05:23 +01:00
Dennis Guse
25e590da02
Moving time: re-implement idle/non-idle TrackPoints.
...
Simplify computation of TrackStatistics.
Part of #1046 .
2021-12-19 22:01:35 +01:00
Dennis Guse
0be4b25508
Moving time: fix test.
...
Part of #1046 .
2021-12-19 21:56:53 +01:00
Dennis Guse
1f0a99c49a
Recording: ignore TrackPoints that contain sensor data and do not fulfill recording distance interval.
...
Follow-up to 08ba7d50c7
Part of #1027 .
2021-11-20 19:43:38 +01:00
Dennis Guse
23bcbf09a5
GPX importer supports speed without namespace (compatibility with other tools).
...
Fixed #774 .
2021-10-20 21:50:51 +02:00
Dennis Guse
45571c68c9
Rename TrackPoint's cycling cadence to cadence as it may contain running data.
...
Part of #970 .
2021-10-19 17:53:08 +02:00
Dennis Guse
2f7a56bb17
Bugfix: importing files without speed resulted in moving time 0s and max speed of 0.
...
Fixes #982 .
2021-10-18 18:41:53 +02:00
Dennis Guse
52a110d998
Bugfix: reset on SensorDataSet should only take place if the TrackPoint was stored
...
Fixes #969 .
2021-10-16 10:23:09 +02:00
Dennis Guse
9cb3d8c1bb
Finished renaming: TrackPointCreator was still referenced as HandlerServer.
2021-08-30 17:24:51 +02:00
Dennis Guse
a3872581bb
Cleanup: Renamed HandlerServer to TrackPointCreator.
2021-08-01 18:40:38 +02:00
Dennis Guse
997ddbb4f1
ExportImportTest: made tests deterministic (simulate GPS/sensors).
...
Fixes #761 .
2021-07-22 17:18:31 +02:00