Home
last modified time | relevance | path

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

12345678

/hardware/qcom/gps/msm8960/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()
158 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos()
171 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_eng_nmea_generate_pos()
173 length = snprintf(pMarker, lengthRemaining, ","); in loc_eng_nmea_generate_pos()
186 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", 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, ",,"); in loc_eng_nmea_generate_pos()
225 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
229 length = snprintf(pMarker, lengthRemaining, "$GPVTG,,T,,M,"); in loc_eng_nmea_generate_pos()
245 … 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.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/msm8084/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()
162 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos()
175 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_eng_nmea_generate_pos()
177 length = snprintf(pMarker, lengthRemaining, ","); in loc_eng_nmea_generate_pos()
190 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
197 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
204 length = snprintf(pMarker, lengthRemaining, ",,"); in loc_eng_nmea_generate_pos()
229 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
233 length = snprintf(pMarker, lengthRemaining, "$GPVTG,,T,,M,"); in loc_eng_nmea_generate_pos()
249 … length = snprintf(pMarker, lengthRemaining, "%.1lf,N,%.1lf,K,", speedKnots, speedKmPerHour); in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8974/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()
162 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos()
175 length = snprintf(pMarker, lengthRemaining, "%02d,", svUsedList[i]); in loc_eng_nmea_generate_pos()
177 length = snprintf(pMarker, lengthRemaining, ","); in loc_eng_nmea_generate_pos()
190 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
197 length = snprintf(pMarker, lengthRemaining, "%.1f,%.1f,%.1f", in loc_eng_nmea_generate_pos()
204 length = snprintf(pMarker, lengthRemaining, ",,"); in loc_eng_nmea_generate_pos()
229 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
233 length = snprintf(pMarker, lengthRemaining, "$GPVTG,,T,,M,"); in loc_eng_nmea_generate_pos()
249 … length = snprintf(pMarker, lengthRemaining, "%.1lf,N,%.1lf,K,", speedKnots, speedKmPerHour); in loc_eng_nmea_generate_pos()
[all …]
/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 …]
DAudioHardwareGeneric.cpp172 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false"); in dumpInternals()
250 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n"); in dump()
252 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); in dump()
254 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
256 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump()
258 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
260 snprintf(buffer, SIZE, "\tdevice: %d\n", mDevice); in dump()
262 snprintf(buffer, SIZE, "\tmAudioHardware: %p\n", mAudioHardware); in dump()
264 snprintf(buffer, SIZE, "\tmFd: %d\n", mFd); in dump()
358 snprintf(buffer, SIZE, "AudioStreamInGeneric::dump\n"); in dump()
[all …]
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_menu.cpp2386 snprintf(coord_str, 7, "%.7lf", latitude); in menu_gps()
2401 snprintf(coord_str, 7, "%.7lf", longitude); in menu_gps()
2416 snprintf(coord_str, 100, "%.20lf", altitude); in menu_gps()
2554 snprintf(area1[j++], MAX_SYMBOLS, " START / STOP / GENERAL SERVICES"); in functional_menu()
2555 snprintf(area1[j++], MAX_SYMBOLS, " -----------------------------"); in functional_menu()
2556 snprintf(area1[j++], MAX_SYMBOLS, "A Select Camera %s", cameras[camera_index]); in functional_menu()
2557 snprintf(area1[j++], MAX_SYMBOLS, "[. Resume Preview after capture"); in functional_menu()
2558 snprintf(area1[j++], MAX_SYMBOLS, "0. Reset to defaults"); in functional_menu()
2559 snprintf(area1[j++], MAX_SYMBOLS, "q. Quit"); in functional_menu()
2560 snprintf(area1[j++], MAX_SYMBOLS, "@. Disconnect and Reconnect to CameraService"); in functional_menu()
[all …]
/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/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXExif.cpp350 snprintf(( char * ) sharedPtr, EXIF_DATE_TIME_SIZE, in setupEXIF()
536 snprintf(temp_value, in setupEXIF_libjpeg()
551 snprintf(temp_value, EXIF_DATE_TIME_SIZE, in setupEXIF_libjpeg()
565 snprintf(temp_value, sizeof(temp_value)/sizeof(char), "%lu", capData->mWidth); in setupEXIF_libjpeg()
571 snprintf(temp_value, sizeof(temp_value)/sizeof(char), "%lu", capData->mHeight); in setupEXIF_libjpeg()
577 snprintf(temp_value, in setupEXIF_libjpeg()
592 snprintf(temp_value, in setupEXIF_libjpeg()
607 snprintf(temp_value, in setupEXIF_libjpeg()
616 snprintf(temp_value, in setupEXIF_libjpeg()
638 snprintf(temp_value, in setupEXIF_libjpeg()
[all …]
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXExif.cpp348 snprintf(( char * ) sharedPtr, EXIF_DATE_TIME_SIZE, in setupEXIF()
534 snprintf(temp_value, in setupEXIF_libjpeg()
549 snprintf(temp_value, EXIF_DATE_TIME_SIZE, in setupEXIF_libjpeg()
563 snprintf(temp_value, sizeof(temp_value)/sizeof(char), "%lu", capData->mWidth); in setupEXIF_libjpeg()
569 snprintf(temp_value, sizeof(temp_value)/sizeof(char), "%lu", capData->mHeight); in setupEXIF_libjpeg()
575 snprintf(temp_value, in setupEXIF_libjpeg()
590 snprintf(temp_value, in setupEXIF_libjpeg()
605 snprintf(temp_value, in setupEXIF_libjpeg()
614 snprintf(temp_value, in setupEXIF_libjpeg()
636 snprintf(temp_value, in setupEXIF_libjpeg()
[all …]
/hardware/libhardware/
Dhardware.c132 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists()
137 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists()
156 snprintf(name, PATH_MAX, "%s.%s", class_id, inst); in hw_get_module_by_class()
168 snprintf(prop_name, sizeof(prop_name), "ro.hardware.%s", name); in hw_get_module_by_class()
/hardware/qcom/gps/msm8974/utils/
Dloc_log.cpp144 snprintf(ret, sizeof(ret), " %s with SSC", in loc_get_target_name()
148 snprintf(ret, sizeof(ret), " %s without SSC", in loc_get_target_name()
179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
237 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8084/utils/
Dloc_log.cpp144 snprintf(ret, sizeof(ret), " %s with SSC", in loc_get_target_name()
148 snprintf(ret, sizeof(ret), " %s without SSC", in loc_get_target_name()
179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
237 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/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/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()
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/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/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()
/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dy4menc.c21 return snprintf(buf, len, "YUV4MPEG2 W%u H%u F%u:%u I%c %s", width, height, in y4m_write_file_header()
26 return snprintf(buf, len, "FRAME\n"); in y4m_write_frame_header()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_dump_layers.cpp74 snprintf(mDumpPropKeyDisplayType, sizeof(mDumpPropKeyDisplayType), in HwcDebug()
132 snprintf(mDumpDirPng, sizeof(mDumpDirPng), in needToDumpLayers()
162 snprintf(mDumpDirRaw, sizeof(mDumpDirRaw), in needToDumpLayers()
287 snprintf(dumpLogStrPng, sizeof(dumpLogStrPng), in dumpLayer()
292 snprintf(dumpLogStrRaw, sizeof(dumpLogStrRaw), in dumpLayer()
323 snprintf(dumpFilename, sizeof(dumpFilename), in dumpLayer()
365 snprintf(dumpFilename, sizeof(dumpFilename), in dumpLayer()
453 snprintf(pixFormatStr, len, "Unknown0x%X", format); in getHalPixelFormatStr()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.cpp409 snprintf(str, 256, in getDump()
423 snprintf(str_src, 256, in getDump()
433 snprintf(str_rect, 256, in getDump()
442 snprintf(str, 256, in getDump()
452 snprintf(str_data, 256, in getDump()
461 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", in getDump()
473 snprintf(str, 256, in getDump()
/hardware/qcom/display/msm8974/liboverlay/
DoverlayUtils.cpp399 snprintf(str, 256, in getDump()
413 snprintf(str_src, 256, in getDump()
423 snprintf(str_rect, 256, in getDump()
432 snprintf(str, 256, in getDump()
442 snprintf(str_data, 256, in getDump()
451 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", in getDump()
463 snprintf(str, 256, in getDump()
/hardware/libhardware_legacy/qemu/
Dqemu.c81 snprintf(pipe_name, sizeof(pipe_name), "qemud:%s", name); in qemu_channel_open_qemud_pipe()
136 snprintf(channel->device, sizeof channel->device, in qemu_channel_open_qemud_old()
163 ret = snprintf(key, sizeof key, "ro.kernel.android.%s", name); in qemu_channel_open_tty()
172 ret = snprintf(channel->device, sizeof channel->device, in qemu_channel_open_tty()
266 snprintf(header, sizeof header, "%04x", len); in qemu_command_vformat()
/hardware/ti/omap4-aah/hwc/
Drgz_2d.c989 e -= snprintf(end - e, e, "<!-- LAYER-DAT: %d", idx); in rgz_print_layer()
992 e -= snprintf(end - e, e, "%s %p", csv ? "," : " hndl:", in rgz_print_layer()
995 e -= snprintf(end - e, e, "%s %s", csv ? "," : " flags:", in rgz_print_layer()
1000 e -= snprintf(end - e, e, "%s", csv ? ", " : " fmt: "); in rgz_print_layer()
1003 e -= snprintf(end - e, e, "bgra"); break; in rgz_print_layer()
1005 e -= snprintf(end - e, e, "rgb565"); break; in rgz_print_layer()
1007 e -= snprintf(end - e, e, "bgrx"); break; in rgz_print_layer()
1009 e -= snprintf(end - e, e, "rgbx"); break; in rgz_print_layer()
1011 e -= snprintf(end - e, e, "rgba"); break; in rgz_print_layer()
1014 e -= snprintf(end - e, e, "nv12"); break; in rgz_print_layer()
[all …]

12345678