/device/lge/hammerhead/libsensors/ |
LightSensor.cpp | 55 char sysfs[PATH_MAX]; local 57 strcpy(sysfs, I2C); 58 strcat(sysfs, "als_poll_delay"); 60 fd = open(sysfs, O_RDWR); 81 char sysfs[PATH_MAX]; local 83 strcpy(sysfs, I2C); 84 strcat(sysfs, "enable_als_sensor"); 86 ALOGI_IF(DEBUG, "enable.open(%s), en(%d)", sysfs, en); 88 int fd = open(sysfs, O_RDWR); 90 ALOGE("couldn't open '%s' input device", sysfs); [all...] |
ProximitySensor.cpp | 62 char sysfs[PATH_MAX]; local 64 strcpy(sysfs, I2C); 65 strcat(sysfs, "enable_ps_sensor"); 67 ALOGI_IF(DEBUG, "enable.open(%s), en(%d)", sysfs, en); 69 int fd = open(sysfs, O_RDWR); 71 ALOGE("couldn't open '%s' input device", sysfs);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
sysfs.c | 3 #include "sysfs.h" 13 static int sysfs_valid_mountpoint(const char *sysfs) 18 if (statfs(sysfs, &st_fs) < 0) 55 if (strcmp(type, "sysfs") == 0)
|
pmu.c | 7 #include "sysfs.h" 34 * Parse & process all the sysfs attributes located under 74 * /sys/bus/event_source/devices/<dev>/format as sysfs group attributes. 80 const char *sysfs; local 82 sysfs = sysfs_find_mountpoint(); 83 if (!sysfs) 87 "%s" EVENT_SOURCE_DEVICE_PATH "%s/format", sysfs, name); 126 * Process all the sysfs attributes located under the directory 163 * /sys/bus/event_source/devices/<dev>/events as sysfs group attributes. 169 const char *sysfs; local 215 const char *sysfs; local 244 const char *sysfs; local 273 const char *sysfs; local [all...] |
python-ext-sources | 20 util/sysfs.c
|
/external/iputils/ |
arping.c | 41 #include <sysfs/libsysfs.h> 71 struct sysfs_devattr_values *sysfs; member in struct:device 567 * by_sysfs(): requires libsysfs , and sysfs in kernel. 729 if (!device.sysfs) { 730 device.sysfs = malloc(sizeof(*device.sysfs)); 731 sysfs_devattr_values_init(device.sysfs, 0); 786 if (device.sysfs->value[SYSFS_DEVATTR_IFINDEX].ulong) { 787 if (device.sysfs->value[SYSFS_DEVATTR_FLAGS].ulong & IFF_RUNNING) 797 sysfs_devattr_values_init(device.sysfs, 1) [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
read_device_node.c | 225 char sysfs[100]; local 251 inv_get_sysfs_path(sysfs);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
stress_iio.c | 225 printf("sysfs: %s\n", sysfs_path); 929 char sysfs[100]; local 961 inv_get_sysfs_path(sysfs); 962 printf("sss:::%s\n", sysfs);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
mpu_iio.c | 244 printf("INFO: sysfs path=%s\n", dev_path); 584 char sysfs[100]; local 592 inv_get_sysfs_path(sysfs);
|
/external/chromium_org/components/nacl/loader/nonsfi/ |
nonsfi_sandbox_sigsys_unittest.cc | 546 RESTRICT_SYSCALL_DEATH_TEST(sysfs);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
Android.mk | 99 util/sysfs.c \
|
Makefile | 242 LIB_H += util/sysfs.h 302 LIB_OBJS += $(OUTPUT)util/sysfs.o
|
/external/sepolicy/ |
app.te | 341 sysfs:dir_file_class_set write;
|
system_server.te | 149 # XXX Label sysfs files with a specific type? 150 allow system_server sysfs:file rw_file_perms;
|
/external/linux-tools-perf/perf-3.12.0/include/linux/ |
perf_event.h | 53 #include <linux/sysfs.h>
|
/cts/tools/selinux/src/ |
example_input_policy.conf | [all...] |
/external/libsepol/tests/policies/test-cond/ |
refpolicy-base.conf | [all...] |