Home
last modified time | relevance | path

Searched refs:actualBlockedPorts (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/service/libconnectivity/src/
Dconnectivity_native.cpp80 std::vector<int32_t> actualBlockedPorts; in AConnectivityNative_getPortsBlockedForBind() local
81 int err = getErrno(c->getPortsBlockedForBind(&actualBlockedPorts)); in AConnectivityNative_getPortsBlockedForBind()
86 for (int i = 0; i < *count && i < actualBlockedPorts.size(); i++) { in AConnectivityNative_getPortsBlockedForBind()
87 ports[i] = actualBlockedPorts[i]; in AConnectivityNative_getPortsBlockedForBind()
89 *count = actualBlockedPorts.size(); in AConnectivityNative_getPortsBlockedForBind()
/packages/modules/Connectivity/tests/native/connectivity_native_test/
Dconnectivity_native_test.cpp221 in_port_t actualBlockedPorts[actualBlockedPortsCount]; in TEST_F() local
222 err = getPortsBlockedForBind((in_port_t*) actualBlockedPorts, &actualBlockedPortsCount); in TEST_F()
226 EXPECT_EQ(blockedPorts[i], actualBlockedPorts[i]); in TEST_F()
232 err = getPortsBlockedForBind(actualBlockedPorts, &actualBlockedPortsCount); in TEST_F()
251 in_port_t actualBlockedPorts[actualBlockedPortsCount]; in TEST_F() local
252 err = getPortsBlockedForBind((in_port_t*) actualBlockedPorts, &actualBlockedPortsCount); in TEST_F()
258 err = getPortsBlockedForBind((in_port_t*) actualBlockedPorts, &actualBlockedPortsCount); in TEST_F()