Home
last modified time | relevance | path

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

/hardware/google/gfxstream/scripts/print_gfx_logs/
Dvulkan_printer.py9 printer.write_int("seqno: ", 4, indent)
10 device = printer.write_int("device", 8, indent, signed=False, big_endian=False)
11 image = printer.write_int("image", 8, indent, signed=False, big_endian=False)
12 nativeFenceFd = printer.write_int("nativeFenceFd", 4, indent, signed=True, big_endian=False)
13 semaphore = printer.write_int("semaphore", 8, indent, signed=False, big_endian=False)
14 fence = printer.write_int("fence", 8, indent, signed=False, big_endian=False)
18 printer.write_int("seqno: ", 4, indent)
19 device = printer.write_int("device", 8, indent, signed=False, big_endian=False)
22 pMemory = printer.write_int("pMemory", 8, indent, optional=False, count=None, big_endian=False)
30 printer.write_int("seqno: ", 4, indent)
[all …]
Dcommand_printer_test.py44 cmd_printer.write_int("foobar", size=4, indent=0)
49 r = cmd_printer.write_int("foobar", size=4, indent=0)
56 r = cmd_printer.write_int("i", size=1, indent=0, optional=True)
63 r = cmd_printer.write_int("i", size=1, indent=0, optional=True)
70 cmd_printer.write_int("i", size=2, indent=0, optional=True, count=2)
Dcommand_printer.py115 def write_int(self, member in CommandPrinter
191 pnext_size = self.write_int("pNext_size", 4, indent, big_endian=True)
/hardware/qcom/display/msm8998/liblight/
Dlights.c91 write_int(char const* path, int value) in write_int() function
143 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
156 err = write_int(LCD_FILE, brightness); in set_light_backlight()
158 err = write_int(LCD_FILE2, brightness); in set_light_backlight()
219 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
220 write_int(RED_LED_FILE, 0); in set_speaker_light_locked()
223 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
224 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked()
227 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
228 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked()
[all …]
/hardware/qcom/display/msm8909/liblight/
Dlights.c91 write_int(char const* path, int value) in write_int() function
143 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
156 err = write_int(LCD_FILE, brightness); in set_light_backlight()
158 err = write_int(LCD_FILE2, brightness); in set_light_backlight()
219 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
220 write_int(RED_LED_FILE, 0); in set_speaker_light_locked()
223 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
224 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked()
227 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
228 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked()
[all …]
/hardware/qcom/display/msm8994/liblight/
Dlights.c79 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/
Dlights.c79 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/msm8226/liblight/
Dlights.c78 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/msm8909w_3100/liblight/
Dlights.c93 write_int(char const* path, int value) in write_int() function
145 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
158 err = write_int(LCD_FILE, brightness); in set_light_backlight()
160 err = write_int(LCD_FILE2, brightness); in set_light_backlight()
243 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
244 write_int(RED_LED_FILE, 0); in set_speaker_light_locked()
247 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
248 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked()
251 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
252 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked()
[all …]
/hardware/qcom/display/msm8960/liblight/
Dlights.c83 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/
Dlights.c78 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/qcom/sm8150/display/liblight/
Dlights.c80 static int write_int(char const* path, int value) in write_int() function
149 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
159 err = write_int(LCD_FILE, brightness); in set_light_backlight()
161 err = write_int(LCD_FILE2, brightness); in set_light_backlight()
174 return write_int(file, brightness); in set_rgb_led_brightness()
183 rc = write_int(file, offMS); in set_rgb_led_timer_trigger()
188 rc = write_int(file, onMS); in set_rgb_led_timer_trigger()
206 return write_int(file, blink); in set_rgb_led_hw_blink()
325 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
/hardware/qcom/sm7250/display/liblight/
Dlights.c100 static int write_int(char const* path, int value) in write_int() function
169 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
182 err = write_int(LCD_FILE, brightness); in set_light_backlight()
184 err = write_int(LCD_FILE2, brightness); in set_light_backlight()
205 rc = write_int(file, brightness); in set_rgb_led_brightness()
233 rc = write_int(file_off, offMS); in set_rgb_led_timer_trigger()
237 rc = write_int(file_on, onMS); in set_rgb_led_timer_trigger()
258 return write_int(file, blink); in set_rgb_led_hw_blink()
377 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()