Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp91 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
157 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos()
170 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_eng_nmea_generate_pos()
172 length = snprintf(pMarker, lengthRemaining, ","); in loc_eng_nmea_generate_pos()
185 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
192 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
199 length = snprintf(pMarker, lengthRemaining, ",,"); in loc_eng_nmea_generate_pos()
224 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
228 length = snprintf(pMarker, lengthRemaining, "$GPVTG,,T,,M,"); in loc_eng_nmea_generate_pos()
244 … length = snprintf(pMarker, lengthRemaining, "%.1lf,N,%.1lf,K,", speedKnots, speedKmPerHour); in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp91 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
160 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos()
173 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_eng_nmea_generate_pos()
175 length = snprintf(pMarker, lengthRemaining, ","); in loc_eng_nmea_generate_pos()
188 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
195 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
202 length = snprintf(pMarker, lengthRemaining, ",,"); in loc_eng_nmea_generate_pos()
227 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
231 length = snprintf(pMarker, lengthRemaining, "$GPVTG,,T,,M,"); in loc_eng_nmea_generate_pos()
247 … length = snprintf(pMarker, lengthRemaining, "%.1lf,N,%.1lf,K,", speedKnots, speedKmPerHour); in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp92 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
165 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos()
178 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_eng_nmea_generate_pos()
180 length = snprintf(pMarker, lengthRemaining, ","); in loc_eng_nmea_generate_pos()
193 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
200 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
207 length = snprintf(pMarker, lengthRemaining, ",,"); in loc_eng_nmea_generate_pos()
232 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
236 length = snprintf(pMarker, lengthRemaining, "$GPVTG,,T,,M,"); in loc_eng_nmea_generate_pos()
252 … length = snprintf(pMarker, lengthRemaining, "%.1lf,N,%.1lf,K,", speedKnots, speedKmPerHour); in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp95 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
164 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos()
177 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_eng_nmea_generate_pos()
179 length = snprintf(pMarker, lengthRemaining, ","); in loc_eng_nmea_generate_pos()
192 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
199 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
206 length = snprintf(pMarker, lengthRemaining, ",,"); in loc_eng_nmea_generate_pos()
231 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
235 length = snprintf(pMarker, lengthRemaining, "$GPVTG,,T,,M,"); in loc_eng_nmea_generate_pos()
251 … length = snprintf(pMarker, lengthRemaining, "%.1lf,N,%.1lf,K,", speedKnots, speedKmPerHour); in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp95 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
161 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos()
174 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_eng_nmea_generate_pos()
176 length = snprintf(pMarker, lengthRemaining, ","); in loc_eng_nmea_generate_pos()
189 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
196 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
203 length = snprintf(pMarker, lengthRemaining, ",,"); in loc_eng_nmea_generate_pos()
228 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
232 length = snprintf(pMarker, lengthRemaining, "$GPVTG,,T,,M,"); in loc_eng_nmea_generate_pos()
248 … length = snprintf(pMarker, lengthRemaining, "%.1lf,N,%.1lf,K,", speedKnots, speedKmPerHour); in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp96 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
165 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos()
178 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_eng_nmea_generate_pos()
180 length = snprintf(pMarker, lengthRemaining, ","); in loc_eng_nmea_generate_pos()
193 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
200 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
207 length = snprintf(pMarker, lengthRemaining, ",,"); in loc_eng_nmea_generate_pos()
232 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
236 length = snprintf(pMarker, lengthRemaining, "$GPVTG,,T,,M,"); in loc_eng_nmea_generate_pos()
252 … length = snprintf(pMarker, lengthRemaining, "%.1lf,N,%.1lf,K,", speedKnots, speedKmPerHour); in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
Dloc_nmea.cpp192 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_nmea_put_checksum()
271 length = snprintf(pMarker, lengthRemaining, "$%sGSA,A,%c,", talker, fixType); in loc_nmea_generate_GSA()
285 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_nmea_generate_GSA()
287 length = snprintf(pMarker, lengthRemaining, ","); in loc_nmea_generate_GSA()
301 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f,", in loc_nmea_generate_GSA()
308 length = snprintf(pMarker, lengthRemaining, ",,,"); in loc_nmea_generate_GSA()
314 length = snprintf(pMarker, lengthRemaining, "%d", sv_meta_p->systemId); in loc_nmea_generate_GSA()
371 snprintf(sentence, lengthRemaining, "$%sGSV,1,1,0,", talker); in loc_nmea_generate_GSV()
386 length = snprintf(pMarker, lengthRemaining, "$%sGSV,%d,%d,%02d", in loc_nmea_generate_GSV()
401 length = snprintf(pMarker, lengthRemaining,",%02d,%02d,%03d,", in loc_nmea_generate_GSV()
[all …]
Dloc_log.cpp141 snprintf(ret, sizeof(ret), " %s with SSC", in loc_get_target_name()
145 snprintf(ret, sizeof(ret), " %s without SSC", in loc_get_target_name()
176 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
234 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8998/utils/
Dloc_nmea.cpp192 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_nmea_put_checksum()
271 length = snprintf(pMarker, lengthRemaining, "$%sGSA,A,%c,", talker, fixType); in loc_nmea_generate_GSA()
285 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_nmea_generate_GSA()
287 length = snprintf(pMarker, lengthRemaining, ","); in loc_nmea_generate_GSA()
301 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f,", in loc_nmea_generate_GSA()
308 length = snprintf(pMarker, lengthRemaining, ",,,"); in loc_nmea_generate_GSA()
314 length = snprintf(pMarker, lengthRemaining, "%d", sv_meta_p->systemId); in loc_nmea_generate_GSA()
371 snprintf(sentence, lengthRemaining, "$%sGSV,1,1,0,", talker); in loc_nmea_generate_GSV()
386 length = snprintf(pMarker, lengthRemaining, "$%sGSV,%d,%d,%02d", in loc_nmea_generate_GSV()
401 length = snprintf(pMarker, lengthRemaining,",%02d,%02d,%03d,", in loc_nmea_generate_GSV()
[all …]
Dloc_log.cpp143 snprintf(ret, sizeof(ret), " %s with SSC", in loc_get_target_name()
147 snprintf(ret, sizeof(ret), " %s without SSC", in loc_get_target_name()
178 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
236 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/libhardware_legacy/audio/
DAudioHardwareStub.cpp105 snprintf(buffer, SIZE, "\tmMicMute: %s\n", mMicMute? "true": "false"); in dumpInternals()
146 snprintf(buffer, SIZE, "AudioStreamOutStub::dump\n"); in dump()
147 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); in dump()
148 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
149 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump()
150 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
189 snprintf(buffer, SIZE, "AudioStreamInStub::dump\n"); in dump()
191 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); in dump()
193 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
195 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Log.h71snprintf(buffer_send,MAX_BUF_LEN,"%s:%d %s: " fmt, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS_…
75 snprintf(dmesg_cmd, MAX_BUF_LEN, "echo %s > /dev/kmsg", buffer_send);\
79 snprintf(buffer_send,MAX_BUF_LEN,"%s:%d %s()", __FILE__, __LINE__, __FUNCTION__);\
83snprintf(buffer_send,MAX_BUF_LEN,"ERROR: %s:%d %s() " fmt, __FILE__, __LINE__, __FUNCTION__, ##__…
87snprintf(buffer_send,MAX_BUF_LEN,"%s:%d %s() " fmt, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS…
/hardware/qcom/power/
Dpower.c53 snprintf(client_addr.sun_path, UNIX_PATH_MAX, BOOST_SOCKET); in socket_init()
77 snprintf(data, MAX_LENGTH, "2:%d", client); in sync_thread()
80 snprintf(data, MAX_LENGTH, "3:%d", client); in sync_thread()
103 snprintf(data, MAX_LENGTH, "5:%d", client); in enc_boost()
106 snprintf(data, MAX_LENGTH, "6:%d", client); in enc_boost()
159 snprintf(data, MAX_LENGTH, "1:%d", client); in touch_boost()
/hardware/libhardware/
Dhardware.c151 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists()
156 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists()
162 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists()
182 snprintf(name, PATH_MAX, "%s.%s", class_id, inst); in hw_get_module_by_class()
194 snprintf(prop_name, sizeof(prop_name), "ro.hardware.%s", name); in hw_get_module_by_class()
/hardware/qcom/gps/msm8084/utils/
Dloc_log.cpp145 snprintf(ret, sizeof(ret), " %s with SSC", in loc_get_target_name()
149 snprintf(ret, sizeof(ret), " %s without SSC", in loc_get_target_name()
180 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
238 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8994/utils/
Dloc_log.cpp146 snprintf(ret, sizeof(ret), " %s with SSC", in loc_get_target_name()
150 snprintf(ret, sizeof(ret), " %s without SSC", in loc_get_target_name()
181 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
239 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/utils/
Dloc_log.cpp146 snprintf(ret, sizeof(ret), " %s with SSC", in loc_get_target_name()
150 snprintf(ret, sizeof(ret), " %s without SSC", in loc_get_target_name()
181 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
239 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8996/utils/
Dloc_log.cpp147 snprintf(ret, sizeof(ret), " %s with SSC", in loc_get_target_name()
151 snprintf(ret, sizeof(ret), " %s without SSC", in loc_get_target_name()
182 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
240 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8909/utils/
Dloc_log.cpp147 snprintf(ret, sizeof(ret), " %s with SSC", in loc_get_target_name()
151 snprintf(ret, sizeof(ret), " %s without SSC", in loc_get_target_name()
182 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
240 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/libhardware/modules/vibrator/
Dvibrator.c84 snprintf(value, sizeof(value), "%u", timeout_ms); in sendit()
105 snprintf(file_str, sizeof(file_str), "%s/%s", LED_DEVICE, file); in write_led_file()
113 snprintf(file_str, sizeof(file_str), "%s/%s", LED_DEVICE, "activate"); in vibra_led_exists()
126 snprintf(value, sizeof(value), "%u\n", timeout_ms); in vibra_led_on()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_dump_layers.cpp70 snprintf(mDumpPropKeyDisplayType, sizeof(mDumpPropKeyDisplayType), in HwcDebug()
128 snprintf(mDumpDirPng, sizeof(mDumpDirPng), in needToDumpLayers()
158 snprintf(mDumpDirRaw, sizeof(mDumpDirRaw), in needToDumpLayers()
283 snprintf(dumpLogStrPng, sizeof(dumpLogStrPng), in dumpLayer()
288 snprintf(dumpLogStrRaw, sizeof(dumpLogStrRaw), in dumpLayer()
319 snprintf(dumpFilename, sizeof(dumpFilename), in dumpLayer()
356 snprintf(dumpFilename, sizeof(dumpFilename), in dumpLayer()
438 snprintf(pixFormatStr, len, "Unknown0x%X", format); in getHalPixelFormatStr()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_dump_layers.cpp70 snprintf(mDumpPropKeyDisplayType, sizeof(mDumpPropKeyDisplayType), in HwcDebug()
128 snprintf(mDumpDirPng, sizeof(mDumpDirPng), in needToDumpLayers()
158 snprintf(mDumpDirRaw, sizeof(mDumpDirRaw), in needToDumpLayers()
283 snprintf(dumpLogStrPng, sizeof(dumpLogStrPng), in dumpLayer()
288 snprintf(dumpLogStrRaw, sizeof(dumpLogStrRaw), in dumpLayer()
318 snprintf(dumpFilename, sizeof(dumpFilename), in dumpLayer()
355 snprintf(dumpFilename, sizeof(dumpFilename), in dumpLayer()
437 snprintf(pixFormatStr, len, "Unknown0x%X", format); in getHalPixelFormatStr()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.cpp340 snprintf(str, 256, in getDump()
354 snprintf(str_src, 256, in getDump()
364 snprintf(str_rect, 256, in getDump()
373 snprintf(str, 256, in getDump()
383 snprintf(str_data, 256, in getDump()
392 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", in getDump()
404 snprintf(str, 256, in getDump()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.cpp333 snprintf(str, 256, in getDump()
347 snprintf(str_src, 256, in getDump()
357 snprintf(str_rect, 256, in getDump()
366 snprintf(str, 256, in getDump()
376 snprintf(str_data, 256, in getDump()
385 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", in getDump()
397 snprintf(str, 256, in getDump()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.cpp332 snprintf(str, 256, in getDump()
345 snprintf(str_src, 256, in getDump()
355 snprintf(str_rect, 256, in getDump()
364 snprintf(str, 256, in getDump()
374 snprintf(str_data, 256, in getDump()
384 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", in getDump()
396 snprintf(str, 256, in getDump()

12345678910>>...12