/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/ |
D | inv_gesture_test.c | 197 sprintf(mpu.name, "%s%s", sysfs_path, "/name"); in inv_init_sysfs_attributes() 198 sprintf(mpu.enable, "%s%s", sysfs_path, "/buffer/enable"); in inv_init_sysfs_attributes() 199 sprintf(mpu.power_state, "%s%s", sysfs_path, "/power_state"); in inv_init_sysfs_attributes() 200 sprintf(mpu.dmp_on,"%s%s", sysfs_path, "/dmp_on"); in inv_init_sysfs_attributes() 201 sprintf(mpu.dmp_int_on, "%s%s", sysfs_path, "/dmp_int_on"); in inv_init_sysfs_attributes() 202 sprintf(mpu.dmp_firmware, "%s%s", sysfs_path, "/dmp_firmware"); in inv_init_sysfs_attributes() 203 sprintf(mpu.firmware_loaded, "%s%s", sysfs_path, "/firmware_loaded"); in inv_init_sysfs_attributes() 206 sprintf(mpu.event_display_orientation, "%s%s", in inv_init_sysfs_attributes() 208 sprintf(mpu.display_orientation_on, "%s%s", in inv_init_sysfs_attributes() 212 sprintf(mpu.event_orientation, "%s%s", sysfs_path, "/event_orientation"); in inv_init_sysfs_attributes() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
D | inv_self_test.c | 186 sprintf(sysfs_path, "%s", IIO_SYSFS_PATH); in inv_init_sysfs_attributes() 188 sprintf(mpu.name, "%s%s", sysfs_path, "/name"); in inv_init_sysfs_attributes() 189 sprintf(mpu.enable, "%s%s", sysfs_path, "/buffer/enable"); in inv_init_sysfs_attributes() 190 sprintf(mpu.power_state, "%s%s", sysfs_path, "/power_state"); in inv_init_sysfs_attributes() 191 sprintf(mpu.dmp_on,"%s%s", sysfs_path, "/dmp_on"); in inv_init_sysfs_attributes() 192 sprintf(mpu.self_test, "%s%s", sysfs_path, "/self_test"); in inv_init_sysfs_attributes() 193 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature"); in inv_init_sysfs_attributes() 195 sprintf(mpu.gyro_enable, "%s%s", sysfs_path, "/gyro_enable"); in inv_init_sysfs_attributes() 196 sprintf(mpu.gyro_x_calibbias, "%s%s", in inv_init_sysfs_attributes() 198 sprintf(mpu.gyro_y_calibbias, "%s%s", in inv_init_sysfs_attributes() [all …]
|
/hardware/invensense/65xx/libsensors_iio/ |
D | CompassSensor.IIO.primary.cpp | 164 sprintf(iio_device_node, "%s%d", "/dev/iio:device", in enable_iio_sysfs() 506 sprintf(sysfs_path, "%s%d", "/sys/bus/iio/devices/iio:device", in inv_init_sysfs_attributes() 513 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf); in inv_init_sysfs_attributes() 516 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable"); in inv_init_sysfs_attributes() 517 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate"); in inv_init_sysfs_attributes() 518 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale"); in inv_init_sysfs_attributes() 519 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix"); in inv_init_sysfs_attributes() 521 sprintf(compassSysFs.chip_enable, "%s%s", sysfs_path, "/buffer/enable"); in inv_init_sysfs_attributes() 522 sprintf(compassSysFs.in_timestamp_en, "%s%s", sysfs_path, "/scan_elements/in_timestamp_en"); in inv_init_sysfs_attributes() 523 sprintf(compassSysFs.buffer_length, "%s%s", sysfs_path, "/buffer/length"); in inv_init_sysfs_attributes() [all …]
|
D | CompassSensor.IIO.9150.cpp | 382 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf); in inv_init_sysfs_attributes() 385 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable"); in inv_init_sysfs_attributes() 386 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate"); in inv_init_sysfs_attributes() 387 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale"); in inv_init_sysfs_attributes() 388 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix"); in inv_init_sysfs_attributes() 390 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/compass_enable"); in inv_init_sysfs_attributes() 391 sprintf(compassSysFs.compass_fifo_enable, "%s%s", sysfs_path, "/compass_fifo_enable"); in inv_init_sysfs_attributes() 392 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/compass_rate"); in inv_init_sysfs_attributes() 393 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/in_magn_scale"); in inv_init_sysfs_attributes() 394 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix"); in inv_init_sysfs_attributes()
|
D | MPLSensor.cpp | 5028 sprintf(mpu.key, "%s%s", sysfs_path, "/key"); in inv_init_sysfs_attributes() 5029 sprintf(mpu.chip_enable, "%s%s", sysfs_path, "/buffer/enable"); in inv_init_sysfs_attributes() 5030 sprintf(mpu.buffer_length, "%s%s", sysfs_path, "/buffer/length"); in inv_init_sysfs_attributes() 5031 sprintf(mpu.master_enable, "%s%s", sysfs_path, "/master_enable"); in inv_init_sysfs_attributes() 5032 sprintf(mpu.power_state, "%s%s", sysfs_path, "/power_state"); in inv_init_sysfs_attributes() 5034 sprintf(mpu.in_timestamp_en, "%s%s", sysfs_path, in inv_init_sysfs_attributes() 5036 sprintf(mpu.in_timestamp_index, "%s%s", sysfs_path, in inv_init_sysfs_attributes() 5038 sprintf(mpu.in_timestamp_type, "%s%s", sysfs_path, in inv_init_sysfs_attributes() 5041 sprintf(mpu.dmp_firmware, "%s%s", sysfs_path, "/dmp_firmware"); in inv_init_sysfs_attributes() 5042 sprintf(mpu.firmware_loaded, "%s%s", sysfs_path, "/firmware_loaded"); in inv_init_sysfs_attributes() [all …]
|
D | MPLSupport.cpp | 110 sprintf(buf, "%ld", data); in write_attribute_sensor() 133 sprintf(buf, "%ld", data); in write_attribute_sensor_continuous() 268 sprintf(dmp_path, "%s%s", sysfs_path, "/dmp_firmware"); in dump_dmp_img() 303 sprintf(full_path, "%s%s%s", sysfs_path, "/", ep->d_name); in read_sysfs_dir()
|
D | PressureSensor.IIO.secondary.cpp | 201 sprintf(pressureSysFs.pressure_enable, "%s%s", mSysfsPath, "/pressure_enable"); in inv_init_sysfs_attributes() 202 sprintf(pressureSysFs.pressure_rate, "%s%s", mSysfsPath, "/pressure_rate"); in inv_init_sysfs_attributes()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 91 sprintf(filename, "%s%s%d/name", in find_type_by_name() 136 sprintf(&line[i], "%c", d); in parsing_proc_input() 173 sprintf(sysfs_path, "%s%s", "/sys", tmp); in parsing_proc_input() 261 sprintf(data, "/sys/bus/iio/devices/iio:device%d", iio_dev_num); in process_sysfs_request() 263 sprintf(data, "%s%s", sysfs_path, "/device/invensense/mpu"); in process_sysfs_request() 267 sprintf(data, "/sys/bus/iio/devices/iio:device%d/dmp_firmware", iio_dev_num); in process_sysfs_request() 269 sprintf(data, "%s%s", sysfs_path, "/device/invensense/mpu/dmp_firmware"); in process_sysfs_request() 272 sprintf(data, "%s", chip_name[chip_ind]); in process_sysfs_request() 275 sprintf(data, "/sys/bus/iio/devices/trigger%d", iio_dev_num); in process_sysfs_request() 278 sprintf(data, "/dev/iio:device%d", iio_dev_num); in process_sysfs_request() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 99 sprintf(filename, "%s%s%d/name", in find_type_by_name() 144 sprintf(&line[i], "%c", d); in parsing_proc_input() 181 sprintf(sysfs_path, "%s%s", "/sys", tmp); in parsing_proc_input() 269 sprintf(data, "/sys/bus/iio/devices/iio:device%d", iio_dev_num); in process_sysfs_request() 271 sprintf(data, "%s%s", sysfs_path, "/device/invensense/mpu"); in process_sysfs_request() 275 sprintf(data, "/sys/bus/iio/devices/iio:device%d/dmp_firmware", iio_dev_num); in process_sysfs_request() 277 sprintf(data, "%s%s", sysfs_path, "/device/invensense/mpu/dmp_firmware"); in process_sysfs_request() 280 sprintf(data, "%s", chip_name[chip_ind]); in process_sysfs_request() 283 sprintf(data, "/sys/bus/iio/devices/trigger%d", iio_dev_num); in process_sysfs_request() 286 sprintf(data, "/dev/iio:device%d", iio_dev_num); in process_sysfs_request() [all …]
|
/hardware/invensense/6515/libsensors_iio/ |
D | CompassSensor.IIO.primary.cpp | 164 sprintf(iio_device_node, "%s%d", "/dev/iio:device", in enable_iio_sysfs() 540 sprintf(sysfs_path, "%s%d", "/sys/bus/iio/devices/iio:device", in inv_init_sysfs_attributes() 547 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf); in inv_init_sysfs_attributes() 550 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable"); in inv_init_sysfs_attributes() 551 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate"); in inv_init_sysfs_attributes() 552 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale"); in inv_init_sysfs_attributes() 553 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix"); in inv_init_sysfs_attributes() 555 sprintf(compassSysFs.chip_enable, "%s%s", sysfs_path, "/buffer/enable"); in inv_init_sysfs_attributes() 556 sprintf(compassSysFs.in_timestamp_en, "%s%s", sysfs_path, "/scan_elements/in_timestamp_en"); in inv_init_sysfs_attributes() 557 sprintf(compassSysFs.buffer_length, "%s%s", sysfs_path, "/buffer/length"); in inv_init_sysfs_attributes() [all …]
|
D | CompassSensor.IIO.9150.cpp | 411 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf); in inv_init_sysfs_attributes() 414 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable"); in inv_init_sysfs_attributes() 415 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate"); in inv_init_sysfs_attributes() 416 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale"); in inv_init_sysfs_attributes() 417 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix"); in inv_init_sysfs_attributes() 419 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/compass_enable"); in inv_init_sysfs_attributes() 420 sprintf(compassSysFs.compass_fifo_enable, "%s%s", sysfs_path, "/compass_fifo_enable"); in inv_init_sysfs_attributes() 421 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/compass_rate"); in inv_init_sysfs_attributes() 422 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/in_magn_scale"); in inv_init_sysfs_attributes() 423 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix"); in inv_init_sysfs_attributes()
|
D | MPLSensor.cpp | 5389 sprintf(mpu.key, "%s%s", sysfs_path, "/key"); 5390 sprintf(mpu.chip_enable, "%s%s", sysfs_path, "/buffer/enable"); 5391 sprintf(mpu.buffer_length, "%s%s", sysfs_path, "/buffer/length"); 5392 sprintf(mpu.master_enable, "%s%s", sysfs_path, "/master_enable"); 5393 sprintf(mpu.power_state, "%s%s", sysfs_path, "/power_state"); 5395 sprintf(mpu.in_timestamp_en, "%s%s", sysfs_path, 5397 sprintf(mpu.in_timestamp_index, "%s%s", sysfs_path, 5399 sprintf(mpu.in_timestamp_type, "%s%s", sysfs_path, 5402 sprintf(mpu.dmp_firmware, "%s%s", sysfs_path, "/dmp_firmware"); 5403 sprintf(mpu.firmware_loaded, "%s%s", sysfs_path, "/firmware_loaded"); [all …]
|
D | MPLSupport.cpp | 110 sprintf(buf, "%ld", data); in write_attribute_sensor() 133 sprintf(buf, "%ld", data); in write_attribute_sensor_continuous() 271 sprintf(dmp_path, "%s%s", sysfs_path, "/dmp_firmware"); in dump_dmp_img() 306 sprintf(full_path, "%s%s%s", sysfs_path, "/", ep->d_name); in read_sysfs_dir()
|
D | PressureSensor.IIO.secondary.cpp | 197 sprintf(pressureSysFs.pressure_enable, "%s%s", mSysfsPath, "/pressure_enable"); in inv_init_sysfs_attributes() 198 sprintf(pressureSysFs.pressure_rate, "%s%s", mSysfsPath, "/pressure_rate"); in inv_init_sysfs_attributes()
|
/hardware/ril/libril/ |
D | ril_internal.h | 44 #define startRequest sprintf(printBuf, "(") 45 #define closeRequest sprintf(printBuf, "%s)", printBuf) 49 #define startResponse sprintf(printBuf, "%s {", printBuf) 50 #define closeResponse sprintf(printBuf, "%s}", printBuf)
|
/hardware/qcom/display/msm8960/liblight/ |
D | lights.c | 91 int bytes = sprintf(buffer, "%d\n", value); in write_int() 199 sprintf(lock_update_file, LED_LOCK_UPDATE_FILE, rgb ? "red" : "white"); in set_speaker_light_locked() 200 sprintf(freq_file, LED_FREQ_FILE, rgb ? "red" : "white"); in set_speaker_light_locked() 201 sprintf(pwm_file, LED_PWM_FILE, rgb ? "red" : "white"); in set_speaker_light_locked() 202 sprintf(blink_file, LED_BLINK_FILE, rgb ? "red" : "white"); in set_speaker_light_locked()
|
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
D | QCameraUsbParm.cpp | 215 sprintf(tempStr, "%d", camHal->pictJpegQlty); in usbCamInitDefaultParameters() 223 sprintf(tempStr, "%d", camHal->thumbnailWidth); in usbCamInitDefaultParameters() 226 sprintf(tempStr, "%d", camHal->thumbnailHeight); in usbCamInitDefaultParameters() 231 sprintf(tempStr, "%d", camHal->thumbnailJpegQlty); in usbCamInitDefaultParameters() 612 sprintf(tempStr, "%d", camHal->thumbnailWidth); in usbCamSetThumbnailSize() 615 sprintf(tempStr, "%d", camHal->thumbnailHeight); in usbCamSetThumbnailSize() 658 sprintf(tempStr, "%d", camHal->pictJpegQlty); in usbCamSetJpegQlty() 670 sprintf(tempStr, "%d", camHal->thumbnailJpegQlty); in usbCamSetJpegQlty()
|
/hardware/interfaces/usb/gadget/1.1/default/lib/ |
D | UsbGadgetUtils.cpp | 39 sprintf(filepath, "%s/%s", path, function->d_name); in unlinkFunctions() 68 sprintf(functionPath, "%s%s", FUNCTIONS_PATH, function); in linkFunction() 69 sprintf(link, "%s%d", FUNCTION_PATH, index); in linkFunction()
|
/hardware/interfaces/usb/gadget/1.2/default/lib/ |
D | UsbGadgetUtils.cpp | 39 sprintf(filepath, "%s/%s", path, function->d_name); in unlinkFunctions() 68 sprintf(functionPath, "%s%s", FUNCTIONS_PATH, function); in linkFunction() 69 sprintf(link, "%s%d", FUNCTION_PATH, index); in linkFunction()
|
/hardware/qcom/gps/msm8960/utils/ |
D | loc_log.cpp | 145 sprintf(ret, " %s with SSC", in loc_get_target_name() 149 sprintf(ret, " %s without SSC", in loc_get_target_name()
|
/hardware/qcom/display/msm8960/libexternal/ |
D | external.cpp | 64 sprintf (msmFbTypePath,"/sys/class/graphics/fb%d/msm_fb_type", j); in updateExtDispDevFbIndex() 205 sprintf(actionsafeWidth, "%d", w); in setActionSafeDimension() 207 sprintf(actionsafeHeight, "%d", h); in setActionSafeDimension() 234 sprintf(sysFsScanInfoFilePath, "/sys/devices/virtual/graphics/fb%d/" in readCEUnderscanInfo() 407 sprintf(sysFsEDIDFilePath , "/sys/devices/virtual/graphics/fb%d/edid_modes", in readResolution() 666 sprintf(sysFsHPDFilePath ,"/sys/devices/virtual/graphics/fb%d/hpd", in writeHPDOption()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | iio_utils.h | 444 sprintf(temp, "%s/%s", basedir, filename); in _write_sysfs_int() 500 sprintf(temp, "%s/%s", basedir, filename); in write_sysfs_int64() 526 sprintf(temp, "%s/%s", basedir, filename); in _write_sysfs_string() 585 sprintf(temp, "%s/%s", basedir, filename); in read_sysfs_posint() 607 sprintf(temp, "%s/%s", basedir, filename); in read_sysfs_poslonglong() 629 sprintf(temp, "%s/%s", basedir, filename); in read_sysfs_float()
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | Utils.cc | 42 ptr += sprintf(ptr, "%02X ", array[i]); in Utils_charArrayToHexString()
|
D | android_logmsg.cc | 85 sprintf(&line[k * 3], "%02x ", d[i]); in DispHal()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_string.h | 67 #define sprintf util_sprintf macro
|