- 23 Oct, 2019 1 commit
-
-
Matti Lehtimäki authored
-
- 14 Aug, 2019 2 commits
-
-
spiiroin authored
[iioadaptor] Allow overriding iioDevices' scaling factor. Fixes MER#2053
-
- 13 Aug, 2019 1 commit
-
-
Eugenio Paolantonio authored
Signed-off-by:
Eugenio Paolantonio (g7) <me@medesimo.eu>
-
- 08 May, 2019 2 commits
-
-
Matti Lehtimäki authored
-
Matti Lehtimäki authored
[rpm] Fix version numbering in dependencies. JB#45163 See merge request !37
-
- 07 May, 2019 1 commit
-
-
Matti Lehtimäki authored
-
- 23 Apr, 2019 3 commits
-
-
Matti Kosola authored
Signed-off-by:
Matti Kosola <matti.kosola@jolla.com>
-
Matti Kosola authored
Add sensorfw-qt5-hybris.inc to spec source. See merge request !36
-
Matti Kosola authored
Signed-off-by:
Matti Kosola <matti.kosola@jolla.com>
-
- 18 Apr, 2019 2 commits
-
-
Matti Lehtimäki authored
-
Matti Lehtimäki authored
[binder] Add binder backend to hybris adaptor. JB#45163 See merge request !35
-
- 17 Apr, 2019 1 commit
-
-
Matti Lehtimäki authored
-
- 31 Mar, 2019 1 commit
-
-
Matti Lehtimäki authored
-
- 21 Mar, 2019 1 commit
-
-
Matti Lehtimäki authored
-
- 28 Feb, 2019 2 commits
-
-
spiiroin authored
-
- 25 Feb, 2019 1 commit
-
- 22 Feb, 2019 1 commit
-
-
Ivan Shchitov authored
[compasschain] Change types of the 'oldHeading' and 'heading' variables inside CompassFilter from int to qreal. Fixes MER#2016 Signed-off-by:
Ivan Shchitov <ivan.shchitov@fruct.org>
-
- 07 Feb, 2019 1 commit
-
-
kende authored
-
- 15 Jan, 2019 2 commits
-
-
spiiroin authored
-
- 11 Jan, 2019 1 commit
-
-
Tomi Leppänen authored
Rename sensorfw-qt subpackage docs to doc and make packaging information more consistent with other packages. Signed-off-by:
Tomi Leppänen <tomi.leppanen@jolla.com>
-
- 08 Nov, 2018 2 commits
-
-
spiiroin authored
-
- 07 Nov, 2018 1 commit
-
-
spiiroin authored
Sensorfwd crashes on exit in h3113 devices (Xperia XA2). This happens because of Config class related symbol name clash between sensorfwd and android dynamic loader / libhybris: Destructor from sensorfwd code base ends up used for cleaning up libhybris objects - which then leads to segfault. As runtime loader is what it is, rename "Config" class in sensorfwd to less generic "SensorFrameworkConfig". Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
- 01 Oct, 2018 6 commits
-
-
spiiroin authored
-
spiiroin authored
It seems that in later android header versions sensor type values have been changed from #define constants into enumeration values. And while previously SENSOR_TYPE_MAGNETIC_FIELD was alias for SENSOR_TYPE_GEOMAGNETIC_FIELD, now it is the other way around. Which then has the net effect of: Attempt to provide fallback value for SENSOR_TYPE_MAGNETIC_FIELD with symbolic name results in compilation failures. Use hard-coded fallback values for both SENSOR_TYPE_GEOMAGNETIC_FIELD and SENSOR_TYPE_MAGNETIC_FIELD to break dependency on what types android header considers to be aliases vs not. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
-
spiiroin authored
Sensor maximum delay is available from sensors device API version 1.3 onwards. If development headers are too ancient, trying to access maxDelay member in sensor_t structure causes compilation failures. Use fallback value for maxDelay unless both development headers and sensors device exposed via hal indicate that sensors device API version 1.3 features are available. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
- 28 Sep, 2018 5 commits
-
-
spiiroin authored
-
spiiroin authored
The code can't be compiled for devices that use older android hal versions that do not define all sensor types referred to in the code. Provide values for all sensor types that are not defined in the android header files. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
-
- 27 Sep, 2018 3 commits
-
-
spiiroin authored
It is possible that on-change type sensors are not reported by android hal until a change is actually detected. Sensorfwd is left using zero initialized default values like proximity=covered / light=darkness - which in turn can cause various issues after each bootup. As the initial state can't be queried, choose the lest harmful option and define fallback values during sensor hal probing: - proximity sensor = not covered - light sensor = 400 lux If no actual sensor data has been received in a situation where sensor state needs to be communicated to clients, apply the fallback value. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
Sensor specific adaptors derived from HybrisAdaptor class can be configured to enable/disable sensors directly via sysfs. While doing that they also bypass enable/disable policy that is implemented in HybrisAdaptor. Fix each HybrisXxxAdaptor class so that common policy logic is executed first, and direct sysfs manipulation is done based on policy decision. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
Whether sensors should be started or stopped depends on a number of state variables. Using case specific conditionals at places where state variables might change makes the code fragile and hard to maintain. Separate sensor hal operations more clearly from logic and forms dictated by sensorfwd conventions. Use m_memberName naming convention for member variables, make all member data private and usable only via accessor functions. Use a single sensor start/stop policy evaluation function and call it from each place where relevant state variables might change. Use sensorfwd specific logging functions instead of qDebug etc. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-