Home
last modified time | relevance | path

Searched refs:endpointInfo (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/automotive/ivn_android_device/impl/default/test/
DIvnAndroidDeviceServiceUnittest.cpp112 EndpointInfo endpointInfo; in TEST_F() local
114 ScopedAStatus status = mService->getMyEndpointInfo(&endpointInfo); in TEST_F()
117 EXPECT_EQ(endpointInfo.connectProtocol, ConnectProtocol::TCP_IP); in TEST_F()
118 EXPECT_EQ(endpointInfo.ipAddress, "10.10.10.1"); in TEST_F()
119 EXPECT_EQ(endpointInfo.portNumber, 1234); in TEST_F()
120 EXPECT_EQ(endpointInfo.hardwareId.brandName, "MyBrand"); in TEST_F()
121 EXPECT_EQ(endpointInfo.hardwareId.deviceName, "MyDevice"); in TEST_F()
122 EXPECT_EQ(endpointInfo.hardwareId.productName, "MyProduct"); in TEST_F()
123 EXPECT_EQ(endpointInfo.hardwareId.manufacturerName, "MyCompany"); in TEST_F()
124 EXPECT_EQ(endpointInfo.hardwareId.modelName, "MyModel"); in TEST_F()
[all …]
/hardware/interfaces/automotive/ivn_android_device/impl/default/src/
DIvnAndroidDeviceService.cpp102 EndpointInfo endpointInfo = {}; in init() local
103 endpointInfo.connectProtocol = ConnectProtocol::TCP_IP; in init()
104 endpointInfo.ipAddress = ep["IpAddress"].asString(); in init()
105 endpointInfo.portNumber = ep["PortNumber"].asInt(); in init()
125 endpointInfo.hardwareId = hardwareId; in init()
126 deviceInfo.endpointInfo = endpointInfo; in init()
177 ScopedAStatus IvnAndroidDeviceService::getMyEndpointInfo(EndpointInfo* endpointInfo) { in getMyEndpointInfo() argument
178 *endpointInfo = mDeviceInfoById[mMyDeviceId].endpointInfo; in getMyEndpointInfo()
183 EndpointInfo* endpointInfo) { in getEndpointInfoForDevice() argument
188 *endpointInfo = mDeviceInfoById[androidDeviceId].endpointInfo; in getEndpointInfoForDevice()
/hardware/interfaces/automotive/ivn_android_device/vts/src/
DVtsHalIvnTargetTest.cpp130 EndpointInfo endpointInfo; in TEST_P() local
133 ScopedAStatus status = getHal()->getMyEndpointInfo(&endpointInfo); in TEST_P()
135 foundEndpointInfo.push_back(endpointInfo); in TEST_P()
138 EXPECT_EQ(endpointInfo.connectProtocol, ConnectProtocol::TCP_IP); in TEST_P()
146 status = getHal()->getEndpointInfoForDevice(deviceId, &endpointInfo); in TEST_P()
149 EXPECT_EQ(endpointInfo.connectProtocol, ConnectProtocol::TCP_IP); in TEST_P()
152 ASSERT_NE(foundInfo, endpointInfo) in TEST_P()
153 << "Found duplicate endpoint info" << endpointInfo.toString(); in TEST_P()
156 foundEndpointInfo.push_back(endpointInfo); in TEST_P()
/hardware/interfaces/automotive/ivn_android_device/impl/default/include/
DIvnAndroidDeviceService.h35 aidl::android::hardware::automotive::ivn::EndpointInfo endpointInfo; member
58 aidl::android::hardware::automotive::ivn::EndpointInfo* endpointInfo) override;
62 aidl::android::hardware::automotive::ivn::EndpointInfo* endpointInfo) override;