summaryrefslogtreecommitdiff
path: root/core/SystemStatus.h
AgeCommit message (Collapse)Author
2019-10-02Support PQWP7 parsing without NAVICKevin Tang
Support PQWP7 NMEA parsing for older GNSS engine without NAVIC support. Bug:141735605 Test: build pass and no PQWP7 error when tracking CRs-Fixed: 2516292 Change-Id: I62bd4467f15b8c5fc77e7c979eefb146276ff2a0
2019-07-08Add XSSO support for multiple network handlesKevin Tang
Add support in HAL for multiple network handles with same type. Change-Id: Idc9e6fc1c7876dc868264500d60a5d086ab003b0 CRs-Fixed: 2477395
2019-06-05Update SystemStatus with battery info in HealthHALYingjie Wang
Change-Id: Ibc2157f1834eb65da48f9375e497628411a185c9 CRs-fixed: 2433570
2019-05-09Adding NAVIC supportSaurabh Srivastava
NAVIC constellation support added. Change-Id: I30a61f53089177d4e02b617dc9b785c13e2ef6ee CRs-Fixed: 2399619
2019-05-01Age Second field in GNSS debug data is incorrectMike Cailean
Change-Id: Iec28f9dbbc3b9cfe9a5d06e1f198a02cf09047be CRs-fixed: 2434780
2019-05-01feat: Add timeuncNs in PQWM1 messageKatz Yamada
Add timeuncNs field in PQWM1 of debug NMEA message generated by modem. SystemStaus to parse it. GnssDebug adds this value in timeunc when it generates GNSS debug report. Change-Id: I649915f95730dc8db22e8b4cb88008edc6d8b9d0 CRs-Fixed: 2236950
2019-03-26Add HAL support for network handleKevin Tang
Add HAL support for modifications to the network status information passed in. Change-Id: I99defc6a419d9f21ce74469a1aa016cc7fade4a5 CRs-Fixed: 2397433
2018-09-24Pass Framework Action request object to HandleTurnOn msg taskHarikrishnan Hariharan
Currently Sys Status OS Observer object was being passed, due to which actual turn on functionality in Framework action request object was not being invoked. Implement equals for SystemStatus class for BT scan device data so that it is handled correctly in setIteminReport. Change-Id: Ie7f24a1eaf886a2402698489bfd1d0ddc34585cf CRs-Fixed: 2321041
2018-06-27fixed data items for service and cell infoKevin Tang
which right now are not keeping any data into the SSOO's table, therefore it is not able to determine if the new data arrives is different than the current one. This results in not passing the following data updates to the clients. Change-Id: Ieb94e959228d9a9f8d43b090f3328208387d864f CRs-Fixed: 2239616
2018-06-06DataItem changes to fix incorrect NetworkInfo connect handlingKevin Tang
NetworkInfoBaase added a type to allTypes protected method so that derived class can use it. Also, the SystemStatusNetworkInfo no longer compares names in its equal(), as it only is going to return false when comparing GnssLocationProvider NetworkInfo and OsAgent NetworkInfo. Change-Id: I363f27f4ed7be4aab2a4c4c033d5dff69d0a47d9 CRs-Fixed: 2251564
2018-05-14Fixed a number of issues with NetworkInfoDataItemBaseKevin Tang
There are a couple of issues. NetworkInfoDataItemBase objects might be from OsAgent or GnssLocationProvider. The two sources actually have mTypes defined differently. In addtion, when there are different types of connections such as wifi / mobile, getting connected / disconnected independently, clients need to be all notified correctly. Right now, if mConnected hasn't changed, no updates are send. For exmple, if mobile is connected, later wifi gets connected too, clients won't know. SystemStatus is also updated to get updated / colated informtion. In the above example, SystemStatus's top record would record as both mobile and wifi are connected. Change-Id: I1825902247fe1d4e6363f5e24a75be7e984d0dc4 CRs-Fixed: 2221114
2018-01-16LE clean upKevin Tang
separated utils, core, ds and loc-api-v02 from loc-hal into their own independent packages; simplified loc-pla; moved pla to the root of project; removed loc-stub. Change-Id: I373f02f9306646addf55ae90d71c4ba8e3741d09 CRs-Fixed: 2172544
2018-01-03Remove system status reset upon delete aiding dataYingjie Wang
Delete aiding data command would trigger default gnss engine state set. Rename setDeafultReport with setDefaultGnssEngineStates and remove system settings reset in it. Change-Id: I7b5dffe3191b24e9f5bb6d887705fca34ed94013 CRs-fixed: 2151350
2017-12-25Merge "Replace wall time"Linux Build Service Account
2017-12-08Fixed incorrect casting for SystemStatus::setNetworkInfo callKevin Tang
An incorrect casting at SystemStatus::eventDataItemNotify was causing a heap overflow when trying to cast NetworkInfoDataItem into SystemStatusNetworkInfo, that is bigger. Change-Id: I3fbd88a1daf210c3c687a6f49ad868968a6efd96 CRs-fixed: 2137958
2017-12-05Replace wall timeBaili Feng
Replace gettimeofday with clock_gettime CRs-fixed: 2144315 Change-Id: Ie8472d2aedcd0e63b86cc5ff100ce9bb28fd670c
2017-10-09Add storing dataitem in systemstatus reportKatz Yamada
SystemStatus stores incoming dataitem events received from osagent into its internal systemstatus report cache. Change-Id: I129c633b45abfc04c9d9bbbd558db5f6e93c1672 CRs-Fixed: 2093347
2017-09-22Add support more bp amplitude in systemstatusKatz Yamada
Add support of glo/bds/gal baseband processor amplitude in systemstatus. These values will be added in PQWM1 debug NMEA messasge. Change-Id: If880bdfa81b41a82bb133bda8a0b33862f3eade5 CRs-Fixed: 2091024
2017-09-20fixing conn disconnect handling from GnssLocationProviderKevin Tang
The "type" needs to maintain as signed, in case some value may come across as negative, even though the storage size may vary, from 8-bit to 32-bit, for example. Bug: 65164961 Change-Id: Ieb3fb4b6f8415444bbe192a7875093f86a9c3068 CRs-Fixed: 2106350
2017-09-07Integrate XtraSysStatObs with SystemStatusObserverHarikrishnan Hariharan
Use SystemStatusObserver to subscribe for dataitems in XtraSystemStatusObserver. Change-Id: Ib1828b9025c9c5bb5194a36014249472ed3f6f9e CRs-Fixed: 2093290
2017-08-11Add DataItemObserver interface in SystemStatusHarikrishnan Hariharan
Add DataItemObserver interface in SystemStatus so that clients can subscribe dataitem events from SystemStatus. Also moving DateItem and its observer, subscription classes into HAL Simplify DataItem class implementation. Change-Id: I7b2c3fc9dcf67dd6132bbcccda874e3f7ed6fa94 CRs-Fixed: 2041019 2072896
2017-06-06Add set default report API in systemstatusKatz Yamada
Add an API to set default report data cached in systemstatus. Call this API when delete all aiding data is requested, so that bugreport has all default values. Bug: 62068956 Change-Id: I76d661c6a89a1644aef2a8f47253ce9cc0d727fb CRs-Fixed: 2054705
2017-04-27SystemStatus - Add ephemeris detail info in Gnss Debug interfaceKatz Yamada
Add ephemeris detail info in Gnss Debug interface. This new info also comes up in NMEA stings. Requires a new QMI_LOC interface that supports extended NMEA string TLV. Change-Id: I5dc566fb210c06a443ed6c27e064377851ce83a5 CRs-Fixed: 2024594
2017-04-11SystemStatus - Add reported UTC timestamp in reportKatz Yamada
Add reported UTC timestamp field in systemstatus' report data structure. It indicates the system UTC time when the information was last received from provider such as modem. Change-Id: I31beb64958c980242ea65fb9a602e18985ad17e1 CRs-Fixed: 2012926
2017-03-24Added support for AGCMike Cailean
Added support for AGC (automatic gain control) CRs-fixed: 2023324 Change-Id: I6d6da23aab66da14bfa594077beda15194bdbeba
2017-03-21SystemStatus - Add BugReport supportKatz Yamada
Add BugReport support in SystemStatus. It exposes getReport interface to GnssDebug via GnssAdapter. GnssDebug generates Gnss' BugReport information upon a request tiggered by Android framework. Change-Id: I681777da10c860ea15ee65b7860a5ce61a7798db CRs-Fixed: 2016125
2017-03-21SystemStatus - initial releaseKatz Yamada
Add GNSS SystemStatus component to handle debug NMEA messages from mpss. This component handles GNSS debug info sent through debug NMEA and then stores it in its cache and pass it to clients per requests. Also debug NMEA is turned on by default. Change-Id: Ia11a124ff43d27568f544a3a4742dd7a846869fe CRs-Fixed: 1099152