Added two APIs, which allow ILocIpcListener to provide
a sender for sending data back to LocIpcSender; and to
allow a LocIpcSender to get a recver from the last send
target so that it can receive data from it.
Change-Id: I94e2204a2588d375805d0674d1e877bbe414c99f
CRs-Fixed: 2524039
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
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
Keep record of whether connection status was reported
and report it in the response status
CRs-Fixed: 2126610
Change-Id: I284f53c71f1131a73eed0adaf00b66f04e4100ac
added register and unregister apis of a callback
that listens to XTRA client throttle enablement commands.
Change-Id: Id50e7311516593018113203b5dfa700f0fdc037b
CRs-fixed: 2092629
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
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
Transition of base DataConcreteType class to HAL, so that modules
in HAL can access the members of DataItem class.
Change-Id: Ib3b60992cf35a52b601117d5d18761d759f31b86
CRs-Fixed: 2104384
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
Use SystemStatusObserver to subscribe for dataitems in
XtraSystemStatusObserver.
Change-Id: Ib1828b9025c9c5bb5194a36014249472ed3f6f9e
CRs-Fixed: 2093290