| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
BMI160 now outputs compressed mag samples, so add support
to nanotool to handle them
Test: On Pixel 1: nanotool -s mag:50 and verify compressed_mag data is received
Change-Id: I7a5c98a5271f823bb2d4c2b85567af723df3f64b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When disabling a sensor with alt versions enabled the rate and latency
from the disabled sensor would be used if it was higher (rate) or lower
(latency) than any of the enabled alt versions.
Initialize rate and latency to values such that they will always be
set by the first enabled alt sensor. (0 for rate and max value for
latency)
Test: enable accel at 50Hz; enable uncal accel at 200Hz; disable uncal
accel; verify accel is running at 50Hz, not 200Hz
Bug: 122115010
Change-Id: Iac172495235360fbd15bd76abf9b7fdef4d1f6f5
Signed-off-by: Ben Fennema <fennema@google.com>
|
|
|
|
|
|
|
|
| |
The memory allocations in hostIntf are quite big, and prone to failing
if there isn't enough available space. Make sure to handle failures, and
print an error, so we know what's happening.
Change-Id: Iddf014f1fb2889a358890c2308e6c0e93b59bf4e
|
|
|
|
|
|
|
|
|
|
|
|
| |
This interrupt is fired when the DMA transfer completes, ie. all bytes
have been transmitted to the I2C peripheral. However, It's possible that
the I2C transfer didn't finish yet, so before touching the peripheral,
wait for the BTF (byte transfer finished) flag to be set.
This fixes the issue where the last byte of a transfer was randomly lost,
especially at higher core clock frequencies (>= 40 MHz).
Change-Id: I126e43f1e9cfdc831f61d0a0a1940367440dce55
|
|
|
|
| |
Change-Id: I608e4fefae8e1e91ad9453c28da8106e007f1161
|
|
|
|
|
|
|
| |
Error codes should be negative, keeping this consistent with the rest of
the firmware.
Change-Id: I8aaa04d00a2e77c06eee9ff764cd2348192bcc6f
|
|\
| |
| |
| |
| |
| |
| | |
Merge pie-platform-release (PPRL.181105.017, history only) into master
Bug: 118454372
Change-Id: I622f5c591e963b7d45ac3f372e53f864826190e8
|
| |\
| | |
| | |
| | | |
Change-Id: Id93b604b4cbe547deef8f1d5e809253ba658fa50
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Return an error when the hal thinks the app being started is already
running or when the app being unloaded/erased is either not running or
doesn't exist.
Bug: 118398281
Test: pass VtsHalContexthubV1_0
Change-Id: I9c5f884e11c86ba6a608c24614e41784d5d19308
Signed-off-by: Ben Fennema <fennema@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It will be a global error by default.
Test: make checkbuild
Bug: 112564944
Change-Id: Ia3466649cdddcc754de554edd96a674d00630733
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: builds with accel, gyro, overtemp and mag cal enabled
Change-Id: I053148ab64dec1cc0359e40d678b25b2c41dc729
Signed-off-by: Ben Fennema <fennema@google.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Converts the rest of the Host/Android rules from Android.mk to
Android.bp. See build/soong/README.md for more information.
Test: cd device/google/contexthub; mma
Change-Id: I7e29b58010ccf6f966afe94f5a11f79692700b4c
|
|\ \ \ \
| | |/ /
| |/| |
| | | | |
Change-Id: I9728c3e123579f5b9255508f4539186b2f661c79
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Change-Id: I3ad57e622df2ed2bdefe4dbe38143edb12743732
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Ibe7f89a4fda6c6b2df56073f793deef87942afb3
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I1beadccbdfdce8344dd97b86016b212e8a697afc
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Change-Id: Ic64e1ab096f9396a5294ac7633151ec8e639c226
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Change-Id: I87531d4762c5427c06d8b6b935d078362549bacc
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Change-Id: I789642d3b3805183bf084c23f189122f2ab07d27
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Change-Id: Ieae2e5b681ffe5c09d9d57a43a3e83eaf27507fe
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Change-Id: I24790319b8d5049e9bb5e9c8d71c258fe422c274
|
| |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Change-Id: I92b4eb2db62d2b657c0ec4739870ef813bcc17ec
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Change-Id: I09c897b2e7764b1ae4f379249ee58c0d0f3fdfd0
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
Change-Id: I23b9438a24c9b7f5a974cd2bf39e5c4b3391e171
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
Change-Id: I0457428201a055485eca2f1eb17eeadfc4efc639
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
Change-Id: I1ec4d96461dc8c1ef038a1eff6d949585bda68f4
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
Change-Id: I735655e9b70291c3c1782b567caf30b101a40073
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
Change-Id: I956168686270e297ae43480a4f722498ddc7bd33
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | |
Change-Id: I7ddafbd08022a87e7dc593a5d77e2a1546b81a36
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | |
Change-Id: I9238b40ab9c087d0bdf96d2d228061c1d47471f1
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I5bd4af044850ccaafc21385c38a99eeb2bb4e882
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: Ia063aabf1f877c4de5df170221788a56fc61916b
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: Ia3b7f4de4c15ed10f1e6fd3362ea77865b1fad71
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I52211dc83ba5932f563d424f4da13080613dac79
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I232a209aff46f95eb4e994deeb09709557a08699
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I788eabe8bb0d6dc8ddc836398ca2eb975363a29c
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I079910708677c008422b3ca8e85c48a43eef97b2
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I12af410a3655757967f129df171a87286a48f9b3
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I039cb20f40614e2b592b147ef6cd642afeb29eb6
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I771507eeffe64205efecc19949d710c864f5e361
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I368ccd95c8dce619922b76fd98853d5340d591dd
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: Ib6bfe9e668db4c6468317993fbeedb52f28c4fb1
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I44e9c74a9bf6ce057916828b978688ee59755338
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I2fff3400c9f59666507dff47cb6f63294199ffeb
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: If8a05334eb9f9e76b6f4f30228c2da0537e23e8a
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: I7004138992af3cf1220247c746d698cdc39405d7
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Change-Id: Ic8b750f6dc873af43fb5a813843ca7e05b9be276
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
135 snap-temp-L93500000107644030
Change-Id: If356b4a6c7f08c87e175d181296165e6c3502c18
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
572 snap-temp-L13500000107248413
Change-Id: I8547b540b8beb3263f157e99a5df63b901b30d4e
|