Searched refs:netHandle (Results 1 – 5 of 5) sorted by relevance
43 net_handle_t netHandle; in TEST_P() local49 netHandle = n; in TEST_P()55 ASSERT_NE(NETWORK_UNSPECIFIED, netHandle); in TEST_P()58 ASSERT_EQ(0, checkNetworkExists(netHandle)); in TEST_P()61 Return<INetd::StatusCode> retStatus = netd->destroyOemNetwork(netHandle); in TEST_P()64 ASSERT_EQ(-ENONET, checkNetworkExists(netHandle)); in TEST_P()
33 int checkNetworkExists(net_handle_t netHandle) { in checkNetworkExists() argument38 int ret = android_setsocknetwork(netHandle, sock); in checkNetworkExists()96 int checkReachability(net_handle_t netHandle, const char* addrStr) { in checkReachability() argument104 if (sock == -1 || android_setsocknetwork(netHandle, sock) == -1) { in checkReachability()
32 int checkNetworkExists(net_handle_t netHandle);36 int checkReachability(net_handle_t netHandle, const char* addrStr);
88 Return<StatusCode> NetdHwService::destroyOemNetwork(uint64_t netHandle) { in destroyOemNetwork() argument89 unsigned netId = netHandleToNetId(netHandle); in destroyOemNetwork()
35 Return<StatusCode> destroyOemNetwork(uint64_t netHandle) override;