Commit graph

182 commits

Author SHA1 Message Date
Patrick Berny
40dcf01215 Resolve merge conflicts of cb56fbeb9d to master
Bug: None
Test: cd hardware/interfaces/gnss && mm, check artifacts built
        successfully.

Change-Id: I32038aaf40b1d427b838242b7197581b7cde4efd
2020-01-31 18:35:57 -08:00
Automerger Merge Worker
cb56fbeb9d VTS: only assert that IGnssDebug present for non-automotive am: 2fd5c7cdf9 am: 984b3069bc am: 42b2f781be am: 500fd41fd5
Change-Id: I14f4e9616c998b18a629a8a1a3eaf1e1b806bbd4
2020-01-31 23:09:50 +00:00
Automerger Merge Worker
42b2f781be VTS: only assert that IGnssDebug present for non-automotive am: 2fd5c7cdf9 am: 984b3069bc
Change-Id: I4694449509de580da4049cef13458d35aed117af
2020-01-31 22:52:32 +00:00
Johan Ankner
2fd5c7cdf9 VTS: only assert that IGnssDebug present for non-automotive
VTS test VtsHalGnssV1_0Target#GnssHalTest.GetAllExtensions tests that
IGnss::getEnxtensionGnssDebug returns an actual extension. Make an
exception for automotive devices.

Bug: 143966170
Test: ran VtsHalGnssV1_0Target on Volvo IHU

Change-Id: I1588099a5be704c7869d6d5e8c0312d8b498bb95
2020-01-23 09:01:14 +01:00
Yu-Han Yang
200f8819c5 Add IRNSS svid range to HAL doc
- IRNSS was added in GNSS HAL v2.0, and its svid range was not specified
at that time. The existing client implementations wouldn't be broken
because they either don't support IRNSS yet or already use such a range
(specified in IRNSS ICD v1.1).

Bug: 147675678

Test: doc only and builds
Change-Id: If86555bf7d3019428d80299043c52ea81aa34bc5
2020-01-21 12:55:25 -08:00
Yu-Han Yang
b20389e2b4 Avoid injected location fused in GNSS location
Bug: 144104269
Test: atest VtsHalGnssV1_0TargetTest
Change-Id: I1266c6b7118d83e24a40dfe4ce4d4ba53a053343
2019-11-25 15:53:23 -08:00
Dan Shi
21eb2f5359 Merge "Convert VtsHalGnssV1_0TargetTest to be parameterized test" 2019-10-16 18:54:33 +00:00
Dan Shi
47e47836e5 Convert VtsHalGnssV1_0TargetTest to be parameterized test
Bug: 142397658
Test: atest VtsHalGnssV1_0TargetTest
atest VtsHalGnssV1_0Target

Change-Id: Ife6361f481409c3bac7ae518259bbc9837ccbdef
2019-10-15 09:25:51 -07:00
Nick Desaulniers
477c7e87b3 [hardware][interfaces][gnss] fix -Wreorder-init-list
C++20 will require members in a designated initializer to be in order
unlike C99.

Bug: 139945549
Test: mm
Change-Id: Ifdccde48c47c0495467f438002caf91cfdbd8091
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2019-10-14 11:05:44 -07:00
Steven Moreland
b3a4d3832e Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
2019-09-06 01:07:02 +00:00
Felix
37298a7616 Merge "Add interface info to .rc files"
am: 98d0f4d52c

Change-Id: Ie6cfbacd523c4b09f77bee3369ec8e88b3fa0419
2019-07-08 12:22:23 -07:00
Felix
551b8d15ce Add interface info to .rc files
Signed-off-by: Felix <google@ix5.org>
Change-Id: I6d70bbdb66c3dce280bf6908c3750316a6f6cf70
2019-06-25 20:00:07 +02:00
Anil Admal
bc5fcc4019 Merge "Clarify when IGnss.hal cleanup() and setCallback() methods are called" into qt-dev
am: 88d9d2570e

Change-Id: I775555a6e8394ca0954ab90fa0e08d50f73ab8cf
2019-05-10 09:05:47 -07:00
Anil Admal
2f28bb0c19 Clarify when IGnss.hal cleanup() and setCallback() methods are called
Update IGnss.hal cleanup() and setCallback() method documentation to
clarify when the framework calls these methods so that the GNSS engine
knows when to shut down for power savings.

This CL updates @1.1::IGnss.hal and @1.0::IGnss.hal interfaces only.
@2.0::IGnss.hal is updated in another CL.

Bug: 124104175
Test: Existing tests pass
Change-Id: I8181251677dab78ce0619fa1e2a667b36e115f25
2019-05-09 16:32:06 -07:00
Steven Moreland
1ae4615d9f Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
2019-04-17 09:38:50 -07:00
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Sasha Smundak
769c053d7c Explicitly include log/log.h or android/log.h instead of cutils/log.h
Eliminates the warning.
Test: treehugger

Bug: 123758136
Change-Id: Ibe50261efc18d659a10129977342bc765a9ba9d5
2019-02-01 10:52:09 -08:00
Keun Soo YIM
68ae05dd2d pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Yu-Han Yang
2cf6611343 Fix typo in Javadoc of GnssSvInfo
There is no behavioral change.

Bug: 119107672
Change-Id: Iac1452fca311025e2a4b9b194a6e69265736330d
Fixes: 119107672
Test: Javadoc update only.
2018-11-12 17:35:07 -08:00
Yu-Han Yang
3cce904a01 Clarify C/No reflects the tracked portion of a GnssMeasurement
Test: Comment updates only. Verified it builds.
Bug: 117942478
Change-Id: Ia069fbdb396b5bfc76d3dbeabd0c54622f568ade
Fixes: 117942478
2018-10-19 12:39:22 -07:00
WyattRiley
76ba504677 Clarifying GnssMeasurement and Clock commments
Change-Id: Ia51b16a2904ab43f67464fc91321fad99a2bb614
Fixes: 77812939
Test: Comments only, verified builds
2018-10-04 09:12:15 -07:00
Yu-Han Yang
66fb7a1b88 Delete time/position in InjectDelete instead of Delete_all
- DELETE_ALL will delete XTRA.

Bug: 110626730
Test: run VTS test on device.
Merged-In: I4f01430f24f92238193d3de6b6fbb31e81e9f006
Change-Id: I4f01430f24f92238193d3de6b6fbb31e81e9f006
(cherry picked from commit 84cff99b2f)
2018-08-28 21:14:53 +00:00
Vishal Agarwal
2910e64d24 Add VTS test to verify scheduling capability
2018+ devices must support GNSS capability scheduling
Test results: go/vts-review-bucket/pi-dev/4267645

Bug: 109642198
Test: atest VtsHalGnssV1_0TargetTest
Merged-In: I7394674abca8f8c40ab30403be6b41bbbb279956
Change-Id: I7394674abca8f8c40ab30403be6b41bbbb279956
(cherry picked from commit e3ff41fc12)
2018-08-28 17:37:48 +00:00
Zhuoyao Zhang
989afbaff5 Convert gnss hal test to use VtsHalHidlTargetTestEnvBase
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalGnssV1_0Target

Change-Id: I2d5fa6ef8f37c80c13ab33418821755f1dd2b748
2018-02-12 15:16:56 -08:00
Yi Kong
2eaccd181f Use correct format specifier for uint32_t am: 004dd379df am: f157a9c8c7
am: 31e0ddbc1c

Change-Id: I8abbbd0ed9d540f8d4a3092a7824c4c4afbc12b7
2018-01-03 18:10:46 +00:00
Yi Kong
31e0ddbc1c Use correct format specifier for uint32_t am: 004dd379df
am: f157a9c8c7

Change-Id: I09f1b729f872ebd58e7c43214b83a3832a142efd
2018-01-03 18:06:43 +00:00
Yi Kong
004dd379df Use correct format specifier for uint32_t
Discovered by the upcoming compiler update.

Test: m checkbuild
Change-Id: I03ed479a6a5c42d8dcc192e85d5268d1cd65cab8
2018-01-02 22:57:46 -08:00
tccyp
85f8a5d011 Comments for CTS Galileo Sub Message ID check
The Galileo ICD specifies the value of 0 for the Spare Word.
SV 18 is transmitting in test mode and its payload includes the Spare
Words.
The real fix is in the Cts location test.

Test: make cts -j 32
Bug: b/69428649
Change-Id: I7bf83a8c2cc5eed7fc325b0628238192aaf4def1
2017-12-15 14:42:52 -08:00
Wyatt Riley
0093415317 Clarifications to IGnss*.hal comments
Clarified PRN vs. Satellite ID
Corrected Measurement vs Clock typo

Test: build check, including hash verification. Comments only.
Change-Id: I1bef83800dbc796b1c8df43790f4239c81858d56
2017-12-14 18:05:31 +00:00
Chih-Hung Hsieh
1bf3cfc11d Merge "Use -Werror in hardware/interfaces" am: 02804915fb am: 8e736c21de
am: f53fe9317b

