Searched refs:vpnNetId (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | AutomaticOnOffKeepaliveTracker.java | 374 final int vpnNetId) { in handleMonitorAutomaticKeepalive() argument 381 handleMonitorTcpConnections(ki, vpnNetId); in handleMonitorAutomaticKeepalive() 387 private void handleMonitorTcpConnections(@NonNull AutomaticOnOffKeepalive ki, int vpnNetId) { in handleMonitorTcpConnections() argument 393 if (!isAnyTcpSocketConnected(vpnNetId)) { in handleMonitorTcpConnections()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 4369 void expectDnsNetIdWithVpn(INetd* netdService, unsigned vpnNetId, unsigned expectedNetId) { in expectDnsNetIdWithVpn() argument 4372 vpnNetId, NativeNetworkType::VIRTUAL, INetd::PERMISSION_NONE, /*secure=*/false); in expectDnsNetIdWithVpn() 4377 EXPECT_TRUE(netdService->networkCreateVpn(vpnNetId, false /* secure */).isOk()); in expectDnsNetIdWithVpn() 4383 EXPECT_TRUE(netdService->networkAddUidRanges(vpnNetId, {makeUidRangeParcel(uid, uid)}).isOk()); in expectDnsNetIdWithVpn() 4385 EXPECT_TRUE(netdService->networkDestroy(vpnNetId).isOk()); in expectDnsNetIdWithVpn() 7718 const unsigned vpnNetId = vpn.netId(); in TEST_F() local 7767 expectDnsQueryCountsFn(*vpnDnsSv, host_name, expectedDnsReply.size(), vpnNetId); in TEST_F()
|