diff options
author | Nilesh Gharde <quic_ngharde@quicinc.com> | 2022-03-11 03:46:00 +0530 |
---|---|---|
committer | Saurabh Srivastava <quic_ssrivast@quicinc.com> | 2022-07-20 12:05:57 +0530 |
commit | cf4eac65570a43c797a00abb68779f4757426499 (patch) | |
tree | 786eb8a9cba7c325c44a52706dbe0919282b85d4 /utils/gps_extended_c.h | |
parent | b721d6e6b88937ab6cdd8486de677a6c91cf4888 (diff) |
Enable protected dynamic interface control
Changes to Enable protected dynamic interface control.
Added support to
1. Get the engine lock state.
2. Handle engine lock state event.
3. Store all the sessions when the engine is locked.
4. Restore all the sessions when the engine unlock event is received.
Change-Id: I70e591a6dca2231fb762ef199d0d34f852198116
CRs-fixed: 3130222
Diffstat (limited to 'utils/gps_extended_c.h')
-rw-r--r-- | utils/gps_extended_c.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/gps_extended_c.h b/utils/gps_extended_c.h index f368975..fc10841 100644 --- a/utils/gps_extended_c.h +++ b/utils/gps_extended_c.h @@ -2422,6 +2422,13 @@ typedef uint64_t NetworkHandle; #define NETWORK_HANDLE_UNKNOWN ~0 #define MAX_NETWORK_HANDLES 10 +typedef enum { + ENGINE_LOCK_STATE_INVALID = 0, + ENGINE_LOCK_STATE_ENABLED = 1, /**< Location engine is enabled. */ + ENGINE_LOCK_STATE_DISABLED = 2, /**< location engine is disabled. */ + ENGINE_LOCK_STATE_MAX, +}EngineLockState; + #ifdef __cplusplus } #endif /* __cplusplus */ |