Searched refs:onMS (Results 1 – 2 of 2) sorted by relevance
/device/lge/bullhead/liblight/ |
D | lights.c | 126 int onMS, offMS; in set_light_locked() local 132 onMS = state->flashOnMS; in set_light_locked() 137 onMS = 0; in set_light_locked() 146 state->flashMode, colorRGB, onMS, offMS); in set_light_locked() 154 if (onMS == 0) { in set_light_locked() 166 write_on_off(RED_TIMEOUT_FILE, onMS, offMS); in set_light_locked() 167 write_on_off(GREEN_TIMEOUT_FILE, onMS, offMS); in set_light_locked() 168 write_on_off(BLUE_TIMEOUT_FILE, onMS, offMS); in set_light_locked()
|
/device/huawei/angler/liblight/ |
D | lights.c | 206 int onMS, offMS; in set_speaker_light_locked() local 232 onMS = state->flashOnMS; in set_speaker_light_locked() 238 onMS = 1; in set_speaker_light_locked() 244 onMS = 0; in set_speaker_light_locked() 253 state->flashMode, colorRGB, onMS, offMS, in set_speaker_light_locked() 260 if (onMS == 0) { in set_speaker_light_locked() 272 write_on_off(RED_TIMER_FILE, onMS, offMS); in set_speaker_light_locked() 273 write_on_off(GREEN_TIMER_FILE, onMS, offMS); in set_speaker_light_locked() 274 write_on_off(BLUE_TIMER_FILE, onMS, offMS); in set_speaker_light_locked()
|