Home
last modified time | relevance | path

Searched refs:sysfs (Results 1 – 15 of 15) sorted by relevance

/device/lge/hammerhead/libsensors/
DLightSensor.cpp55 char sysfs[PATH_MAX]; in setDelay() local
57 strcpy(sysfs, I2C); in setDelay()
58 strcat(sysfs, "als_poll_delay"); in setDelay()
60 fd = open(sysfs, O_RDWR); in setDelay()
81 char sysfs[PATH_MAX]; in enable() local
83 strcpy(sysfs, I2C); in enable()
84 strcat(sysfs, "enable_als_sensor"); in enable()
86 ALOGI_IF(DEBUG, "enable.open(%s), en(%d)", sysfs, en); in enable()
88 int fd = open(sysfs, O_RDWR); in enable()
90 ALOGE("couldn't open '%s' input device", sysfs); in enable()
DProximitySensor.cpp62 char sysfs[PATH_MAX]; in enable() local
64 strcpy(sysfs, I2C); in enable()
65 strcat(sysfs, "enable_ps_sensor"); in enable()
67 ALOGI_IF(DEBUG, "enable.open(%s), en(%d)", sysfs, en); in enable()
69 int fd = open(sysfs, O_RDWR); in enable()
71 ALOGE("couldn't open '%s' input device", sysfs); in enable()
/device/moto/shamu/sepolicy/
Dmpdecision.te27 …"mpdecision" name="scaling_min_freq" dev="sysfs" ino=13165 scontext=u:r:mpdecision:s0 tcontext=u:o…
32 allow mpdecision sysfs:file write;
Dbluetooth.te3 allow bluetooth sysfs:file rw_file_perms;
Dadspd.te19 allow adspd sysfs:file write;
Dqmux.te21 allow qmux sysfs:file rw_file_perms;
Dthermald.te29 allow thermald sysfs:file write;
Dmdm_helper.te47 allow mdm_helper sysfs:file write;
/device/asus/flo/sepolicy/
Dthermald.te29 # sysfs label, not the sysfs_devices_system_cpu label.
34 allow thermald sysfs:file write;
Dmpdecision.te34 # sysfs label, not the sysfs_devices_system_cpu label.
39 allow mpdecision sysfs:file write;
/device/lge/hammerhead/sepolicy-hammerhead_fp/
Dfile.te1 # sysfs directory file
Dfingerprintd.te3 allow fingerprintd sysfs:file rw_file_perms;
/device/htc/flounder/sepolicy/
Dbluetooth.te2 allow bluetooth sysfs:file write;
/device/lge/hammerhead/sepolicy/
Dmpdecision.te34 # sysfs label, not the sysfs_devices_system_cpu label.
39 allow mpdecision sysfs:file write;
Dthermald.te31 # sysfs label, not the sysfs_devices_system_cpu label.
36 allow thermald sysfs:file write;