Home
last modified time | relevance | path

Searched refs:hdmiCec (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/tv/hdmi/cec/aidl/vts/functional/
DVtsHalTvHdmiCecAidlTargetTest.cpp54 hdmiCec = IHdmiCec::fromBinder( in SetUp()
56 ASSERT_NE(hdmiCec, nullptr); in SetUp()
58 hdmiCec->isRemote() ? "remote" : "local"); in SetUp()
64 ASSERT_EQ(AIBinder_linkToDeath(hdmiCec->asBinder().get(), hdmiCecDeathRecipient.get(), 0), in SetUp()
98 std::shared_ptr<IHdmiCec> hdmiCec; member in HdmiCecTest
110 ASSERT_TRUE(hdmiCec->clearLogicalAddress().isOk()); in TEST_P()
111 ASSERT_TRUE(hdmiCec->addLogicalAddress(CecLogicalAddress::PLAYBACK_3, &addLaResult).isOk()); in TEST_P()
117 ASSERT_TRUE(hdmiCec->getPhysicalAddress(&addr).isOk()); in TEST_P()
130 ASSERT_TRUE(hdmiCec->sendMessage(message, &result).isOk()); in TEST_P()
136 ASSERT_TRUE(hdmiCec->getCecVersion(&version).isOk()); in TEST_P()
[all …]
/hardware/interfaces/tv/cec/1.0/vts/functional/
DVtsHalTvCecV1_0TargetTest.cpp52 hdmiCec = IHdmiCec::getService(GetParam()); in SetUp()
53 ASSERT_NE(hdmiCec, nullptr); in SetUp()
55 hdmiCec->isRemote() ? "remote" : "local"); in SetUp()
59 ASSERT_TRUE(hdmiCec->linkToDeath(hdmiCec_death_recipient, 0).isOk()); in SetUp()
98 sp<IHdmiCec> hdmiCec; member in HdmiCecTest
109 hdmiCec->clearLogicalAddress(); in TEST_P()
110 Return<Result> ret = hdmiCec->addLogicalAddress(CecLogicalAddress::PLAYBACK_3); in TEST_P()
117 Return<void> ret = hdmiCec->getPhysicalAddress([&result, &addr](Result res, uint16_t paddr) { in TEST_P()
132 hdmiCec->clearLogicalAddress(); in TEST_P()
133 Return<Result> result = hdmiCec->addLogicalAddress(CecLogicalAddress::TV); in TEST_P()
[all …]
/hardware/interfaces/tv/cec/1.1/vts/functional/
DVtsHalTvCecV1_1TargetTest.cpp55 hdmiCec = IHdmiCec::getService(GetParam()); in SetUp()
56 ASSERT_NE(hdmiCec, nullptr); in SetUp()
58 hdmiCec->isRemote() ? "remote" : "local"); in SetUp()
63 ASSERT_TRUE(hdmiCec->linkToDeath(hdmiCec_death_recipient, 0).isOk()); in SetUp()
113 sp<IHdmiCec> hdmiCec; member in HdmiCecTest
125 hdmiCec->clearLogicalAddress(); in TEST_P()
126 Return<Result> ret = hdmiCec->addLogicalAddress_1_1(CecLogicalAddress::PLAYBACK_3); in TEST_P()
133 Return<void> ret = hdmiCec->getPhysicalAddress([&result, &addr](Result res, uint16_t paddr) { in TEST_P()
149 SendMessageResult ret = hdmiCec->sendMessage_1_1(message); in TEST_P()
154 Return<int32_t> ret = hdmiCec->getCecVersion(); in TEST_P()
[all …]