Age | Commit message (Collapse) | Author |
|
* commit 'a38914db2fd5b3192bfa8fbd46269aa860d7937b':
Invensense: 6515: adjust minDelay and maxDelay values
|
|
Change-Id: I22ed7a1963ca6a9f599c5e73a83af66cd4de8267
|
|
Adjust minDelay and maxDelay settings for Android Wear devices.
Bug: 19575833
Change-Id: Ia8cc54a13865177a68a2d18108e1f6cf5fbe7ea6
|
|
Merged in the latest upgrade from Invensense, that purports to fix
some cts sensor test failures and includes a better pedometer
algorithm.
Bug: 19575833
Bug: 16778026
Bug: 16702488
Change-Id: Iaf8eba248bb9aa97f7b6a5394e939370a4812776
|
|
* commit 'f8c01e46ab99e08b7d866836c8cb72f8c4239dbe':
Cleanup Obsolete LOCAL_PRELINK_MODULE.
|
|
Bug: 18675947
Change-Id: I703fe42513b15755378d652077f8f7d070f6aad3
|
|
* commit 'e3804bc5d0187112d9760e36b9a1e23a9a63bf9f':
Remove checks for TARGET_SIMULATOR
|
|
Change-Id: I75bc0121233aa5577958dd32435dd8dcfced3a93
|
|
* commit '10de2bebb7bc9793483858824143cfe21a5dff85':
Fix some bugs caught by warnings.
|
|
This code had several cases of trying to use memset(3) to zero out an
array, but was using sizeof(char*) instead of the real size of the
buffer, so I've fixed it up to just use calloc(3) instead.
There were very obvious warnings for this. Along the lines of
"warning: this doesn't do what you think it does". To avoid this kind
of thing going unnoticed in the future, I've turned on -Werror and
-Wall in the project.
Change-Id: I06057976f1f4721dcf9acdd37f2cb8a64b7865a7
|
|
Wakelock code should only ever hold wakelock across a single
return and re-entry into poll().
Remove unneccesary SMD mutex
Change-Id: I9774152f2326137259ceecb85a0430ffdc964124
|
|
The kernel sensor driver grabs a half second wakelock to allow time
for this HAL to read the significant motion event from the kernel and
grab its own wakelock. The HAL holds the wakelock until Sensor
Services calls poll() again, assuring that Sensor Services has
read the SMD event and will have grabbed its own wakelock.
Bug: 16540661
Change-Id: I1c88cd9386a9f711e6cba81a14539b835f4e7414
|
|
Remove some superfluous code causing memory corruption.
Bug: 17990213
Change-Id: I3a6b867a9b00df5638fb87d0eb454027b98617c5
|
|
Update 6515 HAL to be SENSORS_DEVICE_API_VERSION_1_3 compliant
Bug: 16952122
Change-Id: Iae9bd783236a0128b89949c49b62a7ff2cea98ec
|
|
Bug: 17162352
Change-Id: I032958a20c5782f8f548cf377c25d8e0fae00aa9
|
|
detector
* commit '7ae170b477f3b6a7cdbe6bfcbe42240bfa075c8c':
Invensense: 6515: fix flush completion for step detector
|
|
counter
* commit '8099a732b0339f73daa1b87e291b4f99b294f31b':
Invensense: 6515: Spoof flush complete for step counter
|
|
Fix a bug in the HAL that was delaying flush completion packet from
getting delivered up to Sensor Services.
Fix a compass calibration bug.
Bug: 15316005
Bug: 15716657
Change-Id: Id9eba806ada8bc6dabb5f182683b015751a8c0d9
|
|
When flush is called for the step counter, allow the flush call to
happen, and then issue a flush completion event.
Bug: 15316005
Change-Id: I55bb3bc42c896ee6f9a222e5a09b519e64f4b09b
|
|
step detector"
* commit 'ab67f29c5f31ad0c90a2f2fed70afe71ca9e5464':
Revert "Invensense: 6515: allow flush calls for step detector"
|
|
This reverts commit c994cff5873e223100a9f4f2ce9281bec460ef16.
This fixes step counter behavior, but breaks CTS tests for
testBatchAndFlush and testBatchAndFlushWithHandler (b/15316005).
Bug: 15695965
Change-Id: I9660c11c8811fdfc207d66137667b5a781ac41fe
|
|
step detector" into klp-modular-dev
* commit '48a2e8adf58c35df55227e9baff6a12a12faf880':
Invensense: 6515: allow flush calls for step detector
|
|
klp-modular-dev
|
|
Pass through calls for flush of step detector.
Bug: 15316005
Change-Id: If36837b77e6f7021dfe127be53774b7bd72ffdee
|
|
pedometer on
* commit 'd0ba40f540b676dcea65f8db04c1220aa43c2ea3':
Invensense: 6515: fix compass data reporting when pedometer on
|
|
When step counter is on, no data was reported from compass when
magnet is attached (device on charger), causing compass app to
freeze. When magnet is attached, compass will now return the
last good value it read, keeping the compass app happy.
Bug: 15282844
Change-Id: Ib7102aac9d5a04cfdbf253be01809a1a192a81dc
|
|
activation of sensor
* commit 'e8a1ad4331dea19e1a4de533bdf459daee57a3d3':
Invensense: 6515: Send step counter event on activation of sensor
|
|
Rules for an "on-change" sensor type state "The HAL must return an
event immediately when an on-change sensor is activated". An initial
event was not being sent in the event of the step counter sensor
being enabled, now it is.
Bug: 15429158
Change-Id: I670bc2bdcbc0138193e1d39639d8ef71000bd436
|
|
* commit '365ddc02efe4cac1e87dd8e6736892843fd720c1':
Invensense: 6515: fix build break for user builds
|
|
Building for target PRODUCT_NAME-user broke due to makefile
not having proper support for a "user" lunch target.
Change-Id: I25e7e9dccbed30b516bbb9473af9625c8386e396
|
|
default path
* commit '4afc6a7dba98d05660cc8d27dc79200fa9a725e4':
Invensense: 6515: change factory calibration file default path
|
|
Default path for the factory calibration file for Accel and Gyro
calibration data was /data, but /data will get cleared on a factory
reset, causing the factory calibration data file to get deleted.
The new path for the file is now /persist/inv_cal_data.bin.
Bug: 15002683
Change-Id: I9f9d0a9e52122a6d829cb615cab0368a179022ef
|
|
* commit 'b1443cad64e60b4a158ca5d5b1c62c8f94377d35':
Invensense: 6515: update HAL to 5.2.0 RC23
|
|
RC23 (driver and HAL combination) purports to fix the following RC22
issues:
- Cadence fix to improve Step counter performance.
- Batch mode wakes up device in suspend mode
- Implement suspend_noirq method, removed unnecessary usleep
- Handle bad compass data in HAL
- Handle pressure support correctly in HAL
Added the following fixes to RC23 HAL drop from Invensense:
- fix bug caused when pressure sensor is disabled
- remember pedometer poll rate
- remove hard-coded pedometer poll time
Bug: 14234011
Change-Id: I3e0a7b232d8047a66029b6af967752f9e653ab27
|
|
* commit 'ed6a3dbd62fd3191bd9aaf4d72d72ae95f95e96b':
Invensense: 6515: remember pedometer poll rate
|
|
The enableDmpPedometer call was hard-coding the pedometer poll period
to 100mS. Save off the period passed to batch() as the new step count
polling period instead of hard-coding it to 100mS.
Bug: 14299562
Change-Id: Idc680c0a5d3c8bad7caf0db58336ea60d56a81de
|
|
time
* commit '6647e75fb8fc0f07c8fe0f0ab1882d6ab8d949c9':
Invensense: 6515: remove hard-coded pedometer poll time
|
|
Previous code returned a hard-coded constant of 100mS when asked for
pedometer polling time; change to use mStepCountPollTime instead.
Bug: 14299562
Change-Id: I0e99f8b61da36093e6014cafe44088affbfb9033
|
|
sensor is disabled
* commit 'f6969d9828673930b178c03231af03fd8fe5aa11':
Invensense: 6515: fix bug caused when pressure sensor is disabled
|
|
If building the Invensense HAL to not include a pressure sensor, the
sensorlist returned from the HAL gets screwed up in that the sensor
attributes reported by the HAL get off-by-one (i.e. sensor #2 reports
attributes for sensor #3).
Bug: 14368807
Change-Id: I9c1e634dc0f471dbb8eedf8d36bc8e2fdaf2ce67
|
|
and maxDelay fields."
|
|
maxDelay fields.
Change-Id: Ic0f6b4dba8b6ae5fe648bbb9b5a89fcf22c49848
|
|
RC22 purports to fix the following RC20 issues:
- CTS for Sensor Module Fails for SensorTest
- Resource leak in HAL
- DMP not disabled after SMD fired
- Pedometer pedometer_step_thresh is not consistently applied
- Update rate handling when batch mode with PED or SMD
- Orientation and rotation vector fix
- Redundant wait after setting DLPF
Bug: 13936932
Change-Id: Ieccfc76b6dddf414db4271afb612d3493f7df534
|
|
and requiredPermission
Change-Id: Iee933348424d71bd93fe461583fe53e0bcca7550
|
|
stringType and requiredPermission
This reverts commit 12339ff701e38057f6fc9f5739a9e7175f9f75c8.
Change-Id: I56801a863ddcb721cf95f759e46566c8f43e1f4b
|
|
This reverts commit 50b4bc1c7f7e785f3548f26c80ce5e4267b09c72.
Change-Id: I71d944f1ff350af82685ec91dd0b4f4c32867afa
|
|
This deals with inclusion of stringType and requiredPermission
Change-Id: Ife22a545550aff3f410dd2e7a47d7c59f64d9d24
|
|
Update the libmllite.so and libmplmpu.so binaries to RC20.
Update sources for libraries.
Remove obsolete MPLSensorSysAPi.cpp and MPLSensorSysApi.h.
Change-Id: Ida5c2cdb97fba37574926cf5731e45e731f9d852
|
|
Fixes bug id 13729545
Change-Id: I1aa643aa63c447b4fd38d069d499c34552acc41d
|
|
Import latest Invensense HAL for use by devices using the 6515.
Change-Id: I1b585df6882ea007ffafba44261283784d667c2a
|