Searched refs:sysfs (Results 1 – 15 of 15) sorted by relevance
/device/lge/hammerhead/libsensors/ |
D | LightSensor.cpp | 55 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()
|
D | ProximitySensor.cpp | 62 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/ |
D | mpdecision.te | 27 …"mpdecision" name="scaling_min_freq" dev="sysfs" ino=13165 scontext=u:r:mpdecision:s0 tcontext=u:o… 32 allow mpdecision sysfs:file write;
|
D | bluetooth.te | 3 allow bluetooth sysfs:file rw_file_perms;
|
D | adspd.te | 19 allow adspd sysfs:file write;
|
D | qmux.te | 21 allow qmux sysfs:file rw_file_perms;
|
D | thermald.te | 29 allow thermald sysfs:file write;
|
D | mdm_helper.te | 47 allow mdm_helper sysfs:file write;
|
/device/asus/flo/sepolicy/ |
D | thermald.te | 29 # sysfs label, not the sysfs_devices_system_cpu label. 34 allow thermald sysfs:file write;
|
D | mpdecision.te | 34 # sysfs label, not the sysfs_devices_system_cpu label. 39 allow mpdecision sysfs:file write;
|
/device/lge/hammerhead/sepolicy-hammerhead_fp/ |
D | file.te | 1 # sysfs directory file
|
D | fingerprintd.te | 3 allow fingerprintd sysfs:file rw_file_perms;
|
/device/htc/flounder/sepolicy/ |
D | bluetooth.te | 2 allow bluetooth sysfs:file write;
|
/device/lge/hammerhead/sepolicy/ |
D | mpdecision.te | 34 # sysfs label, not the sysfs_devices_system_cpu label. 39 allow mpdecision sysfs:file write;
|
D | thermald.te | 31 # sysfs label, not the sysfs_devices_system_cpu label. 36 allow thermald sysfs:file write;
|