Lines Matching full:interactive
36 … util_interactive_ensure_power_state(struct node *node, unsigned me, unsigned la, bool interactive, in util_interactive_ensure_power_state() argument
45 while (interactive) { in util_interactive_ensure_power_state()
64 static int power_status_give(struct node *node, unsigned me, unsigned la, bool interactive) in power_status_give() argument
85 static int power_status_report(struct node *node, unsigned me, unsigned la, bool interactive) in power_status_report() argument
107 static int one_touch_play_view_on(struct node *node, unsigned me, unsigned la, bool interactive, in one_touch_play_view_on() argument
139 …tic int one_touch_play_image_view_on(struct node *node, unsigned me, unsigned la, bool interactive) in one_touch_play_image_view_on() argument
141 return one_touch_play_view_on(node, me, la, interactive, CEC_MSG_IMAGE_VIEW_ON); in one_touch_play_image_view_on()
144 …atic int one_touch_play_text_view_on(struct node *node, unsigned me, unsigned la, bool interactive) in one_touch_play_text_view_on() argument
146 return one_touch_play_view_on(node, me, la, interactive, CEC_MSG_TEXT_VIEW_ON); in one_touch_play_text_view_on()
149 …ic int one_touch_play_view_on_wakeup(struct node *node, unsigned me, unsigned la, bool interactive, in one_touch_play_view_on_wakeup() argument
152 …fail_on_test(!util_interactive_ensure_power_state(node, me, la, interactive, CEC_OP_POWER_STATUS_S… in one_touch_play_view_on_wakeup()
154 int ret = one_touch_play_view_on(node, me, la, interactive, opcode); in one_touch_play_view_on_wakeup()
158 fail_on_test(interactive && !question("Did the TV turn on?")); in one_touch_play_view_on_wakeup()
160 if (interactive) in one_touch_play_view_on_wakeup()
166 … one_touch_play_image_view_on_wakeup(struct node *node, unsigned me, unsigned la, bool interactive) in one_touch_play_image_view_on_wakeup() argument
168 if (!interactive || !node->remote[la].has_image_view_on) in one_touch_play_image_view_on_wakeup()
170 return one_touch_play_view_on_wakeup(node, me, la, interactive, CEC_MSG_IMAGE_VIEW_ON); in one_touch_play_image_view_on_wakeup()
173 …t one_touch_play_text_view_on_wakeup(struct node *node, unsigned me, unsigned la, bool interactive) in one_touch_play_text_view_on_wakeup() argument
175 if (!interactive || !node->remote[la].has_text_view_on) in one_touch_play_text_view_on_wakeup()
177 return one_touch_play_view_on_wakeup(node, me, la, interactive, CEC_MSG_TEXT_VIEW_ON); in one_touch_play_text_view_on_wakeup()
180 …ic int one_touch_play_view_on_change(struct node *node, unsigned me, unsigned la, bool interactive, in one_touch_play_view_on_change() argument
186 …fail_on_test(!util_interactive_ensure_power_state(node, me, la, interactive, CEC_OP_POWER_STATUS_O… in one_touch_play_view_on_change()
189 ret = one_touch_play_view_on(node, me, la, interactive, opcode); in one_touch_play_view_on_change()
195 fail_on_test(interactive && !question("Did the TV switch to this source?")); in one_touch_play_view_on_change()
197 if (interactive) in one_touch_play_view_on_change()
203 … one_touch_play_image_view_on_change(struct node *node, unsigned me, unsigned la, bool interactive) in one_touch_play_image_view_on_change() argument
205 if (!interactive || !node->remote[la].has_text_view_on) in one_touch_play_image_view_on_change()
207 return one_touch_play_view_on_change(node, me, la, interactive, CEC_MSG_IMAGE_VIEW_ON); in one_touch_play_image_view_on_change()
210 …t one_touch_play_text_view_on_change(struct node *node, unsigned me, unsigned la, bool interactive) in one_touch_play_text_view_on_change() argument
212 if (!interactive || !node->remote[la].has_text_view_on) in one_touch_play_text_view_on_change()
214 return one_touch_play_view_on_change(node, me, la, interactive, CEC_MSG_TEXT_VIEW_ON); in one_touch_play_text_view_on_change()
217 …int one_touch_play_req_active_source(struct node *node, unsigned me, unsigned la, bool interactive) in one_touch_play_req_active_source() argument
321 static int standby_resume_standby(struct node *node, unsigned me, unsigned la, bool interactive) in standby_resume_standby() argument
329 …fail_on_test(!util_interactive_ensure_power_state(node, me, la, interactive, CEC_OP_POWER_STATUS_O… in standby_resume_standby()
348 fail_on_test(interactive && !question("Is the device in standby?")); in standby_resume_standby()
358 …ic int standby_resume_standby_toggle(struct node *node, unsigned me, unsigned la, bool interactive) in standby_resume_standby_toggle() argument
397 fail_on_test(interactive && !question("Is the device still in standby?")); in standby_resume_standby_toggle()
406 … standby_resume_active_source_nowake(struct node *node, unsigned me, unsigned la, bool interactive) in standby_resume_active_source_nowake() argument
432 return standby_resume_standby(node, me, la, interactive); in standby_resume_active_source_nowake()
494 int standby_resume_wakeup(struct node *node, unsigned me, unsigned la, bool interactive) in standby_resume_wakeup() argument
512 fail_on_test(interactive && !question("Is the device in On state?")); in standby_resume_wakeup()
521 …y_resume_wakeup_view_on(struct node *node, unsigned me, unsigned la, bool interactive, __u8 opcode) in standby_resume_wakeup_view_on() argument
531 int ret = standby_resume_standby(node, me, la, interactive); in standby_resume_wakeup_view_on()
534 ret = standby_resume_standby(node, me, la, interactive); in standby_resume_wakeup_view_on()
544 ret = one_touch_play_view_on(node, me, la, interactive, opcode); in standby_resume_wakeup_view_on()
552 fail_on_test(interactive && !question("Is the device in On state?")); in standby_resume_wakeup_view_on()
567 … standby_resume_wakeup_image_view_on(struct node *node, unsigned me, unsigned la, bool interactive) in standby_resume_wakeup_image_view_on() argument
569 return standby_resume_wakeup_view_on(node, me, la, interactive, CEC_MSG_IMAGE_VIEW_ON); in standby_resume_wakeup_image_view_on()
572 …t standby_resume_wakeup_text_view_on(struct node *node, unsigned me, unsigned la, bool interactive) in standby_resume_wakeup_text_view_on() argument
574 return standby_resume_wakeup_view_on(node, me, la, interactive, CEC_MSG_TEXT_VIEW_ON); in standby_resume_wakeup_text_view_on()
578 static int power_state_transitions(struct node *node, unsigned me, unsigned la, bool interactive) in power_state_transitions() argument
642 static int standby_resume_wakeup_deck(struct node *node, unsigned me, unsigned la, bool interactive… in standby_resume_wakeup_deck() argument
656 int ret = standby_resume_standby(node, me, la, interactive); in standby_resume_wakeup_deck()
671 fail_on_test(interactive && !question("Is the device in On state?")); in standby_resume_wakeup_deck()
676 …int standby_resume_wakeup_deck_eject(struct node *node, unsigned me, unsigned la, bool interactive) in standby_resume_wakeup_deck_eject() argument
678 return standby_resume_wakeup_deck(node, me, la, interactive, CEC_OP_DECK_CTL_MODE_EJECT); in standby_resume_wakeup_deck_eject()
681 … int standby_resume_wakeup_deck_play(struct node *node, unsigned me, unsigned la, bool interactive) in standby_resume_wakeup_deck_play() argument
683 return standby_resume_wakeup_deck(node, me, la, interactive, CEC_OP_PLAY_MODE_PLAY_FWD); in standby_resume_wakeup_deck_play()
686 static int standby_record(struct node *node, unsigned me, unsigned la, bool interactive, bool activ… in standby_record() argument
724 fail_on_test(interactive && !question("Is the device in standby?")); in standby_record()
727 int ret = standby_resume_wakeup(node, me, la, interactive); in standby_record()
736 …tic int standby_record_active_source(struct node *node, unsigned me, unsigned la, bool interactive) in standby_record_active_source() argument
738 return standby_record(node, me, la, interactive, true); in standby_record_active_source()
741 …c int standby_record_inactive_source(struct node *node, unsigned me, unsigned la, bool interactive) in standby_record_inactive_source() argument
743 return standby_record(node, me, la, interactive, false); in standby_record_inactive_source()