Home
last modified time | relevance | path

Searched refs:blink (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/display/msm8996/liblight/
Dlights.c134 int blink; in set_speaker_light_locked() local
173 blink = 2; in set_speaker_light_locked()
175 blink = 1; in set_speaker_light_locked()
177 blink = 0; in set_speaker_light_locked()
180 if (blink) { in set_speaker_light_locked()
182 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
186 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
190 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
/hardware/qcom/display/msm8084/liblight/
Dlights.c133 int blink; in set_speaker_light_locked() local
165 blink = 1; in set_speaker_light_locked()
167 blink = 0; in set_speaker_light_locked()
170 if (blink) { in set_speaker_light_locked()
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()
/hardware/qcom/display/msm8998/liblight/
Dlights.c171 int blink; in set_speaker_light_locked() local
210 blink = 2; in set_speaker_light_locked()
212 blink = 1; in set_speaker_light_locked()
214 blink = 0; in set_speaker_light_locked()
217 if (blink) { in set_speaker_light_locked()
219 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
223 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
227 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
/hardware/qcom/display/msm8226/liblight/
Dlights.c133 int blink; in set_speaker_light_locked() local
165 blink = 1; in set_speaker_light_locked()
167 blink = 0; in set_speaker_light_locked()
170 if (blink) { in set_speaker_light_locked()
172 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
176 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
180 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
/hardware/qcom/display/msm8994/liblight/
Dlights.c134 int blink; in set_speaker_light_locked() local
166 blink = 1; in set_speaker_light_locked()
168 blink = 0; in set_speaker_light_locked()
171 if (blink) { in set_speaker_light_locked()
173 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
177 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
181 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
/hardware/qcom/display/msm8909/liblight/
Dlights.c171 int blink; in set_speaker_light_locked() local
210 blink = 2; in set_speaker_light_locked()
212 blink = 1; in set_speaker_light_locked()
214 blink = 0; in set_speaker_light_locked()
217 if (blink) { in set_speaker_light_locked()
219 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
223 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
227 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
/hardware/qcom/display/msm8909w_3100/liblight/
Dlights.c195 int blink; in set_speaker_light_locked() local
234 blink = 2; in set_speaker_light_locked()
236 blink = 1; in set_speaker_light_locked()
238 blink = 0; in set_speaker_light_locked()
241 if (blink) { in set_speaker_light_locked()
243 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
247 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
251 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
/hardware/qcom/sm8150/display/liblight/
Dlights.c198 static int set_rgb_led_hw_blink(enum rgb_led led, int blink) in set_rgb_led_hw_blink() argument
206 return write_int(file, blink); in set_rgb_led_hw_blink()
216 int blink = 0; in set_speaker_light_locked() local
232 blink = 1; in set_speaker_light_locked()
237 rc = set_rgb_led_hw_blink(LED_RED, blink); in set_speaker_light_locked()
239 rc |= set_rgb_led_hw_blink(LED_GREEN, blink); in set_speaker_light_locked()
241 rc |= set_rgb_led_hw_blink(LED_BLUE, blink); in set_speaker_light_locked()
/hardware/qcom/display/msm8960/liblight/
Dlights.c147 int blink, freq, pwm; in set_speaker_light_locked() local
185 blink = 1; in set_speaker_light_locked()
187 blink = 0; in set_speaker_light_locked()
218 if (blink) { in set_speaker_light_locked()
222 write_int(blink_file, blink); in set_speaker_light_locked()
/hardware/qcom/sm7250/display/liblight/
Dlights.c250 static int set_rgb_led_hw_blink(enum rgb_led led, int blink) in set_rgb_led_hw_blink() argument
258 return write_int(file, blink); in set_rgb_led_hw_blink()
268 int blink = 0; in set_speaker_light_locked() local
284 blink = 1; in set_speaker_light_locked()
289 rc = set_rgb_led_hw_blink(LED_RED, blink); in set_speaker_light_locked()
291 rc |= set_rgb_led_hw_blink(LED_GREEN, blink); in set_speaker_light_locked()
293 rc |= set_rgb_led_hw_blink(LED_BLUE, blink); in set_speaker_light_locked()
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dcam_types.h1359 cam_face_blink_info_t blink[MAX_ROI]; member
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWI.cpp9303 faces[i].blink_detected = faces_data->blink_data.blink[i].blink_detected; in processFaceDetectionResult()
9304 faces[i].leye_blink = faces_data->blink_data.blink[i].left_blink; in processFaceDetectionResult()
9305 faces[i].reye_blink = faces_data->blink_data.blink[i].right_blink; in processFaceDetectionResult()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp7760 detected[i] = blinks->blink[i].blink_detected; in translateFromHalMetadata()
7761 degree[2 * i] = blinks->blink[i].left_blink; in translateFromHalMetadata()
7762 degree[2 * i + 1] = blinks->blink[i].right_blink; in translateFromHalMetadata()