Home
last modified time | relevance | path

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

/system/hardware/interfaces/net/netd/testutils/
DVtsHalNetNetdTestUtils.h22 #define EXPECT_STATUS(expectedStatus, ret) \ argument
25 EXPECT_EQ((expectedStatus), (ret)); \
/system/hardware/interfaces/net/netd/aidl/vts/
DVtsHalNetNetdV1TargetTest.cpp138 void expectAddRoute(int expectedStatus, net_handle_t handle, const char* iface, in expectAddRoute() argument
141 if (expectedStatus == NETD_STATUS_OK) { in expectAddRoute()
144 EXPECT_EQ(expectedStatus, ret.getServiceSpecificError()); in expectAddRoute()
152 void expectRemoveRoute(int expectedStatus, net_handle_t handle, const char* iface, in expectRemoveRoute() argument
155 if (expectedStatus == NETD_STATUS_OK) { in expectRemoveRoute()
158 EXPECT_EQ(expectedStatus, ret.getServiceSpecificError()); in expectRemoveRoute()
/system/hardware/interfaces/net/netd/1.1/vts/functional/
DVtsHalNetNetdV1_1TargetTest.cpp137 void expectAddRoute(INetd::StatusCode expectedStatus, net_handle_t handle, const char* iface, in expectAddRoute() argument
141 EXPECT_STATUS(expectedStatus, retStatus); in expectAddRoute()
148 void expectRemoveRoute(INetd::StatusCode expectedStatus, net_handle_t handle, const char* iface, in expectRemoveRoute() argument
152 EXPECT_STATUS(expectedStatus, retStatus); in expectRemoveRoute()