Home
last modified time | relevance | path

Searched refs:offMS (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/sm8150/display/liblight/
Dlights.c177 static int set_rgb_led_timer_trigger(enum rgb_led led, int onMS, int offMS) in set_rgb_led_timer_trigger() argument
183 rc = write_int(file, offMS); in set_rgb_led_timer_trigger()
214 int onMS, offMS; in set_speaker_light_locked() local
229 offMS = state->flashOffMS; in set_speaker_light_locked()
231 if (onMS != 0 && offMS != 0) in set_speaker_light_locked()
247 rc = set_rgb_led_timer_trigger(LED_RED, onMS, offMS); in set_speaker_light_locked()
249 rc |= set_rgb_led_timer_trigger(LED_GREEN, onMS, offMS); in set_speaker_light_locked()
251 rc |= set_rgb_led_timer_trigger(LED_BLUE, onMS, offMS); in set_speaker_light_locked()
264 state->flashMode, colorRGB, onMS, offMS, rc); in set_speaker_light_locked()
/hardware/qcom/display/msm8960/liblight/
Dlights.c148 int onMS, offMS; in set_speaker_light_locked() local
154 offMS = state->flashOffMS; in set_speaker_light_locked()
159 offMS = 0; in set_speaker_light_locked()
167 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
170 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
171 int totalMS = onMS + offMS; in set_speaker_light_locked()
/hardware/qcom/display/msm8996/liblight/
Dlights.c135 int onMS, offMS; in set_speaker_light_locked() local
145 offMS = state->flashOffMS; in set_speaker_light_locked()
150 offMS = 0; in set_speaker_light_locked()
158 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
165 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
172 if (onMS == offMS) in set_speaker_light_locked()
/hardware/qcom/display/msm8998/liblight/
Dlights.c172 int onMS, offMS; in set_speaker_light_locked() local
182 offMS = state->flashOffMS; in set_speaker_light_locked()
187 offMS = 0; in set_speaker_light_locked()
195 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
202 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
209 if (onMS == offMS) in set_speaker_light_locked()
/hardware/qcom/sdm845/display/liblight/
Dlights.c250 int onMS, offMS; in set_speaker_light_locked() local
260 offMS = state->flashOffMS; in set_speaker_light_locked()
265 offMS = 0; in set_speaker_light_locked()
273 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
280 write_double_int(RED_ON_OFF_MS_FILE, onMS, offMS); in set_speaker_light_locked()
282 write_double_int(GREEN_ON_OFF_MS_FILE, onMS, offMS); in set_speaker_light_locked()
284 write_double_int(BLUE_ON_OFF_MS_FILE, onMS, offMS); in set_speaker_light_locked()
/hardware/qcom/display/msm8084/liblight/
Dlights.c134 int onMS, offMS; in set_speaker_light_locked() local
144 offMS = state->flashOffMS; in set_speaker_light_locked()
149 offMS = 0; in set_speaker_light_locked()
157 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
164 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
/hardware/qcom/display/msm8909/liblight/
Dlights.c172 int onMS, offMS; in set_speaker_light_locked() local
182 offMS = state->flashOffMS; in set_speaker_light_locked()
187 offMS = 0; in set_speaker_light_locked()
195 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
202 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
209 if (onMS == offMS) in set_speaker_light_locked()
/hardware/qcom/display/msm8226/liblight/
Dlights.c134 int onMS, offMS; in set_speaker_light_locked() local
144 offMS = state->flashOffMS; in set_speaker_light_locked()
149 offMS = 0; in set_speaker_light_locked()
157 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
164 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
/hardware/qcom/display/msm8994/liblight/
Dlights.c135 int onMS, offMS; in set_speaker_light_locked() local
145 offMS = state->flashOffMS; in set_speaker_light_locked()
150 offMS = 0; in set_speaker_light_locked()
158 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
165 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
/hardware/qcom/display/msm8909w_3100/liblight/
Dlights.c196 int onMS, offMS; in set_speaker_light_locked() local
206 offMS = state->flashOffMS; in set_speaker_light_locked()
211 offMS = 0; in set_speaker_light_locked()
219 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
226 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
233 if (onMS == offMS) in set_speaker_light_locked()