summaryrefslogtreecommitdiffstats
path: root/gnss/1.1
Commit message (Collapse)AuthorAgeFilesLines
* pack VTS cc_test binaries as general-testsKeun Soo YIM2018-11-271-0/+1
| | | | | | Test: make general-tests Bug: 120093339 Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
* Allow more time to un-blacklist strongest sateliteWyattRiley2018-09-281-26/+51
| | | | | | | | | | Also fixes a few intermediate values and confusing logging discovered during weak GPS signal testing. Change-Id: I2d3c5113956132ef4b60e28653aacf89f1159d83 Fixes: 116170859 Test: Deep indoor fail and windowledge pass of VTS on test phone, and logcat values check.
* Set the floor value of time estimate as 2017 Jan 01 00:00:00 GMTYu-Han Yang2018-08-291-1/+1
| | | | | | | | | | | | | | - The VTS test checks if the time estimate is a sane value. Thus, any arbitrary sane value is acceptable. Here we make it consistent to IGnssDebug.hal, where a comment mentions 2017 Jan 1 as an example of the value. Bug: 110094003 Test: make vts, and tested on device. Merged-In: Ic4f6b597a718ea3e98a67c7939f9e6930d44d224 Change-Id: Ic4f6b597a718ea3e98a67c7939f9e6930d44d224 (cherry picked from commit 5fa43c83e90ccd0f852c89feb0e071aad195d7b2) (cherry picked from commit 4f0d19ebff1f4a3eb565d8432f44b561ebd4abe2)
* Improve VTS GNSS 1.1 reliability.WyattRiley2018-08-283-17/+42
| | | | | | | | | | | | | | | | Allow VTS test for low power mode to handle certain vendor issues that supply one extra location at the start of low power mode. Allow more time for GNSS first fix, and warmup as needed given limited VTS access to AGPS. Bug: 110626730 Bug: 110987651 Test: (TODO) Passes on device. Merged-In: Ieeefd7fcd45890b03dffbbee965e1d9b17805c4c Change-Id: Ieeefd7fcd45890b03dffbbee965e1d9b17805c4c (cherry picked from commit 5ea5dda2c33f9d2f1db77d6b4493f0eb356c2937)
* Inject last location in InjectBestLocation VTS testYu-Han Yang2018-08-281-18/+3
| | | | | | | | Bug: 110626730 Test: run VTS on device. Merged-In: I6f57dd7f9164dacf011f25412e55fcd22821aca0 Change-Id: I6f57dd7f9164dacf011f25412e55fcd22821aca0 (cherry picked from commit bb372e5984a612cb6972e837662d64a90785fbd8)
* Tolerate 1 sv status in GNSS blacklist VTS testYu-Han Yang2018-08-281-5/+10
| | | | | | | | Bug: 110969497 Test: run VTS test on device. Merged-In: I26345bb62513da8530cb48672e5f59a915817cb4 Change-Id: I26345bb62513da8530cb48672e5f59a915817cb4 (cherry picked from commit 91cc8f4832882e8fa9baa04d717184636a57314d)
* Set lowPowerMode as false in StartAndGetLocationsYu-Han Yang2018-05-311-1/+1
| | | | | | | Bug: 80544245 Change-Id: Icf85e9b8ed433dbdb759b54c4ba7b5e7a21b7a26 Fixes: 80544245 Test: VtsHalGnssV1_1TargetTest --gtest_filter=*Blacklist*
* Update VTS test to blacklist only non-GPS satellitesYu-Han Yang2018-05-222-7/+14
| | | | | | | Bug: 79481978 Change-Id: Ieef04d816448d37ae54c61375db4955d4d3a24d7 Fixes: 79481978 Test: make vts
* Update doc in Gnss Hal v1.1Yu-Han Yang2018-04-022-13/+16
| | | | | | | Bug: 74949950 Fixes: 74949950 Test: N/A Change-Id: I863445417d785c0b346ec96383adfd2366dbd71b
* Comment updated for privacy clarityWyatt Riley2018-03-211-0/+3
| | | | | | | | | Clarifying model name does not allow device specific indentification. Bug: 73951626 Test: Build only (comment only) Change-Id: Ib10176ec4db935fe87330b39977b7ab6b281808f
* Fix breakage by removing #include gps.hYu-Han Yang2018-03-151-1/+0
| | | | | | | | Bug: 74951218 Fixes: 74951218 Test: aosp_arm64-eng builds Change-Id: Iae66fc56b5cba01a3a1cb363f62dabd223743438
* Merge "Mock blacklisting satellites in default implementation" into pi-devWyatt Riley2018-03-158-37/+310
|\
| * Mock blacklisting satellites in default implementationYu-Han Yang2018-03-148-37/+310
| | | | | | | | | | | | | | | | | | | | - Mock GnssDebug to pass the sanity check. Bug: 73845705 Test: All Gnss v1.1 VTS tests are passing on gce_x86 Change-Id: I258fb1671d2b682f471207192b8a0feb138c16ab
* | Call SetGnssCallback in SetUpYu-Han Yang2018-03-153-28/+33
| | | | | | | | | | | | | | | | | | - Each VTS test requires a valid GnssCallback Bug: 73845705 Test: tested Gnss v1.1 VTS on gce_x86 Change-Id: I2ca8e6b86aeadc60d7ceacbc2ffaf05ea75c0f40
* | Update OWNERSYu-Han Yang2018-03-142-0/+5
|/ | | | | | | | | | - Add yuhany to 1.1/vts/OWNERS - Add OWNER file to 1.1/default/ Bug: 73845705 Test: N/A Change-Id: Id83805edd841d161f1dbfe1907af97d5d7cb2b06
* Implement Gnss::start() and Gnss::stop()Yu-Han Yang2018-03-084-16/+113
| | | | | | | | | | | - calling start() creates a thread that periodically receives locations Bug: 73845705 Test: ran VtsHalGnssV1_1TargetTest. SetCallbackResponses and GetLocationLowPower are passing Change-Id: I6a544c2832037a8b507c0ab030a8b766be499669
* Merge "Add boilerplate default implementation for Gnss Hal v1.1"TreeHugger Robot2018-02-289-0/+471
|\
| * Add boilerplate default implementation for Gnss Hal v1.1Yu-Han Yang2018-02-279-0/+471
| | | | | | | | | | | | | | | | | | Bug: 73845705 Test: gce_x86 device builds and runs. Debug logging shows default implementation is called by GnssLocationProvider. Change-Id: I58db6b11ad8b67d0364d8945801165cf6e499e55
* | Update documentation of gnssRequestLocationCbYu-Han Yang2018-02-261-5/+13
|/ | | | | | | Bug: 73716887 Test: This change updates comment only. Verified it builds. Change-Id: I580de91d95b25075af4b8e9fd7d3ed6536303616
* Merge "Adding additional enum value for Half Cycle"Wyatt Riley2018-02-213-1/+82
|\
| * Adding additional enum value for Half CycleWyatt Riley2018-02-203-1/+82
| | | | | | | | | | | | | | | | | | Adds Enum, and documents the deprecated fields. Bug: 71908529 Test: Builds for device and vts, with corresponding framework and vts changes. Change-Id: I232239f583f820c5d0538e1ae9567f01944f2399
* | Merge "Call deleteAidingData to clean up after injectBestLocation"TreeHugger Robot2018-02-211-0/+4
|\ \ | |/ |/|
| * Call deleteAidingData to clean up afterYu-Han Yang2018-02-161-0/+4
| | | | | | | | | | | | | | | | | | injectBestLocation Bug: 73318250 Test: Copy the same test to v1.0 and manually run vts tests. All passed. Change-Id: Ie5196c3ce197c39f57444b89d1ae6b75cedf2b69
* | Merge "Convert gnss hal test to use VtsHalHidlTargetTestEnvBase"Zhuoyao Zhang2018-02-133-4/+24
|\ \ | |/ |/|
| * Convert gnss hal test to use VtsHalHidlTargetTestEnvBaseZhuoyao Zhang2018-02-123-4/+24
| | | | | | | | | | | | | | | | Bug: 64203181 Test: make vts vts-tradefed run vts -m VtsHalGnssV1_0Target Change-Id: I2d5fa6ef8f37c80c13ab33418821755f1dd2b748
* | Add VTS test for checking upper bounds of GnssDebug uncertaintiesYu-Han Yang2018-02-071-4/+7
|/ | | | | | Test: copy to v1.0 and run vts on sailfish Change-Id: Ia15369db2a1e3243f0f2fff54ab5dc3ce917929c
* Add GNSS VTS test for IGnssDebug.TimeDebug values sanity checkYu-Han Yang2018-01-301-0/+4
| | | | | | | | Bug: 36567271 Test: Copied the change to v1.0 and tested on Walleye. Change-Id: I891ac655738cea72a67406dce954bbce34fc03ad
* Add GNSS VTS test for GnssDebug position valuesYu-Han Yang2018-01-291-0/+49
| | | | | | | | | | | | | sanity check. Bug: 36567271 Test: vts-tradefed run commandAndExit vts \ --skip-all-system-status-check \ --primary-abi-only --skip-preconditions -l VERBOSE \ --module VtsHalGnssV1_0Target Change-Id: I4fc2caf757743481f84ee1ec679082842c46adbd
* Add gnssRequestLocationCb to IGnssCallback.hal and injectBestLocationYu-Han Yang2018-01-244-1/+62
| | | | | | | | | | | | | | | | | to IGnss.hal - add the gnssRequestLocationCb to IGnssCallback.hal, with a boolean flag to supply with or without GNSS information, to request location for fast TTFF (or error recovery). - correspondingly add the injectBestLocation to IGnss.hal for the location provider to inject the location. Bug: 72341681 Test: Copied the same change and test to v1.0 and manually ran vts tests. All passed. Change-Id: I2e9d11603a2f16ef52d6c1556be75bdbcd8d0e80
* GNSS Satellite Use Blacklist HALWyatt Riley2018-01-056-138/+527
| | | | | | | | | | | | | | | | | Adding .hal change IGnssConfiguration to enable external (system) control of satellite usage. Adding VTS tests of the new .hal (ready for partners to integrate against.) Bug: 38269641 Test: .hal & vts builds, vts test runs and fails fast (no 1.1 HAL on initial test device), vts test logs run as expected on a 1.0 device (with tests to make this run), on-device sanity check of GPS works, builds with JNI test code (to be submitted separately) Change-Id: I72b5045eb0eea30d51ed5098248482cbbfc5aaff
* GNSS HAL & VTS for Duty Cycling & Low Power APIs.gomo2017-12-016-12/+303
| | | | | | | | | | | | Defintions for 2 GNSS Android P features: - The Duty Cycling OFF API to enable high accuracy applications development - The Low Power Mode GNSS API to save power when indoor VTS tests for both features. Bug: 64009176 Test: hidl-gen/compile/build checks, no functional tests yet Change-Id: I4a41757e4ad6747f22a7e9ae1e0024f083c5fbfb
* Adding GNSS Model & Version StringWyatt Riley2017-11-289-0/+381
Bug: 38003769 Test: Device code & VTS builds, runs. Todo in later phase: java connection. Change-Id: Iddb2f25b18aba800e4f077d72c0452a417f78576