Age | Commit message (Collapse) | Author |
|
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Signed-off-by: Anna Si <asi@invensense.com>
Bug: 18958411
Change-Id: Ie06912843e82811a6728cf0a67ce1cf801efa997
|
|
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: 14121320
Change-Id: I8b7e036cd2dc4ea01c245ba6051a90f9a5530702
|
|
- unused argument warning
- print format error
Change-Id: I25c3f2048d15ee70a0ae8a816c303344dce5b5ce
|
|
Bug: 17162352
Change-Id: I032958a20c5782f8f548cf377c25d8e0fae00aa9
|
|
Add opt-in line so devices can sign up to use 60xx components. Prior
to this fix, any device that wasn't a hammerhead, dory, or guppy
defaulted to parsing the 60xx folder's makefiles, regardless of whether
the device had an Invensense chip or not. This was causing anthias builds
to break.
Change-Id: Ifa2c0fb96e985f1c81e1f5631bf53a0662aee978
|
|
NOT MERGE
* commit '3cbb88c4beee59eeffec93f3ef631da17dad0a49':
Exclude anthias from 60xx builds - DO NOT MERGE
|
|
* commit 'a873878b974e445f4e73dbcabbe0f4eb9b7801b0':
Exclude anthias from 60xx builds - DO NOT MERGE
|
|
Change-Id: I41f175bad243182ae5b3bf33ff3f3764e87a318b
|
|
detector
* commit '7ae170b477f3b6a7cdbe6bfcbe42240bfa075c8c':
Invensense: 6515: fix flush completion for step detector
|
|
counter
* commit '8099a732b0339f73daa1b87e291b4f99b294f31b':
Invensense: 6515: Spoof flush complete for step counter
|
|
* commit 'd29301d07151fde33381ccafc3d43524c5ebc068':
Invensense: 6515: fix flush completion for step detector
|
|
* commit 'c6a022ca9e5b696874fb3ce0cc988f949a06533e':
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"
|
|
* commit '58fe70cf169ef13506bd49e61e2cbd4dc1bf02e3':
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
|
|
into klp-modular-dev
* commit 'e677ba07721a9e16ca90bf6e95df52d92817d3f9':
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
|
|
* commit '9478d39a0d83d276899e3f5c876785c7f14ba497':
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
|
|
* commit '12c6e53cec1b0b1f5bbfde63724d8ebb72ae936e':
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
|
|
* commit '1b7f982c6d10c33fd60fb01878ca25df141f3adf':
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
|
|
* commit '9794d8ab1673a2e19a02c95c40a087356249e2f6':
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
|
|
* commit 'f51dc826bb5e75a074a14c1227e750160b3fc694':
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
|
|
* commit 'e1df3ea6fb4c1af4069e0610a5a7a8634b786e99':
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
|
|
* commit '56fa6bff099c045ff4241c156309c6d94ac03f49':
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
|
|
* commit 'b15903ff47c3d5234f14919941b36bf26a96a82e':
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."
|