Change-Id: Ifc0a5be285be1a57d998db3c032e392b307cfa80
2017-11-28 19:31:03 +00:00
Chih-Hung Hsieh
f53fe9317b Merge "Use -Werror in hardware/interfaces" am: 02804915fb
am: 8e736c21de

Change-Id: I42045ae2f98fc232dd48efba8d48e83a6ab0d35e
2017-11-28 19:27:31 +00:00
Chih-Hung Hsieh
8e736c21de Merge "Use -Werror in hardware/interfaces"
am: 02804915fb

Change-Id: Id73af9532487a85ad1d1170dbce809761d4a93a8
2017-11-28 19:24:00 +00:00
Chih-Hung Hsieh
3f2ea62d06 Use -Werror in hardware/interfaces
* Use hidl_defaults, which has -Wall -Werror.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ifbca0e176a8e031acc27256eb46d23b89cdf1a0e
2017-11-20 10:49:11 -08:00
Xin Li
bb9e38fef9 Merge commit '1a06284b24f5eb7bb9c1fea0817da8898b3b1bff' from
oc-mr1-dev-plus-aosp into stage-aosp-master

Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
2017-11-14 12:08:38 -08:00
TreeHugger Robot
e803ecf89a Merge "Updating makefiles for hidl_interface." into oc-mr1-dev-plus-aosp 2017-11-14 01:03:24 +00:00
Wyatt Riley
a9a2b28709 Loosen speed check for first GPS location am: f926e11c89
am: 3200996d4b

Change-Id: I77101d9352459bb986adfed1951fc893cf13c9fb
2017-11-13 21:04:30 +00:00
Wyatt Riley
3200996d4b Loosen speed check for first GPS location
am: f926e11c89

Change-Id: Icb4b4a21afcc86d743f2f2c159cb54c9b0231a96
2017-11-13 21:01:59 +00:00
Steven Moreland
c2f829a1d2 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 11:39:07 -08:00
Steven Moreland
8db261bc99 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -08:00
Steven Moreland
a1169dd600 Update makefiles for hidl_interface.
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
2017-11-10 09:06:55 -08:00
Wyatt Riley
f926e11c89 Loosen speed check for first GPS location
As it is often found in a short integration
window with very high Doppler uncertainty.

Bug: 67877519
Test: Verified Pixel still passes VTS
Change-Id: Ia05359f572f4ea7be81f9d5fe30bd619322bebd3
(cherry picked from commit adca98d590)
2017-11-08 16:05:22 +00:00
Steven Moreland
d28c1bdf62 Merge "Automatic mk -> bp." am: e5fd969f19 am: 72c720a4e3
am: 26013bf6ac

Change-Id: Id936fb4806d122045c771c951220361efeef10c6
2017-11-07 21:24:49 +00:00
Steven Moreland
26013bf6ac Merge "Automatic mk -> bp." am: e5fd969f19
am: 72c720a4e3

Change-Id: Icfc8b46117e94461906806023852836a0ace3a55
2017-11-07 21:21:40 +00:00
Steven Moreland
90e3a50f03 Automatic mk -> bp.
Automatic mk -> bp conversion for all modules here
which can be converted and built automatically.

Test: Soong resolves all dependencies
Bug: 37512442
Change-Id: Ib789212cb88d55731397c600d132e7c672c0d8be
2017-11-03 16:30:28 +00:00
Wyatt Riley
adca98d590 Loosen speed check for first GPS location
As it is often found in a short integration
window with very high Doppler uncertainty.

Bug: 67877519
Test: Verified Pixel still passes VTS
Change-Id: Ia05359f572f4ea7be81f9d5fe30bd619322bebd3
2017-10-31 13:46:33 -07:00
TreeHugger Robot
63900e6c1a Merge "Fixing FLP vs. GNSS location flag mapping" 2017-10-13 18:49:24 +00:00
TreeHugger Robot
f40c37590d Merge "Clarifying documentation for SUPL ES configuration" 2017-10-13 18:36:36 +00:00
Wyatt Riley
3b7c4396ca Fixing FLP vs. GNSS location flag mapping
Bug: 67757915
Test: Builds on affected targets (Pixel)
Change-Id: I68fa9f5101acfb5add5495c8770a1ef18757b65f
2017-10-13 07:08:31 -07:00
Steven Moreland
1d7374c5e1 Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1
am: 116161d94e

Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
116161d94e Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1
am: 6c811964a1

Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
2017-10-11 16:31:07 +00:00