Merge "Populate host endpoint type in VTS test"

This commit is contained in:
TreeHugger Robot
2023-02-10 19:36:22 +00:00
committed by Android (Google) Code Review

View File

@@ -368,6 +368,7 @@ std::vector<std::tuple<std::string, int32_t>> generateContextHubMapping() {
TEST_P(ContextHubAidl, TestHostConnection) {
constexpr char16_t kHostEndpointId = 1;
HostEndpointInfo hostEndpointInfo;
hostEndpointInfo.type = HostEndpointInfo::Type::NATIVE;
hostEndpointInfo.hostEndpointId = kHostEndpointId;
ASSERT_TRUE(contextHub->onHostEndpointConnected(hostEndpointInfo).isOk());