[PATCH] cec-compliance: remove One Touch Record Status test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove the Record Status test for One Touch Record because the follower
sends these kinds of messages in response to Record On.

Signed-off-by: Deborah Brouwer <deborahbrouwer3563@xxxxxxxxx>
---
This is part of an Outreachy project to expand the testing of
One Touch Record messages as handled by CEC adapters.

 utils/cec-compliance/cec-test.cpp | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp
index d28642d7..40d8369d 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -1221,28 +1221,10 @@ static int one_touch_rec_off(struct node *node, unsigned me, unsigned la, bool i
 	return 0;
 }
 
-static int one_touch_rec_status(struct node *node, unsigned me, unsigned la, bool interactive)
-{
-	struct cec_msg msg;
-
-	cec_msg_init(&msg, me, la);
-	cec_msg_record_status(&msg, CEC_OP_RECORD_STATUS_DIG_SERVICE);
-	fail_on_test(!transmit_timeout(node, &msg));
-	if (unrecognized_op(&msg))
-		return OK_NOT_SUPPORTED;
-	if (refused(&msg))
-		return OK_REFUSED;
-	if (cec_msg_status_is_abort(&msg))
-		return OK_PRESUMED;
-
-	return 0;
-}
-
 static const vec_remote_subtests one_touch_rec_subtests{
 	{ "Record TV Screen", CEC_LOG_ADDR_MASK_TV, one_touch_rec_tv_screen },
 	{ "Record On", CEC_LOG_ADDR_MASK_RECORD, one_touch_rec_on },
 	{ "Record Off", CEC_LOG_ADDR_MASK_RECORD, one_touch_rec_off },
-	{ "Record Status", CEC_LOG_ADDR_MASK_ALL, one_touch_rec_status },
 };
 
 /* Timer Programming */
-- 
2.25.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux