summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-24Use shared version of vndktemp_140451723Inseob Kim
am: 36fe83ba23 Change-Id: If8174c4463ea0310d64363973141ea892d30cb0a
2019-07-24Use shared version of vndkInseob Kim
Vendor modules should use shared version of vndk. Bug: 137178339 Test: mma Change-Id: I8fa04020a9a6b974e6203f9879c2eb95e4ce9dd7
2019-07-01DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into ↵Xin Li
stage-aosp-master Bug: 134405016 Change-Id: Ie7957a372f10ca001fb74082aa9dab15b1f4fda7
2019-02-25nanotool: Add support for compressed mag samples am: 9301a0b25e am: 4f15b214b8android-mainline-10.0.0_r9android-mainline-10.0.0_r7android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12android10-qpr1-releaseandroid10-qpr1-mainline-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-releaseandroid10-mainline-media-releaseandroid10-devandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseAndrew LeCain
am: a2294ba6ac Change-Id: Ib002699cd5521d81d51650c7f3d0ea1362b41763
2019-02-25nanotool: Add support for compressed mag samples am: 9301a0b25eAndrew LeCain
am: 4f15b214b8 Change-Id: Ia75990ecfc0c72473ee145ee40dad522e9afe32d
2019-02-25[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into ↵Xin Li
stage-aosp-master am: 6c0c21a3ba -s ours am: 85db51e1d8 -s ours am skip reason: subject contains skip directive Change-Id: I3bbabef26e25368d1a828161efd2c4d32391d636
2019-02-25[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li
am: 6c0c21a3ba -s ours am skip reason: subject contains skip directive Change-Id: I5da87956da5d5230f8d738ca2de06350c8b0929f
2019-02-21nanotool: Add support for compressed mag samplesandroid-o-mr1-iot-release-1.0.14android-o-mr1-iot-release-1.0.13Andrew LeCain
am: 9301a0b25e Change-Id: If09fa0a1f573115fdea303506586f41918c30260
2019-02-20nanotool: Add support for compressed mag samplesandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10oreo-mr1-iot-releaseAndrew LeCain
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
2019-02-20DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li
Bug: 120848293 Change-Id: I84ff7179a88ca62c3bf30305a0340ec4296af211
2019-01-25[SensorData] -- Reorder struct to improve byte packing and savemkramerm
unnecessary padding especially for large arrays (e.g., synchronizer). Can save ~7kB for the ImuCal nanoapp. Base Memory text data bss dec 26012 3108 29432 58552 New Memory text data bss dec 25788 3004 23032 51824 Change-Id: I5f1d35cdec90c834854fa3fb3be45ede38ab4426 Head: 230936402 Test: Unit Test
2019-01-08sensorhal: fix incorrect rate/latency retention for alt sensors am: ↵Ben Fennema
52bd2fa354 am: 77a53f250e am: 2f5bbe8632 Change-Id: I72bebdba0693bdb459368f96f22deccb973aa1f1
2019-01-08sensorhal: fix incorrect rate/latency retention for alt sensors am: 52bd2fa354Ben Fennema
am: 77a53f250e Change-Id: Id04a8b57023b196fd37ee19d8f20fc0830032724
2019-01-08sensorhal: fix incorrect rate/latency retention for alt sensorsBen Fennema
am: 52bd2fa354 Change-Id: Ie85b23403fd2fa83fdcc483b59840e0d54dd520d
2019-01-02sensorhal: fix incorrect rate/latency retention for alt sensorsBen Fennema
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>
2018-12-17nanohub: hostIntf: handle memory allocation failures am: 8880b72751 am: ↵Daniel Jarai
6cac791c88 am: 4e96a70f33 Change-Id: I4a69874df86e2c5b82ea754f6e952b8e3eeb4e92
2018-12-17nanohub: stm32: i2c: always wait for the BTF event in the DmaTxDone ISR am: ↵Daniel Jarai
5ef209c863 am: aae766a0aa am: 202ee11a18 Change-Id: Ibc2c3ad62d039a960ddc7b8d97301c00069e4375
2018-12-17nanohub: hostIntf: handle memory allocation failures am: 8880b72751Daniel Jarai
am: 6cac791c88 Change-Id: I1d43c60e875ba2759736f4aadafc60b5baee1d60
2018-12-17nanohub: stm32: i2c: always wait for the BTF event in the DmaTxDone ISR am: ↵Daniel Jarai
5ef209c863 am: aae766a0aa Change-Id: I562a37c0596bb43d2d847f1b2d0e00c74224afe4
2018-12-17nanohub: hostIntf: handle memory allocation failuresDaniel Jarai
am: 8880b72751 Change-Id: I10b46d1eeefe586bc86c003c647691456063efaa
2018-12-17nanohub: stm32: i2c: always wait for the BTF event in the DmaTxDone ISRDaniel Jarai
am: 5ef209c863 Change-Id: Ibf5fef28d06908d227b74868f071f6c84660b70f
2018-12-14nanohub: stm32: fix build if all sleep states are disabled am: feb0086cca ↵Daniel Jarai
am: 95064ceb1b am: b48b14c071 Change-Id: Id17afd645eaafa59141806a55cbc1c5331fb3fc6
2018-12-14nanohub: stm32: fix callback error code passed from dmaIsrTeif am: ↵Daniel Jarai
784f30c610 am: a2350a2e37 am: 0964143766 Change-Id: I49582cc58428e9ba27c1e25b88e1d549c618e85c
2018-12-14nanohub: stm32: fix build if all sleep states are disabled am: feb0086ccaDaniel Jarai
am: 95064ceb1b Change-Id: I9ead110b8eb4eba2db58edca45ec62262cfc03c2
2018-12-14nanohub: stm32: fix callback error code passed from dmaIsrTeif am: 784f30c610Daniel Jarai
am: a2350a2e37 Change-Id: I8035ec6d33e3ce9267531b2ecaa38af5af7d5a8e
2018-12-14nanohub: stm32: fix build if all sleep states are disabledDaniel Jarai
am: feb0086cca Change-Id: I45d16cc06fe33797289ed1de297ba79f7f4fa15f
2018-12-14nanohub: stm32: fix callback error code passed from dmaIsrTeifDaniel Jarai
am: 784f30c610 Change-Id: I9dbdddffdbfdcef01a393fd8bbe4a5915fe74015
2018-12-14nanohub: hostIntf: handle memory allocation failuresandroid-o-mr1-iot-release-1.0.8Daniel Jarai
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
2018-12-14nanohub: stm32: i2c: always wait for the BTF event in the DmaTxDone ISRDaniel Jarai
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
2018-12-14nanohub: stm32: fix build if all sleep states are disabledDaniel Jarai
Change-Id: I608e4fefae8e1e91ad9453c28da8106e007f1161
2018-12-14nanohub: stm32: fix callback error code passed from dmaIsrTeifDaniel Jarai
Error codes should be negative, keeping this consistent with the rest of the firmware. Change-Id: I8aaa04d00a2e77c06eee9ff764cd2348192bcc6f
2018-12-06[automerger skipped] DO NOT MERGE am: c8917ff191 -s ours am: 0510c0f0ed -s ↵The Android Open Source Project
ours am: 8cc4645009 -s ours Change-Id: Ia8082bde626d30158c08689dfeedb3e4a792819e
2018-12-06[automerger skipped] DO NOT MERGE am: c8917ff191 -s oursThe Android Open Source Project
am: 0510c0f0ed -s ours Change-Id: I1c0a8b4ba1ab69fef2a05c2de5d566afe9a4589d
2018-12-06[automerger skipped] DO NOT MERGEThe Android Open Source Project
am: c8917ff191 -s ours Change-Id: I887c0e64f80cfa18fecb1670eed986a9a1839bd0
2018-12-06DO NOT MERGEandroid-o-mr1-iot-release-1.0.7The Android Open Source Project
Merge pie-platform-release (PPRL.181105.017, history only) into master Bug: 118454372 Change-Id: I622f5c591e963b7d45ac3f372e53f864826190e8
2018-11-30contexthubhal: fix result when hal doesn't send mgmt message to nanohub am: ↵Ben Fennema
7bf6a0cf68 am: 7b16be1845 am: 0e757faeaf Change-Id: Ie38c1f41198f175a90b3f947d41d9d444e8dba13
2018-11-30contexthubhal: fix result when hal doesn't send mgmt message to nanohub am: ↵Ben Fennema
7bf6a0cf68 am: 7b16be1845 Change-Id: I5fc04daf5a30fa2769daebb460195c50c0a0a710
2018-11-30contexthubhal: fix result when hal doesn't send mgmt message to nanohubBen Fennema
am: 7bf6a0cf68 Change-Id: I4f36db296c4e15a9e5b6d77cd62f85442cd492c1
2018-11-28Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-releasepie-platform-releasepie-cuttlefish-testingBill Yi
Change-Id: Id93b604b4cbe547deef8f1d5e809253ba658fa50
2018-11-08contexthubhal: fix result when hal doesn't send mgmt message to nanohubandroid-wear-8.0.0_r2Ben Fennema
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>
2018-10-26Fix implicit-fallthrough warnings locally. am: bf044c805b am: e1cc59d443Chih-Hung Hsieh
am: b5b00f8f33 Change-Id: Ibc05875146fe28399bf58df35048ed7099176113
2018-10-26Fix implicit-fallthrough warnings locally. am: bf044c805bChih-Hung Hsieh
am: e1cc59d443 Change-Id: I445171d3441b0778752a544fd181d9c7d5677ff2
2018-10-26Fix implicit-fallthrough warnings locally.Chih-Hung Hsieh
am: bf044c805b Change-Id: Ie736c30940b1c36e53770f0deedb1ca0a9b47cd2
2018-10-26Fix implicit-fallthrough warnings locally.android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-n-iot-release-ihome-igv1nougat-iot-releaseChih-Hung Hsieh
It will be a global error by default. Test: make checkbuild Bug: 112564944 Change-Id: Ia3466649cdddcc754de554edd96a674d00630733
2018-10-25Merge "nanohub:drivers:st_lsm6dsm: sync with imu cal changes" am: c6f7eac2ff ↵Ben Fennema
am: 37c4239adc am: 3360bf93b7 Change-Id: Ibf30c4471b9fcd272e2905270604179fa1475c7d
2018-10-25Merge "nanohub:drivers:st_lsm6dsm: sync with imu cal changes" am: c6f7eac2ffBen Fennema
am: 37c4239adc Change-Id: Ifdebd08db55cae24eb1c15b3242aeddb2e65d3f4
2018-10-25Merge "nanohub:drivers:st_lsm6dsm: sync with imu cal changes"Ben Fennema
am: c6f7eac2ff Change-Id: I85571273a84d0cf8919c1ed36daaab99502ca8f0
2018-10-25Merge "nanohub:drivers:st_lsm6dsm: sync with imu cal changes"Treehugger Robot
2018-10-24Convert to Android.bp am: 543168df41 am: 3bf5f54eedDan Willemsen
am: 9ee7623e56 Change-Id: I5bcd2656011eeaac29124168fab99f11dd00fe53
2018-10-24Convert to Android.bp am: 543168df41Dan Willemsen
am: 3bf5f54eed Change-Id: I4aea48fc6c0b826c876579953319709dbe5e7252