/hardware/qcom/display/msm8909/liblight/ |
D | lights.c | 82 write_int(char const* path, int value) in write_int() function 127 err = write_int(LCD_FILE, brightness); in set_light_backlight() 185 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked() 186 write_int(RED_LED_FILE, 0); in set_speaker_light_locked() 189 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked() 190 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked() 193 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked() 194 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked() 197 write_int(RED_LED_FILE, red); in set_speaker_light_locked() 198 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked() [all …]
|
/hardware/qcom/display/msm8226/liblight/ |
D | lights.c | 78 write_int(char const* path, int value) in write_int() function 123 err = write_int(LCD_FILE, brightness); in set_light_backlight() 172 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked() 173 write_int(RED_LED_FILE, 0); in set_speaker_light_locked() 176 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked() 177 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked() 180 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked() 181 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked() 184 write_int(RED_LED_FILE, red); in set_speaker_light_locked() 185 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked() [all …]
|
/hardware/qcom/display/msm8994/liblight/ |
D | lights.c | 79 write_int(char const* path, int value) in write_int() function 124 err = write_int(LCD_FILE, brightness); in set_light_backlight() 173 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked() 174 write_int(RED_LED_FILE, 0); in set_speaker_light_locked() 177 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked() 178 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked() 181 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked() 182 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked() 185 write_int(RED_LED_FILE, red); in set_speaker_light_locked() 186 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked() [all …]
|
/hardware/qcom/display/msm8996/liblight/ |
D | lights.c | 79 write_int(char const* path, int value) in write_int() function 124 err = write_int(LCD_FILE, brightness); in set_light_backlight() 182 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked() 183 write_int(RED_LED_FILE, 0); in set_speaker_light_locked() 186 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked() 187 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked() 190 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked() 191 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked() 194 write_int(RED_LED_FILE, red); in set_speaker_light_locked() 195 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked() [all …]
|
/hardware/qcom/display/msm8960/liblight/ |
D | lights.c | 83 write_int(char const* path, int value) in write_int() function 137 err = write_int(LCD_FILE, brightness); in set_light_backlight() 204 write_int(lock_update_file, 1); // for LED On/Off synchronization in set_speaker_light_locked() 207 write_int(RED_LED_FILE, (colorRGB >> 16) & 0xFF); in set_speaker_light_locked() 208 write_int(GREEN_LED_FILE, (colorRGB >> 8) & 0xFF); in set_speaker_light_locked() 209 write_int(BLUE_LED_FILE, colorRGB & 0xFF); in set_speaker_light_locked() 215 write_int(WHITE_LED_FILE, (int) brightness); in set_speaker_light_locked() 219 write_int(freq_file, freq); in set_speaker_light_locked() 220 write_int(pwm_file, pwm); in set_speaker_light_locked() 222 write_int(blink_file, blink); in set_speaker_light_locked() [all …]
|
/hardware/qcom/display/msm8084/liblight/ |
D | lights.c | 78 write_int(char const* path, int value) in write_int() function 123 err = write_int(LCD_FILE, brightness); in set_light_backlight() 172 write_int(RED_BLINK_FILE, blink); in set_speaker_light_locked() 174 write_int(GREEN_BLINK_FILE, blink); in set_speaker_light_locked() 176 write_int(BLUE_BLINK_FILE, blink); in set_speaker_light_locked() 178 write_int(RED_LED_FILE, red); in set_speaker_light_locked() 179 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked() 180 write_int(BLUE_LED_FILE, blue); in set_speaker_light_locked() 231 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
|
/hardware/akm/AK8975_FS/libsensors/ |
D | SensorBase.h | 48 int write_int(char const *path, int value);
|