Home
last modified time | relevance | path

Searched refs:mLocAdapters (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/gps/msm8960/core/
DLocApiBase.cpp39 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
40 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
110 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
117 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
126 TO_ALL_LOCADAPTERS(inSession = mLocAdapters[i]->isInSession()); in isInSession()
133 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
134 if (mLocAdapters[i] == NULL) { in addAdapter()
135 mLocAdapters[i] = adapter; in addAdapter()
145 i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in removeAdapter()
147 if (mLocAdapters[i] == adapter) { in removeAdapter()
[all …]
DLocApiBase.h64 LocAdapterBase* mLocAdapters[MAX_ADAPTERS]; variable
/hardware/qcom/gps/msm8084/core/
DLocApiBase.cpp40 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
41 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
133 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
140 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
150 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
152 inSession = mLocAdapters[i]->isInSession(); in isInSession()
160 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
161 if (mLocAdapters[i] == NULL) { in addAdapter()
162 mLocAdapters[i] = adapter; in addAdapter()
173 i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in removeAdapter()
[all …]
DLocApiBase.h75 LocAdapterBase* mLocAdapters[MAX_ADAPTERS]; variable
/hardware/qcom/gps/msm8909/core/
DLocApiBase.cpp40 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
41 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
134 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
141 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
151 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
153 inSession = mLocAdapters[i]->isInSession(); in isInSession()
161 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
162 if (mLocAdapters[i] == NULL) { in addAdapter()
163 mLocAdapters[i] = adapter; in addAdapter()
174 i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in removeAdapter()
[all …]
DLocApiBase.h82 LocAdapterBase* mLocAdapters[MAX_ADAPTERS]; variable
/hardware/qcom/gps/msm8996/core/
DLocApiBase.cpp40 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
41 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
134 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
141 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
151 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
153 inSession = mLocAdapters[i]->isInSession(); in isInSession()
161 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
162 if (mLocAdapters[i] == NULL) { in addAdapter()
163 mLocAdapters[i] = adapter; in addAdapter()
174 i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in removeAdapter()
[all …]
DLocApiBase.h82 LocAdapterBase* mLocAdapters[MAX_ADAPTERS]; variable
/hardware/qcom/gps/core/
DLocApiBase.cpp40 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
41 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
134 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
141 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
151 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
153 inSession = mLocAdapters[i]->isInSession(); in isInSession()
161 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
162 if (mLocAdapters[i] == NULL) { in addAdapter()
163 mLocAdapters[i] = adapter; in addAdapter()
174 i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in removeAdapter()
[all …]
DLocApiBase.h82 LocAdapterBase* mLocAdapters[MAX_ADAPTERS]; variable
/hardware/qcom/gps/msm8994/core/
DLocApiBase.cpp40 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
41 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
134 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
141 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
151 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
153 inSession = mLocAdapters[i]->isInSession(); in isInSession()
161 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
162 if (mLocAdapters[i] == NULL) { in addAdapter()
163 mLocAdapters[i] = adapter; in addAdapter()
174 i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in removeAdapter()
[all …]
DLocApiBase.h82 LocAdapterBase* mLocAdapters[MAX_ADAPTERS]; variable