/device/asus/flo/charger_touch/ |
D | charger_touch.c | 35 static void read_path(const char* path, char* buf, size_t size) in read_path() argument 37 int fd = open(path, O_RDONLY, 0); in read_path() 41 ALOGE("Could not open %s", path); in read_path() 68 char path[PATH_MAX]; in handle_uevent() local 77 snprintf(path, sizeof(path), "%s/wireless/online", POWER_SUPPLY_PATH); in handle_uevent() 78 read_path(path, wlc, 1); in handle_uevent() 85 snprintf(path, sizeof(path), "%s/usb/online", POWER_SUPPLY_PATH); in handle_uevent() 86 read_path(path, usb, 1); in handle_uevent() 88 snprintf(path, sizeof(path), "%s/pm8921-dc/online", POWER_SUPPLY_PATH); in handle_uevent() 89 read_path(path, ac, 1); in handle_uevent()
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
D | UnixStream.cpp | 51 make_unix_path(char *path, size_t pathlen, int port_number) in make_unix_path() argument 84 snprintf(path, pathlen, "%s/qemu-gles-%d", tmp, port_number); in make_unix_path() 91 char path[PATH_MAX]; in listen() local 93 if (make_unix_path(path, sizeof(path), port) < 0) { in listen() 97 m_sock = socket_local_server(path, ANDROID_SOCKET_NAMESPACE_FILESYSTEM, SOCK_STREAM); in listen() 128 char path[PATH_MAX]; in connect() local 130 if (make_unix_path(path, sizeof(path), port) < 0) in connect() 133 m_sock = socket_local_client(path, ANDROID_SOCKET_NAMESPACE_FILESYSTEM, SOCK_STREAM); in connect()
|
D | Win32PipeStream.cpp | 57 make_pipe_name(char *path, size_t pathlen, int port_number) in make_pipe_name() argument 59 snprintf(path, pathlen, "\\\\.\\pipe\\qemu-gles-%d", port_number); in make_pipe_name() 85 char path[NAMED_PIPE_MAX+1]; in accept() local 89 make_pipe_name(path, sizeof(path), m_port); in accept() 92 path, // pipe name in accept() 125 char path[NAMED_PIPE_MAX+1]; in connect() local 129 make_pipe_name(path, sizeof(path), port); in connect() 136 path, // pipe name in connect() 164 if ( !WaitNamedPipe(path, 5000) ) { in connect()
|
/device/asus/fugu/power/ |
D | power.c | 42 static ssize_t sysfs_write(char *path, char *s) in sysfs_write() argument 46 int fd = open(path, O_WRONLY); in sysfs_write() 50 ALOGE("Error opening %s: %s\n", path, buf); in sysfs_write() 56 ALOGE("Error writing to %s: %s\n", path, buf); in sysfs_write() 60 ALOGV("wrote '%s' to %s", s, path); in sysfs_write() 65 static ssize_t sysfs_read(char *path, char *s, int num_bytes) in sysfs_read() argument 69 int fd = open(path, O_RDONLY); in sysfs_read() 73 ALOGE("Error reading from %s: %s\n", path, buf); in sysfs_read() 79 ALOGE("Error reading from %s: %s\n", path, buf); in sysfs_read() 89 ALOGV("read '%s' from %s", s, path); in sysfs_read()
|
/device/moto/shamu/ |
D | audio_effects.conf | 10 path /system/lib/soundfx/libbundlewrapper.so 13 path /system/lib/soundfx/libreverbwrapper.so 16 path /system/lib/soundfx/libvisualizer.so 19 path /system/lib/soundfx/libqcomvisualizer.so 22 path /system/lib/soundfx/libdownmix.so 25 path /system/lib/soundfx/libeffectproxy.so 28 path /system/lib/soundfx/libqcomvoiceprocessing.so 31 path /system/lib/soundfx/libldnhncr.so
|
/device/asus/flo/ |
D | audio_effects.conf | 10 path /system/lib/soundfx/libbundlewrapper.so 13 path /system/lib/soundfx/libreverbwrapper.so 16 path /system/lib/soundfx/libvisualizer.so 19 path /system/lib/soundfx/libdownmix.so 22 path /system/lib/soundfx/libqcomvoiceprocessing.so 25 path /system/lib/soundfx/libldnhncr.so
|
/device/lge/hammerhead/ |
D | audio_effects.conf | 10 path /system/lib/soundfx/libbundlewrapper.so 13 path /system/lib/soundfx/libreverbwrapper.so 16 path /system/lib/soundfx/libvisualizer.so 19 path /system/lib/soundfx/libqcomvisualizer.so 22 path /system/lib/soundfx/libdownmix.so 25 path /system/lib/soundfx/libeffectproxy.so 28 path /system/lib/soundfx/libqcompostprocbundle.so 31 path /system/lib/soundfx/libqcomvoiceprocessing.so 34 path /system/lib/soundfx/libldnhncr.so
|
/device/htc/flounder/health/ |
D | healthd-flounder.cpp | 54 static int read_sysfs(const char *path, char *buf, size_t size) { in read_sysfs() argument 57 int fd = open(path, O_RDONLY, 0); in read_sysfs() 59 KLOG_ERROR(LOG_TAG, "Could not open '%s'\n", path); in read_sysfs() 76 static void write_sysfs(const char *path, char *s) in write_sysfs() argument 80 int fd = open(path, O_WRONLY); in write_sysfs() 84 KLOG_ERROR(LOG_TAG, "Error opening %s: %s\n", path, buf); in write_sysfs() 91 KLOG_ERROR(LOG_TAG, "Error writing to %s: %s\n", path, buf); in write_sysfs() 97 static int64_t get_int64_field(const char *path) { in get_int64_field() argument 102 if (read_sysfs(path, buf, SIZE) > 0) { in get_int64_field()
|
/device/generic/goldfish/libqemu/ |
D | test_host_1.c | 91 socket_unix_server( const char* path, int type ) in socket_unix_server() argument 102 snprintf(addr.sun_path, sizeof(addr.sun_path), "%s", path); in socket_unix_server() 146 const char* path = NULL; in main() local 170 path = argv[1]; in main() 187 if (path != NULL) { in main() 188 printf("Starting pipe test server on unix path: %s\n", path); in main() 189 sock = socket_unix_server( path, SOCK_STREAM ); in main()
|
/device/asus/fugu/dumpstate/ |
D | dumpstate.c | 43 static void fugu_dump_base64(const char *path) in fugu_dump_base64() argument 46 printf("------ (%s) ------\n", path); in fugu_dump_base64() 47 int fd = open(path, O_RDONLY | O_CLOEXEC | O_NOFOLLOW); in fugu_dump_base64() 49 printf("*** %s: %s\n\n", path, strerror(errno)); in fugu_dump_base64()
|
/device/asus/flo/dumpstate/ |
D | dumpstate.c | 23 char path[64], title[32]; in dump_ks_bridges() local 24 sprintf(path, "/sys/kernel/debug/ks_bridge/ks_bridge:%d", i); in dump_ks_bridges() 26 dump_file(title, path); in dump_ks_bridges()
|
/device/asus/deb/dumpstate/ |
D | dumpstate.c | 23 char path[64], title[32]; in dump_ks_bridges() local 24 sprintf(path, "/sys/kernel/debug/ks_bridge/ks_bridge:%d", i); in dump_ks_bridges() 26 dump_file(title, path); in dump_ks_bridges()
|
/device/htc/flounder/sensor_hub/libsensors/ |
D | SensorBase.cpp | 72 const char *path, const char *value, int bytes) in write_sys_attribute() argument 76 fd = open(path, O_WRONLY); in write_sys_attribute() 79 path, strerror(errno)); in write_sys_attribute() 86 path, strerror(errno)); in write_sys_attribute()
|
D | SensorBase.h | 49 int write_int(char const *path, int value); 51 char const *path, char const *value, int bytes);
|
D | CwMcuSensor.h | 128 void cw_save_calibrator_file(int type, const char * path, int* str); 129 int cw_read_calibrator_file(int type, const char * path, int* str);
|
/device/lge/hammerhead/liblight/ |
D | lights.c | 59 static int write_int(char const* path, int value) in write_int() argument 64 fd = open(path, O_RDWR); in write_int() 73 ALOGE("write_int failed to open %s\n", path); in write_int() 80 static int write_on_off(char const* path, int on, int off) in write_on_off() argument 85 fd = open(path, O_RDWR); in write_on_off() 94 ALOGE("write_int failed to open %s\n", path); in write_on_off()
|
/device/htc/flounder/audio/hal/ |
D | Android.mk | 24 $(call include-path-for, audio-utils) \ 25 $(call include-path-for, audio-route) \ 26 $(call include-path-for, audio-effects)
|
/device/htc/flounder/power/ |
D | power_flounder.c | 61 static void sysfs_write(const char *path, char *s) in sysfs_write() argument 65 int fd = open(path, O_WRONLY); in sysfs_write() 69 ALOGE("Error opening %s: %s\n", path, buf); in sysfs_write() 76 ALOGE("Error writing to %s: %s\n", path, buf); in sysfs_write()
|
/device/moto/shamu/sepolicy/ |
D | mmi_touch_sh.te | 13 # Write to /sys/path/to/firmware/forcereflash 14 # Read from /sys/path/to/firmware/poweron (and others)
|
/device/htc/flounder/lights/ |
D | lights.c | 37 static int write_int(char const *path, int value) in write_int() argument 41 fd = open(path, O_RDWR); in write_int() 50 ALOGE("write_int failed to open %s\n", path); in write_int()
|
/device/asus/flo/power/ |
D | power_flo.c | 90 static int sysfs_write(const char *path, char *s) in sysfs_write() argument 94 int fd = open(path, O_WRONLY); in sysfs_write() 98 ALOGE("Error opening %s: %s\n", path, buf); in sysfs_write() 105 ALOGE("Error writing to %s: %s\n", path, buf); in sysfs_write()
|
/device/lge/hammerhead/power/ |
D | power_hammerhead.c | 90 static int sysfs_write(const char *path, char *s) in sysfs_write() argument 94 int fd = open(path, O_WRONLY); in sysfs_write() 98 ALOGE("Error opening %s: %s\n", path, buf); in sysfs_write() 105 ALOGE("Error writing to %s: %s\n", path, buf); in sysfs_write()
|
/device/asus/fugu/libaudio/ |
D | Android.mk | 34 $(call include-path-for, audio-utils) 78 $(call include-path-for, audio-utils)
|
/device/lge/hammerhead/voice_processing/ |
D | Android.mk | 25 $(call include-path-for, audio-effects)
|
/device/moto/shamu/voice_processing/ |
D | Android.mk | 25 $(call include-path-for, audio-effects)
|