Home
last modified time | relevance | path

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

12

/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/sdm845/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/sdm845/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 …]
/hardware/qcom/gps/msm8909w_3100/core/
DLocApiBase.cpp41 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
42 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
135 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
143 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
153 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
155 inSession = mLocAdapters[i]->isInSession(); in isInSession()
163 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
164 if (mLocAdapters[i] == NULL) { in addAdapter()
165 mLocAdapters[i] = adapter; in addAdapter()
176 i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in removeAdapter()
[all …]
/hardware/qcom/sm7150/gps/core/
DLocApiBase.cpp42 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
43 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
159 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
171 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
181 !isMaster && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isMaster()
183 isMaster |= mLocAdapters[i]->isAdapterMaster(); in isMaster()
193 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
195 inSession = mLocAdapters[i]->isInSession(); in isInSession()
232 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
233 if (mLocAdapters[i] == NULL) { in addAdapter()
[all …]
/hardware/qcom/sm8150/gps/core/
DLocApiBase.cpp42 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
43 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
159 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
171 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
181 !isMaster && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isMaster()
183 isMaster |= mLocAdapters[i]->isAdapterMaster(); in isMaster()
193 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
195 inSession = mLocAdapters[i]->isInSession(); in isInSession()
232 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
233 if (mLocAdapters[i] == NULL) { in addAdapter()
[all …]
/hardware/qcom/sm8150p/gps/core/
DLocApiBase.cpp42 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
43 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
159 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
171 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
181 !isMaster && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isMaster()
183 isMaster |= mLocAdapters[i]->isAdapterMaster(); in isMaster()
193 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
195 inSession = mLocAdapters[i]->isInSession(); in isInSession()
232 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
233 if (mLocAdapters[i] == NULL) { in addAdapter()
[all …]
/hardware/qcom/sdm845/gps/msm8998/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()
142 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
152 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
154 inSession = mLocAdapters[i]->isInSession(); in isInSession()
162 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
163 if (mLocAdapters[i] == NULL) { in addAdapter()
164 mLocAdapters[i] = adapter; in addAdapter()
175 i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in removeAdapter()
[all …]
/hardware/qcom/sdm845/gps/sdm845/core/
DLocApiBase.cpp42 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
43 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
140 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
148 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
158 !isMaster && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isMaster()
160 isMaster |= mLocAdapters[i]->isAdapterMaster(); in isMaster()
170 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
172 inSession = mLocAdapters[i]->isInSession(); in isInSession()
209 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
210 if (mLocAdapters[i] == NULL) { in addAdapter()
[all …]
/hardware/qcom/sdm845/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 …]
/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/sdm845/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
/hardware/qcom/sdm845/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/sdm845/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 …]
/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 …]
/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 …]
/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 …]
/hardware/qcom/gps/msm8998/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()
142 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
152 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
154 inSession = mLocAdapters[i]->isInSession(); in isInSession()
191 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
192 if (mLocAdapters[i] == NULL) { in addAdapter()
193 mLocAdapters[i] = adapter; in addAdapter()
204 i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in removeAdapter()
[all …]

12