Home
last modified time | relevance | path

Searched refs:LENGTH (Results 1 – 17 of 17) sorted by relevance

/hardware/qcom/sdm845/gps/msm8960/utils/
Dloc_target.cpp57 #define LENGTH(s) (sizeof(s) - 1) macro
102 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in get_target()
103 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in get_target()
104 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in get_target()
110 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in get_target()
111 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in get_target()
112 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in get_target()
113 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in get_target()
114 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in get_target()
115 && IS_STR_END(rd_hw_platform[LENGTH(STR_MTP)]))) { in get_target()
[all …]
/hardware/qcom/gps/msm8960/utils/
Dloc_target.cpp57 #define LENGTH(s) (sizeof(s) - 1) macro
102 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in get_target()
103 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in get_target()
104 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in get_target()
110 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in get_target()
111 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in get_target()
112 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in get_target()
113 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in get_target()
114 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in get_target()
115 && IS_STR_END(rd_hw_platform[LENGTH(STR_MTP)]))) { in get_target()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
Dloc_target.cpp62 #define LENGTH(s) (sizeof(s) - 1) macro
165 if( !memcmp(rd_auto_platform, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
171 if( !memcmp(baseband, STR_APQ_NO_WGR, LENGTH(STR_APQ_NO_WGR)) ){ in loc_get_target()
177 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) || in loc_get_target()
178 !memcmp(baseband, STR_SDC, LENGTH(STR_SDC)) || in loc_get_target()
179 !memcmp(baseband, STR_QCS, LENGTH(STR_QCS)) ) { in loc_get_target()
181 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
182 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
186 } else if (((!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
187 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
[all …]
/hardware/qcom/sm7150/gps/utils/
Dloc_target.cpp63 #define LENGTH(s) (sizeof(s) - 1) macro
205 if( !memcmp(rd_auto_platform, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
211 if( !memcmp(baseband, STR_APQ_NO_WGR, LENGTH(STR_APQ_NO_WGR)) ){ in loc_get_target()
217 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) || in loc_get_target()
218 !memcmp(baseband, STR_SDC, LENGTH(STR_SDC)) || in loc_get_target()
219 !memcmp(baseband, STR_QCS, LENGTH(STR_QCS)) ) { in loc_get_target()
221 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
222 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
226 } else if (((!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
227 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
[all …]
/hardware/qcom/sm8150/gps/utils/
Dloc_target.cpp63 #define LENGTH(s) (sizeof(s) - 1) macro
205 if( !memcmp(rd_auto_platform, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
211 if( !memcmp(baseband, STR_APQ_NO_WGR, LENGTH(STR_APQ_NO_WGR)) ){ in loc_get_target()
217 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) || in loc_get_target()
218 !memcmp(baseband, STR_SDC, LENGTH(STR_SDC)) || in loc_get_target()
219 !memcmp(baseband, STR_QCS, LENGTH(STR_QCS)) ) { in loc_get_target()
221 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
222 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
226 } else if (((!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
227 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
Dloc_target.cpp62 #define LENGTH(s) (sizeof(s) - 1) macro
165 if( !memcmp(rd_auto_platform, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
171 if( !memcmp(baseband, STR_APQ_NO_WGR, LENGTH(STR_APQ_NO_WGR)) ){ in loc_get_target()
177 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) || in loc_get_target()
178 !memcmp(baseband, STR_SDC, LENGTH(STR_SDC)) ) { in loc_get_target()
180 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
181 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
185 } else if (((!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
186 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
187 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/
Dloc_target.cpp59 #define LENGTH(s) (sizeof(s) - 1) macro
230 if( !memcmp(rd_auto_platform, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
236 if( !memcmp(baseband, STR_APQ_NO_WGR, LENGTH(STR_APQ_NO_WGR)) ){ in loc_get_target()
242 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
244 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
245 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
251 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
252 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
253 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
254 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
[all …]
/hardware/qcom/sdm845/gps/msm8909/utils/
Dloc_target.cpp59 #define LENGTH(s) (sizeof(s) - 1) macro
212 if( !memcmp(baseband, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
218 if( !memcmp(baseband, STR_APQ_NO_WGR, LENGTH(STR_APQ_NO_WGR)) ){ in loc_get_target()
224 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
226 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
227 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
233 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
234 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
235 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
236 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
[all …]
/hardware/qcom/gps/msm8909/utils/
Dloc_target.cpp59 #define LENGTH(s) (sizeof(s) - 1) macro
212 if( !memcmp(baseband, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
218 if( !memcmp(baseband, STR_APQ_NO_WGR, LENGTH(STR_APQ_NO_WGR)) ){ in loc_get_target()
224 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
226 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
227 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
233 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
234 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
235 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
236 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
[all …]
/hardware/qcom/sdm845/gps/msm8994/utils/
Dloc_target.cpp58 #define LENGTH(s) (sizeof(s) - 1) macro
211 if( !memcmp(baseband, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
216 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
218 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
219 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
225 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
226 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
227 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
228 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
229 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
[all …]
/hardware/qcom/gps/msm8994/utils/
Dloc_target.cpp58 #define LENGTH(s) (sizeof(s) - 1) macro
211 if( !memcmp(baseband, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
216 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
218 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
219 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
225 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
226 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
227 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
228 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
229 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
[all …]
/hardware/qcom/gps/utils/
Dloc_target.cpp58 #define LENGTH(s) (sizeof(s) - 1) macro
211 if( !memcmp(baseband, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
216 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
218 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
219 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
225 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
226 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
227 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
228 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
229 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
[all …]
/hardware/qcom/sdm845/gps/utils/
Dloc_target.cpp58 #define LENGTH(s) (sizeof(s) - 1) macro
211 if( !memcmp(baseband, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
216 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
218 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
219 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
225 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
226 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
227 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
228 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
229 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
[all …]
/hardware/qcom/gps/msm8084/utils/
Dloc_target.cpp57 #define LENGTH(s) (sizeof(s) - 1) macro
211 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
212 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
213 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
219 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
220 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
221 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
222 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
223 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
224 && IS_STR_END(rd_hw_platform[LENGTH(STR_MTP)]))) { in loc_get_target()
[all …]
/hardware/qcom/sdm845/gps/msm8084/utils/
Dloc_target.cpp57 #define LENGTH(s) (sizeof(s) - 1) macro
211 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
212 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
213 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
219 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
220 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
221 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
222 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
223 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
224 && IS_STR_END(rd_hw_platform[LENGTH(STR_MTP)]))) { in loc_get_target()
[all …]
/hardware/qcom/sdm845/gps/msm8996/utils/
Dloc_target.cpp58 #define LENGTH(s) (sizeof(s) - 1) macro
211 if( !memcmp(baseband, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
216 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
218 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
219 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
225 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
226 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
227 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
228 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
229 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
[all …]
/hardware/qcom/gps/msm8996/utils/
Dloc_target.cpp59 #define LENGTH(s) (sizeof(s) - 1) macro
212 if( !memcmp(baseband, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
217 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
219 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
220 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
226 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
227 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
228 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
229 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
230 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
[all …]