/hardware/akm/AK8975_FS/libsensors/ |
AkmSensor.cpp | 61 strcpy(input_sysfs_path, "/sys/class/compass/akm8975/"); 62 input_sysfs_path_len = strlen(input_sysfs_path); 64 input_sysfs_path[0] = '\0'; 84 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_acc"); 87 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_mag"); 90 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_ori"); 107 err = write_sys_attribute(input_sysfs_path, buffer, 1); 112 &input_sysfs_path[input_sysfs_path_len], buffer); 148 strcpy(&input_sysfs_path[input_sysfs_path_len], "delay_acc"); 151 strcpy(&input_sysfs_path[input_sysfs_path_len], "delay_mag") [all...] |
AdxlSensor.cpp | 48 strcpy(input_sysfs_path, "/sys/class/input/"); 49 strcat(input_sysfs_path, input_name); 50 strcat(input_sysfs_path, "/device/device/"); 51 input_sysfs_path_len = strlen(input_sysfs_path); 52 ALOGD("AdxlSensor: sysfs_path=%s", input_sysfs_path); 54 input_sysfs_path[0] = '\0'; 105 strcpy(&input_sysfs_path[input_sysfs_path_len], "disable"); 106 err = write_sys_attribute(input_sysfs_path, buffer, 1); 155 strcpy(&input_sysfs_path[input_sysfs_path_len], "rate"); 157 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
|
/device/lge/hammerhead/libsensors/ |
LightSensor.h | 39 char input_sysfs_path[PATH_MAX]; member in class:LightSensor
|