summaryrefslogtreecommitdiff
path: root/gnss/XtraSystemStatusObserver.h
AgeCommit message (Collapse)Author
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-05-09LocIpc redesignBhavna Sharma
LocIpc now doesn't have any impelementation of sockets, but a framework that provides threading for any sockets that can be wrapped into LocIpcSender and LocIpcRever APIs. Also updated XtraSystemStatusObserver to using the new LocIpc and LocIpcLocalSender and LocIpcLocalRecver. Change-Id: I506c77198f9ce1e7d4dfd5e596dc0ac21d928e34 CRs-Fixed: 2443124
2019-03-31Merge "Add HAL support for network handle"qctecmdr
2019-03-27Batching and Geofence moved to GNSS HALDante Russo
Addition of BatchingAdapter and GeofenceAdapter. Deprecated Background LOC QMI Client and renamed LocDualContext renamed to LocContext. Moved some common Adapter functions into LocAdapterBase. Added Distance Based Tracking logic into GnssAdapter. Addition of flp.conf Deprecated GEOFENCE capabilities configuration in gps.conf CRs-fixed: 2342200 Change-Id: I6b6257c4cf296e5a8c56bc0b149e4de77cf6cdf9
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
2019-03-18clear magic number for GPS_LOCKHoss Zhou
Change-Id: I3c1b5a18ab16382a436098f8af541bf7f125783e CRs-fixed: 2370451
2018-08-06Fix: Xtra connection initialization issueHoss Zhou
HAL sends an empty field to Xtra when connections is not updated. Change-Id: I42c456581a1a968887880154f1ffffee12421354 CRs-Fixed: 2259165
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-03-02remove unused variables for compilationDante Russo
remove unsed variables and fix few compiler issues CRs-fixed: 2175735 Change-Id: I635a7503326928f43070aa2224bc3c3d6e1ff929
2018-01-15LocIpc: enhance startListeningNoBlocking with ready callbackKevin Tang
For startListeningNoBlocking, for callers that need to know when the socket is actually being created and ready to receive message, this change allows callback to be invoked when socket is ready. Change-Id: Ie7c6eb1a3966371d84fc98109f07805ac7d4e3a1 CRs-fixed: 2169568
2017-11-28Record the first connection status notificationBhavna Sharma
Keep record of whether connection status was reported and report it in the response status CRs-Fixed: 2126610 Change-Id: I284f53c71f1131a73eed0adaf00b66f04e4100ac
2017-11-15HAL handshake with XTRARuifeng Xu
send XSSO state on XTRA request; send XTRA the init event on XSSO start. Change-Id: Ic1833dc85b7b29259069335bbce26d388ca83d32 CRs-fixed: 2074685
2017-10-05new apis for control xtra throttleRuifeng Xu
added register and unregister apis of a callback that listens to XTRA client throttle enablement commands. Change-Id: Id50e7311516593018113203b5dfa700f0fdc037b CRs-fixed: 2092629
2017-10-05add HAL socketRuifeng Xu
this patch contains the following changes: 1. added header and implemenation files of socket util apis in libgps.utils; 2. updated XtraSystemStatusObserver to use the new apis; 3. added HAL socket and new thread to listen to it. Change-Id: If1f6b4b4d6ea2d03640f68e96f0286300404f42b CRs-fixed: 2108635
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-08Xtra client interfacing with LocNetIface in LEHarikrishnan Hariharan
Interfacing LocnetIface with Xtra client for wwan/supl call setup and teardown. - XtraSystemStatusObserver must listen to connect/teardown wwan call requests from xtra-daemon on the HAL side socket. This request is then processed by libloc_net_iface module on LE. - Caching the connect and disconnect backhaul requests received before framework action request object is obtained. Change-Id: I7cb6751efc64b27726b5d28be9a3df7b1bfb3d76 CRs-Fixed: 2092215
2017-09-07Integrate XtraSysStatObs with SystemStatusObserverHarikrishnan Hariharan
Use SystemStatusObserver to subscribe for dataitems in XtraSystemStatusObserver. Change-Id: Ib1828b9025c9c5bb5194a36014249472ed3f6f9e CRs-Fixed: 2093290
2017-08-15XC 2.5 : additional changesVamana Murthi
Add the XTRAsystemstatus observer to pass the HAL init info to XTRA-Client CRs-Fixed: 2093274 Change-Id: I893da1470d4fedafbc7545806ea97667acdf60d3