/hardware/akm/AK8975_FS/libsensors/ |
AkmSensor.cpp | 62 strcpy(input_sysfs_path, "/sys/class/compass/akm8975/"); 63 input_sysfs_path_len = strlen(input_sysfs_path); 65 input_sysfs_path[0] = '\0'; 85 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_acc"); 88 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_mag"); 91 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_ori"); 108 err = write_sys_attribute(input_sysfs_path, buffer, 1); 113 &input_sysfs_path[input_sysfs_path_len], buffer); 149 strcpy(&input_sysfs_path[input_sysfs_path_len], "delay_acc"); 152 strcpy(&input_sysfs_path[input_sysfs_path_len], "delay_mag") [all...] |
AdxlSensor.cpp | 49 strcpy(input_sysfs_path, "/sys/class/input/"); 50 strcat(input_sysfs_path, input_name); 51 strcat(input_sysfs_path, "/device/device/"); 52 input_sysfs_path_len = strlen(input_sysfs_path); 53 ALOGD("AdxlSensor: sysfs_path=%s", input_sysfs_path); 55 input_sysfs_path[0] = '\0'; 106 strcpy(&input_sysfs_path[input_sysfs_path_len], "disable"); 107 err = write_sys_attribute(input_sysfs_path, buffer, 1); 156 strcpy(&input_sysfs_path[input_sysfs_path_len], "rate"); 158 err = write_sys_attribute(input_sysfs_path, buffer, bytes) [all...] |
AdxlSensor.h | 39 char input_sysfs_path[PATH_MAX]; member in class:AdxlSensor
|
KionixSensor.h | 39 char input_sysfs_path[PATH_MAX]; member in class:KionixSensor
|
AkmSensor.h | 59 char input_sysfs_path[PATH_MAX]; member in class:AkmSensor
|