c0a07007f1a7a879d7c07f1b849cd3c5c925ca93 |
|
27-Mar-2017 |
Denis Ciocca <denis.ciocca@st.com> |
util:nanotool: use delay while executing SelfTest immediatly after DisableSensor Most of drivers complete enable/disable after SPI/I2C callback transaction return. Since enable/disable functions return immediatly before it, some time ensure entire process is completed. Change-Id: Iba41a2820b01367f880ac1f4c559680e538ca1b4 Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
/device/google/contexthub/util/nanotool/nanotool.cpp
|
0bbeeb0994d8a8a9ef0b296225f37e5fba33bbf8 |
|
28-May-2016 |
Trevor Bunker <trevorbunker@google.com> |
nanotool: add support for running sensor self-test Bug: 28906610 Change-Id: I2c728f884db2215e981e5308eb51d90f0c7f206d
/device/google/contexthub/util/nanotool/nanotool.cpp
|
2e4e0a0ac2f767fe6882995aa6b7ca15c354cbe1 |
|
28-May-2016 |
Brian Duddie <bduddie@google.com> |
nanotool: Add list terminator for long options Add a list terminator so getopt_long does not read past the end of the long options array on an unrecognized argument. Change-Id: I0cdec096b7046ab97251437743944ea2e9592da2
/device/google/contexthub/util/nanotool/nanotool.cpp
|
a1695e3d6adc2f198c31b04a6184bac0d20aeddc |
|
15-Apr-2016 |
Brian Duddie <bduddie@google.com> |
nanotool: Add bridge version request Bug: 28179179 Change-Id: Id53c2a130abc9560f4cf629fa01426a9377096ce
/device/google/contexthub/util/nanotool/nanotool.cpp
|
c47a7f42f2fd1e8adc435e5312453cbecb725773 |
|
23-Mar-2016 |
Brian Duddie <bduddie@google.com> |
nanotool: Add device index option Allows the user to select between multiple devices connected to the same system. Not currently applicable to Android, but used with the USB-based compilation. Change-Id: Ie70796505481b54fe13d0a2106e973fd1d7244c8
/device/google/contexthub/util/nanotool/nanotool.cpp
|
9bdc81fe4f7d10eeae6e090280b62cddd7ab485f |
|
23-Mar-2016 |
Brian Duddie <bduddie@google.com> |
nanotool: Output message on success Change-Id: Ia015e0121363f3e7e7e19e89b4cf82dee45cb258
/device/google/contexthub/util/nanotool/nanotool.cpp
|
83110051b77fe8a6c4c31ef115ad745cea4d79a6 |
|
21-Mar-2016 |
Brian Duddie <bduddie@google.com> |
Revert "Revert "nanohub: Block HAL read threads when lock file present"" This reverts commit 86d29ab20893e3eca99ad010b3da5aa314ff5c38. Compilation fix for nanohubhal.c required in upcoming commit.
/device/google/contexthub/util/nanotool/nanotool.cpp
|
86d29ab20893e3eca99ad010b3da5aa314ff5c38 |
|
20-Mar-2016 |
Bart Sears <bsears@google.com> |
Revert "nanohub: Block HAL read threads when lock file present" This reverts commit 94e8b24272e50ffc9470ee8be3a8e3855d0832c1. Change-Id: Ic2e5a4b7aa07d40e7938b56aaf56c695864044f5
/device/google/contexthub/util/nanotool/nanotool.cpp
|
94e8b24272e50ffc9470ee8be3a8e3855d0832c1 |
|
15-Mar-2016 |
Brian Duddie <bduddie@google.com> |
nanohub: Block HAL read threads when lock file present Support factory calibration, low-level debug, etc. using direct access to the device file while the Android runtime is up without interference from the sensors HAL or context hub HAL by using a lock file. When the HALs notice that this lock file is present, their read threads will block until the file is removed, rather than reading from their respective device files. This avoids the race between the read threads and a command-line utility that are both attempting to read events from a device file with no inherent multi-client support. This lock file is created and deleted by nanotool (or potentially some other utility in the future), assuming it is run with sufficient privileges to access the directory. The current implementation sacrifices true inter-process synchronization for lower overhead in the read threads, meaning that nanotool needs to use a time delay to have reasonable assurance that the HAL threads have noticed the creation of the lock file. Bug: 27569995 Change-Id: I692acc4ca773151fbd677ac1d71f526c598b4e5f
/device/google/contexthub/util/nanotool/nanotool.cpp
|
d2c8904613bd2bd5bb8c08c4ba039d8f89f1d5a4 |
|
26-Feb-2016 |
Andrew Rossignol <aarossig@google.com> |
nanotool: Adds an interface to support flashing the sensor hub Change-Id: I8d66037e755d8ea532e7ab80b0a8a5661a7d2d3f
/device/google/contexthub/util/nanotool/nanotool.cpp
|
8d36f9182f1394ff9cf11a59d402b285039107e1 |
|
25-Feb-2016 |
Brian Duddie <bduddie@google.com> |
nanotool: Move from vendor/google_contexthub Original authors: Brian Duddie (bduddie@google.com) and Andrew Rossignol (aarossig@google.com). Change-Id: I802325e045d6a70f7b69a1404647299d813b3642
/device/google/contexthub/util/nanotool/nanotool.cpp
|