summaryrefslogtreecommitdiff
path: root/gnss/XtraSystemStatusObserver.h
diff options
context:
space:
mode:
authorKevin Tang <zhikait@codeaurora.org>2019-03-26 18:40:03 -0700
committerKevin Tang <zhikait@codeaurora.org>2019-03-26 18:40:03 -0700
commit546e88fc046234170088cd93bc78567c548ca559 (patch)
tree4f0eff628e1848256cfd7df3b5b0bae7826665bc /gnss/XtraSystemStatusObserver.h
parent01869b4004179870db2160ed41283dce7fbbdcde (diff)
downloadgps-546e88fc046234170088cd93bc78567c548ca559.tar.gz
Add HAL support for network handle
Add HAL support for modifications to the network status information passed in. Change-Id: I99defc6a419d9f21ce74469a1aa016cc7fade4a5 CRs-Fixed: 2397433
Diffstat (limited to 'gnss/XtraSystemStatusObserver.h')
-rw-r--r--gnss/XtraSystemStatusObserver.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnss/XtraSystemStatusObserver.h b/gnss/XtraSystemStatusObserver.h
index cbbeda6..22a3013 100644
--- a/gnss/XtraSystemStatusObserver.h
+++ b/gnss/XtraSystemStatusObserver.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -61,7 +61,8 @@ public :
virtual void notify(const list<IDataItemCore*>& dlist);
bool updateLockStatus(GnssConfigGpsLock lock);
- bool updateConnections(uint64_t allConnections);
+ bool updateConnections(uint64_t allConnections,
+ uint64_t wifiNetworkHandle, uint64_t mobileNetworkHandle);
bool updateTac(const string& tac);
bool updateMccMnc(const string& mccmnc);
bool updateXtraThrottle(const bool enabled);
@@ -76,6 +77,8 @@ private:
const MsgTask* mMsgTask;
GnssConfigGpsLock mGpsLock;
uint64_t mConnections;
+ uint64_t mWifiNetworkHandle;
+ uint64_t mMobileNetworkHandle;
string mTac;
string mMccmnc;
bool mXtraThrottle;