summaryrefslogtreecommitdiffstats
path: root/gnss
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the hasCarrierFrequency flag in GnssStatus(part 2)Yipeng Cao2017-04-281-7/+10
| | | | | | | | | | Bug: 37757180 Fixes: 37757180 Test: cts-tradefed run cts -m CtsLocationTestCases --test android.location.cts.GnssStatusTest Change-Id: I817931ee2c19d0a770c4d7cedfbd69bc85db6978 Chang-Id: Icf4240ccad7ff367d96001973c0be36308ffd9b3
* Adding missing NI_TYPE for emergency SUPLWyatt Riley2017-04-211-1/+2
| | | | | | | | Bug: 37409476 Test: Builds, and on Pixel, basic GPS & XTRA tests pass. Partners & Pixel team running the SUPL emergency tests. Change-Id: I6b23608e82dc1682d61a516ab5045d3b78b53cae
* Clarifying comments and todos, update current.txt.Wyatt Riley2017-04-202-15/+12
| | | | | | | | | | | | | | | **Note, hashes are being modified in place ONLY because this interface has not yet been released in a release of Android. Updated comments for clarity nearby some removed todo's on telephony APN and GNSS demodulated satellite data bits. Fixes: 34108918 Test: Built & run on Pixel, GPS & XTRA pass. Change-Id: Ia67be4c4c095479bbbf001987c1629b57ca864a5
* Merge "Remove dependency of libhardware_legacy from HAL services" into oc-devTreeHugger Robot2017-04-181-1/+0
|\
| * Remove dependency of libhardware_legacy from HAL servicesHung-ying Tyan2017-04-151-1/+0
| | | | | | | | | | | | | | | | | | It is not used by these services. Bug: 33241851 Bug: 37305530 Test: built and tested on sailfish Change-Id: I1f3f51981d7dfcf27e18d9495c747b7662867d31
* | gnss@1.0-service: drop inet group, add gps groupIliyan Malchev2017-04-151-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both system and gps groups might be relevant to the implementation of a GNSS HAL. b/36651420 [QCOM Treble] marlin/sailfish location daemon uses Binder b/36085168 STOPSHIP - HAL (GNSS) cannot have internet access b/35757613 STOPSHIP: O GNSS TTFF - Regressed to Cold Start (XTRA broken) (revert SELinux Change) Test: marlin Change-Id: I8aa5b18ef094b8540e7838174154f060a0c3fa9a Merged-In: I8aa5b18ef094b8540e7838174154f060a0c3fa9a Signed-off-by: Iliyan Malchev <malchev@google.com>
* | Route GNSS HAL libbinder traffic to /dev/vndbinderIliyan Malchev2017-04-142-0/+6
| | | | | | | | | | | | | | | | Bug: 36565056 Test: no more gnss crash at boot Change-Id: Ib3935beeb521dc655c5d7e1b6d7680a190b3fd4e Signed-off-by: Iliyan Malchev <malchev@google.com>
* | Changed the naming scheme for Treble java libraries (both static and dynamic)Andreas Huber2017-04-131-5/+5
|/ | | | | | | | | android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java Bug: 37207894 Test: make Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0 Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
* Update makefiles (2/2).Steven Moreland2017-04-111-0/+1
| | | | | Test: pass Change-Id: Ic7e6289c7b69785491708ce0acbb657f4c704229
* Merge "Add command line strictness to VTS" into oc-devWyatt Riley2017-04-071-28/+58
|\
| * Add command line strictness to VTSWyatt Riley2017-04-061-28/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was compile time, making command line for easier test team usage of the stronger test you can do with GNSS signal available. Also ensuring location calculated correctly after a delete all (when -agps present), and faster tests. Bug: 36356863 Test: Verified command line switches work as expected on a Pixel Change-Id: I4aa92ff2ca664b1c93bbc9ac154d27063160acf2
* | Fix transitive includes.Steven Moreland2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | Files relying on transitive include of utils/Log.h (and things that it includes) from MQDescriptor.h Test: pass Merged-In: Iff316b21bef556bb026378b7f89e97ded3febef4 Change-Id: Iff316b21bef556bb026378b7f89e97ded3febef4
* | Clarifying broadcast vs. predicted orbitsWyatt Riley2017-03-311-4/+8
|/ | | | | | | | | Clarifying comment changes only, no functional changes. Bug: 30955615 Test: Builds and GPS still works on device Change-Id: I073527c11d095651d712b41fc5b301ac478e4082
* IGnssDebug.hal field fixesWyatt Riley2017-03-301-36/+81
| | | | | | | | | | Modifying some fields in this API to align with values that work with partner implementations, and better capture the intent of this new API. Bug: 30955615 Test: Builds and works with hidl-gen Change-Id: Ied53cbeed2703ce757a246b45339ff2b9dfeb410
* Convert all comments into "doxygen-ready" comments.Andreas Huber2017-03-2921-250/+251
| | | | | | Bug: 36453077 Test: mma Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
* Update makefiles for hwtypes.hSteven Moreland2017-03-281-0/+1
| | | | | Test: pass Change-Id: I8e17eb8fec5d2f04c526476a866c8dd54ccb556c
* Improved GNSS HAL VTS test coverageWyatt Riley2017-03-231-4/+102
| | | | | | | | | | Calling all extension APIs, and checking some exist Calling delete and inject methods Checking measurement capabilties Bug:32022567 Test: Passes on Pixel XL with O Change-Id: I86d5416b08c91e4d96eff6ba8f88e50e0544540b
* GNSS Service handling System deathWyatt Riley2017-03-213-29/+157
| | | | | | | | | | | | | | | | | | | | | | | Stops all GNSS HAL operations, as system doesn't need them any more: normal, measurements, navigation message, batching Update default implementation to resend capabilities and system info and corresponding VTS to enforce Minor fixes completing the location check Softens GPS VTS to pass with no signal (still applies better checks if there is signal) Bug:36291274 Bug:36066672 Bug:35678469 Bug:35799723 Fixes:36291274 Fixes:36066672 Fixes:35799723 Test: VTS test passes, GPS stops after system server is killed Basic GPS tests (including delete Xtra) work (before VTS is run) Change-Id: Ic2ab0f8a79b4aff26eef468615bfee97a83e672f
* Change vts target base test class nameYuexi Ma2017-03-102-4/+4
| | | | | Test: make vts succeed, vts kernel tests and nfc hal tests passed Change-Id: I95f10ad7a66f261c9030357edd411fe6d94150e8
* hidl_default to all targets.Steven Moreland2017-03-081-0/+1
| | | | | | | | | | | find hardware/interfaces -type f -not -path "*/.git/*" \ -exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n defaults: \["hidl_defaults"\],/ }' {} \; ./hardware/interfaces/update-makefiles.sh Test: pass Bug: 35840847 Change-Id: If10c464d2f000b85c8d698fe11a4f3fc4cfad282
* GNSS: remove warnings from VTS tests.Steven Moreland2017-03-081-4/+4
| | | | | Test: pass Change-Id: I8f06bb4ce8d58164d2c2ebd8885daef75df45481
* Binderized GPS - restoring Xtra serviceWyatt Riley2017-03-081-1/+4
| | | | | | | | | | | | | | | | Adding group inet permission for the GNSS HAL default implementation for the XTRA-assisted-GPS file (from internet) download use case Bug: 35768061 Bug: 35757613 Bug: 34208553 Test: On Marlin - manual GPS tests including delete all then restats with xtra throttle off Change-Id: I54090979eff53e83a267ce8f6ad84b2aceae290a
* change all vts hidl tests to use VtsHalHidlTargetBaseTest (internal master)Yuexi Ma2017-02-282-5/+4
| | | | | | Bug: 33385836 Test: mma Change-Id: Ide3ebc4a9db76257f33bcfb0c1f13d2ee33eeaa8
* Merge "Remove viral dependency on libhwbinder. (2/2)"TreeHugger Robot2017-02-243-4/+2
|\
| * Remove viral dependency on libhwbinder. (2/2)Steven Moreland2017-02-243-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder \\/d' {} \; find hardware/interfaces -name Android.bp -exec sed -i -e '/"libhwbinder"/d' {} \; ./hardware/interfaces/update-makefiles.sh Note, automotive has some actual dependencies on libhwbinder, filed b/35758626 for this. Test: everything links Test: (sanity) booted marlin on internal master with these changes Bug: 35710429 Change-Id: I6d0726c8130d00684b978efbdd48e3ae396f12e5
* | gnss HAL uses "default" service nameChris Phoenix2017-02-243-6/+6
|/ | | | | | | | | | | | The getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: builds Bug: 33844934 Change-Id: I0c0cafff5079e49edbfd1f4858760f0c53d3fcfa
* GNSS HAL initial VTS testsWyatt Riley2017-02-223-2/+318
| | | | | | | | | Initial VTS tests for GNSS HAL Basic connection, and GNSS Location Received Bug: 32022567 Test: VTS runs & passes on a Marlin with build from OPR1.170222 Change-Id: Ied3c203add46013ad6f2df33bbc40cd2ec630d42
* Merge "Return existing interfaces for repeated getExtension calls"TreeHugger Robot2017-02-219-38/+156
|\
| * Return existing interfaces for repeated getExtension callsHridya Valsaraju2017-02-219-38/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, reset static state in destructors of interfaces. Until now, new interfaces were being created for each repeated getExtension() call to the Gnss interface. This was causing asserts to fail which were checking for multiple simultaneous instances of these interfaces. Death notifications should still required to be created for all interfaces including callback interfaces. Bug: 35391416 Test: Verified that Maps still work after forcing a system_server crash. Change-Id: I8ce0888016637a3d9b62db5619a3c8c569262c0d
* | Fix unused parameter warning and enable -Werror.Aurimas Liutikas2017-02-182-1/+3
| | | | | | | | | | Test: make -j60 android.hardware.gnss@1.0-impl still compiles Change-Id: I98256f95b77944d514971be02dc4d4b445359541
* | Move hidl shims to the vendor partition. (2/2)Steven Moreland2017-02-132-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | We need google shims on the vendor partition because they are providing an implementation of a vendor defined interface. They were written by google just as a courtesy/to make the transition easier. They're basically a set for vendors to assemble their hal implementations from. Bug: 34135607 Test: marlin persist.hal.binderization on/off Change-Id: I2e2af5af39264cf290259755bb9b2eb9827a21f5
* | Update makefiles to use filgroup syntax.Tri Vo2017-02-101-42/+2
| | | | | | | | | | Test: mmma hardware/interfaces Change-Id: I9f4457c78b7820c242d46359f0debe05d1b3e482
* | Updated makefilesAndreas Huber2017-02-091-3/+3
|/ | | | | | | | | Java intermediates are now created in the common rather than the device- specific generated sources subdirectory. Bug: 33842609 Test: make Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
* Merge "Migrate driver/profiler to test/vts-testcase/hal."TreeHugger Robot2017-02-081-255/+27
|\
| * Migrate driver/profiler to test/vts-testcase/hal.Tri Vo2017-02-071-255/+27
| | | | | | | | | | | | | | Bug: 34893894 Test: mmma hardware/interfaces Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
* | Merge "GNSS Batching - Default implementation"Wyatt Riley2017-02-087-23/+319
|\ \ | |/ |/|
| * GNSS Batching - Default implementationWyatt Riley2017-02-067-23/+319
| | | | | | | | | | | | | | | | | | | | Connecting GnssBatching from fused_location.h through to the IGnss(Batching).hal Test: Basic regular GNSS and batched GNSS functional tests on Pixel Change-Id: I3ff72c626acece891fd9e5ef2802b3489dac5dd2
* | Update Andriod.bp for hals.Zhuoyao Zhang2017-02-032-0/+308
|/ | | | | | | * Add driver/profiler build rule for all hals. Test: mma Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92
* Merge "Add annotations to create gnss-base.h"TreeHugger Robot2017-01-2414-1/+36
|\
| * Add annotations to create gnss-base.hHridya Valsaraju2017-01-2314-1/+36
| | | | | | | | | | | | | | | | | | | | This is required to make sure that the constants in gps.h does not ever go out of sync with the enums created out of them in the HAL interface definition. Test: mm Change-Id: I103cf46d198e9f5de9e0cfd64f2795f0094ecb39
* | Merge "Make some of the fields comments more clear and specific."TreeHugger Robot2017-01-232-12/+26
|\ \ | |/ |/|
| * Make some of the fields comments more clear and specific.gomo2017-01-222-12/+26
| | | | | | | | | | | | Test: Existing unit tests still pass. Change-Id: I65f015255958b29a44a7f844560694518e01212b
* | Ran update-makefiles.sh.Steven Moreland2017-01-192-4/+42
|/ | | | | | | | GNSS/Fingerprint/Graphics have all gotten out of sync. Bug: 34397031 Test: compiles Change-Id: Ie0a081a4574fd617d5d97ca30ba879f5284efd64
* Unset Vertical Accuracy, Speed Accruacy and Bearing Accuracy fields as some ↵gomo2017-01-151-1/+4
| | | | | | | | | chipsets set them in pre-Android-O devices. Test: Existing unit tests still pass. Change-Id: I542a2d82d16c1017859ad08060f30a0187664ffd
* GNSS O Features according to go/o-gps-halgomo2017-01-157-48/+163
| | | | | | | | | | Added "Tow Known" as a possible gnss measurement state. As well added Automatic Gain Control (AGC) to allow jammer detection. Also added the GNSS carrier frequeny to SV status. Also adedd vertical GPS position uncertainty, speed uncertainty and bearing uncertainty. Also propagate locaton new fields to geofence engine. Test: Existing unit tests still pass. Change-Id: I26784a17e82c044002395e1929f8862cc9de63cb
* liblog: use log/log.h when utilizing ALOG macrosMark Salyzyn2017-01-113-3/+6
| | | | | | Test: compile Bug: 30465923 Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
* Merge changes from topic 'bphwfoo'TreeHugger Robot2017-01-111-36/+36
|\ | | | | | | | | | | * changes: Bp/nFoo -> Bp/nHwFoo. Bp/nFoo -> Bp/nHwFoo
| * Bp/nFoo -> Bp/nHwFoo.Yifan Hong2017-01-111-36/+36
| | | | | | | | | | | | Test: mma Bug: 33554989 Change-Id: I4b3f852d20fdfc49f2da671dd3c12d618ffb4140
* | Add GnssLocationFlag enumHridya Valsaraju2017-01-111-3/+15
| | | | | | | | | | | | | | | | | | Enum created using constants from gps.h that was missed during original conversion. Bug: 31974439 Test: mm Change-Id: I5ce7bd25c5fac9860ac352f8bc873feddfb31062
* | Use bitfield type in GNSS HAL.Yifan Hong2017-01-1112-37/+31
| | | | | | | | | | | | Test: mma Change-Id: I92acf537a489fb06d942d3aa19ec9f40ffe26c23