Searched refs:write_string (Results 1 – 2 of 2) sorted by relevance
/system/core/adb/ |
D | remount_service.c | 92 static void write_string(int fd, const char* str) in write_string() function 102 write_string(fd, "remount succeeded\n"); in remount_service() 106 write_string(fd, buffer); in remount_service()
|
/system/core/debuggerd/ |
D | debuggerd.c | 59 write_string(const char* file, const char* string) in write_string() function 77 write_string("/sys/class/leds/red/brightness", "0"); in init_debug_led() 78 write_string("/sys/class/leds/green/brightness", "0"); in init_debug_led() 79 write_string("/sys/class/leds/blue/brightness", "0"); in init_debug_led() 80 write_string("/sys/class/leds/red/device/blink", "0"); in init_debug_led() 82 write_string("/sys/class/leds/left/cadence", "0,0"); in init_debug_led() 89 write_string("/sys/class/leds/red/brightness", "255"); in enable_debug_led() 91 write_string("/sys/class/leds/left/cadence", "1,0"); in enable_debug_led() 98 write_string("/sys/class/leds/red/brightness", "0"); in disable_debug_led() 100 write_string("/sys/class/leds/left/cadence", "0,0"); in disable_debug_led()
|