Yuchen He
090f16c0b8
Supported synchronized fixed location and measurement from device files
...
Replace NMEA by one row fixed location data
Test: atest VtsHalGnssTargetTest
Test: launch_cvd -cpus 16 -memory_mb 16192 --start_gnss_proxy --gnss_file_path=/usr/local/google/home/yuchenhe/Downloads/raw.txt --fixed_location_file_path=/google/data/rw/users/yu/yuchenhe/input.txt
Bug: 213225295
Change-Id: Ide7bbb3e81a90414496084691227bd95a2e7af18
2022-01-20 23:17:16 +00:00
Yuchen He
42b2d0a65f
Support the location injection in AIDL HAL
...
Bug: 213225295
Test: atest VtsHalGnssTargetTest
Change-Id: Iff9fca55722af9bad6cc50f0170e4e1a069d05d6
2022-01-13 01:54:48 +00:00
Yuchen He
3cbf5f3291
Read GNSS measurement from device file when available
...
Test: atest CtsLocationGnssTestCases GtsLocationTestCases on CF
Bug: 190757198
Change-Id: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
2021-09-09 04:47:11 +00:00
George Burgess IV
f2493a3c3a
fix potential use-after-frees of stack memory
...
`devname_value` is a local variable; if `property_get` succeeds, we'll
return a pointer to it. Returning a `std::string` instead sidesteps this
problem.
Bug: 190757198
Test: TreeHugger
Change-Id: If9ca733dd21128706f2a9f62e8460b1286631aa5
2021-07-07 09:59:32 -07:00
Yuchen He
14a3018371
Refactor and reuse some read device file logic
...
Add skeleton on HAL for Gnss raw measurement injection
Bug: 190757198
Test: manual test
Change-Id: I9b58043d5ed321aa71ff4f23031df251ae89c407
2021-06-16 17:28:36 -07:00