Lines Matching refs:NetdBinderTest
162 class NetdBinderTest : public ::testing::Test { class
164 NetdBinderTest() { in NetdBinderTest() function in NetdBinderTest
241 TunInterface NetdBinderTest::sTun;
242 TunInterface NetdBinderTest::sTun2;
243 TunInterface NetdBinderTest::sTun3;
244 TunInterface NetdBinderTest::sTun4;
257 TEST_F(NetdBinderTest, IsAlive) { in TEST_F() argument
315 TEST_F(NetdBinderTest, InitialNetworksExist) { in TEST_F() argument
322 TEST_F(NetdBinderTest, IpSecTunnelInterface) { in TEST_F() argument
364 TEST_F(NetdBinderTest, IpSecSetEncapSocketOwner) { in TEST_F() argument
391 bool NetdBinderTest::allocateIpSecResources(bool expectOk, int32_t* spi) { in allocateIpSecResources()
407 TEST_F(NetdBinderTest, XfrmDualSelectorTunnelModePoliciesV4) { in TEST_F() argument
431 TEST_F(NetdBinderTest, XfrmDualSelectorTunnelModePoliciesV6) { in TEST_F() argument
455 TEST_F(NetdBinderTest, XfrmControllerInit) { in TEST_F() argument
542 TEST_F(NetdBinderTest, BandwidthEnableDataSaver) { in TEST_F() argument
628 TEST_F(NetdBinderTest, NetworkInterfaces) { in TEST_F() argument
651 TEST_F(NetdBinderTest, NetworkUidRules) { in TEST_F() argument
678 TEST_F(NetdBinderTest, NetworkRejectNonSecureVpn) { in TEST_F() argument
704 void NetdBinderTest::fakeRemoteSocketPair(unique_fd* clientSocket, unique_fd* serverSocket, in fakeRemoteSocketPair()
748 TEST_F(NetdBinderTest, SocketDestroy) { in TEST_F() argument
791 TEST_F(NetdBinderTest, SocketDestroyLinkLocal) { in TEST_F() argument
960 TEST_F(NetdBinderTest, InterfaceAddRemoveAddress) { in TEST_F() argument
1030 TEST_F(NetdBinderTest, GetProcSysNet) { in TEST_F() argument
1069 TEST_F(NetdBinderTest, SetProcSysNet) { in TEST_F() argument
1104 TEST_F(NetdBinderTest, GetSetProcSysNet) { in TEST_F() argument
1162 TEST_F(NetdBinderTest, TetherGetStats) { in TEST_F() argument
1269 TEST_F(NetdBinderTest, IdletimerAddRemoveInterface) { in TEST_F() argument
1333 TEST_F(NetdBinderTest, StrictSetUidCleartextPenalty) { in TEST_F() argument
1398 TEST_F(NetdBinderTest, ClatdStartStop) { in TEST_F() argument
1522 TEST_F(NetdBinderTest, TestIpfwdEnableDisableStatusForwarding) { in TEST_F() argument
1575 TEST_F(NetdBinderTest, TestIpfwdAddRemoveInterfaceForward) { in TEST_F() argument
1695 TEST_F(NetdBinderTest, BandwidthSetRemoveInterfaceQuota) { in TEST_F() argument
1716 TEST_F(NetdBinderTest, BandwidthSetRemoveInterfaceAlert) { in TEST_F() argument
1742 TEST_F(NetdBinderTest, BandwidthSetGlobalAlert) { in TEST_F() argument
1899 TEST_F(NetdBinderTest, NetworkAddRemoveRouteUserPermission) { in TEST_F() argument
2086 TEST_F(NetdBinderTest, NetworkPermissionDefault) { in TEST_F() argument
2125 TEST_F(NetdBinderTest, NetworkSetProtectAllowDeny) { in TEST_F() argument
2212 TEST_F(NetdBinderTest, TetherStartStopStatus) { in TEST_F() argument
2242 TEST_F(NetdBinderTest, TetherInterfaceAddRemoveList) { in TEST_F() argument
2263 TEST_F(NetdBinderTest, TetherDnsSetList) { in TEST_F() argument
2316 TEST_F(NetdBinderTest, TetherDeletedInterface) { in TEST_F() argument
2486 TEST_F(NetdBinderTest, FirewallSetFirewallType) { in TEST_F() argument
2513 TEST_F(NetdBinderTest, FirewallSetInterfaceRule) { in TEST_F() argument
2727 TEST_F(NetdBinderTest, InterfaceList) { in TEST_F() argument
2735 TEST_F(NetdBinderTest, InterfaceGetCfg) { in TEST_F() argument
2753 TEST_F(NetdBinderTest, InterfaceSetCfg) { in TEST_F() argument
2782 TEST_F(NetdBinderTest, InterfaceSetIPv6PrivacyExtensions) { in TEST_F() argument
2794 TEST_F(NetdBinderTest, InterfaceClearAddr) { in TEST_F() argument
2818 TEST_F(NetdBinderTest, InterfaceSetEnableIPv6) { in TEST_F() argument
2839 TEST_F(NetdBinderTest, InterfaceSetMtu) { in TEST_F() argument
2941 TEST_F(NetdBinderTest, TetherForwardAddRemove) { in TEST_F() argument
2982 TEST_F(NetdBinderTest, TcpBufferSet) { in TEST_F() argument
3010 TEST_F(NetdBinderTest, TestInternetPermission) { in TEST_F() argument
3021 TEST_F(NetdBinderTest, UnsolEvents) { in TEST_F() argument
3060 TEST_F(NetdBinderTest, NDC) { in TEST_F() argument
3161 TEST_F(NetdBinderTest, OemNetdRelated) { in TEST_F() argument
3214 void NetdBinderTest::createVpnNetworkWithUid(bool secure, uid_t uid, int vpnNetId, in createVpnNetworkWithUid()
3244 void NetdBinderTest::createAndSetDefaultNetwork(int netId, const std::string& interface, in createAndSetDefaultNetwork()
3256 void NetdBinderTest::createPhysicalNetwork(int netId, const std::string& interface, in createPhysicalNetwork()
3266 void NetdBinderTest::createDefaultAndOtherPhysicalNetwork(int defaultNetId, int otherNetId) { in createDefaultAndOtherPhysicalNetwork()
3276 void NetdBinderTest::createVpnAndOtherPhysicalNetwork(int systemDefaultNetId, int otherNetId, in createVpnAndOtherPhysicalNetwork()
3289 void NetdBinderTest::createVpnAndAppDefaultNetworkWithUid( in createVpnAndAppDefaultNetworkWithUid()
3484 TEST_F(NetdBinderTest, SecureVPNFallthrough) { in TEST_F() argument
3491 TEST_F(NetdBinderTest, BypassableVPNFallthrough) { in TEST_F() argument
3521 TEST_F(NetdBinderTest, GetFwmarkForNetwork) { in TEST_F() argument
3578 TEST_F(NetdBinderTest, DISABLED_TetherOffloadRule) { in TEST_F() argument
3712 TEST_F(NetdBinderTest, DISABLED_TetherOffloadForwarding) { in TEST_F() argument
3858 TEST_F(NetdBinderTest, TestServiceDump) { in TEST_F() argument
3937 TEST_F(NetdBinderTest, DeprecatedTetherOffloadRuleAdd) { in TEST_F() argument
3944 TEST_F(NetdBinderTest, DeprecatedTetherOffloadRuleRemove) { in TEST_F() argument
3951 TEST_F(NetdBinderTest, DeprecatedTetherOffloadGetStats) { in TEST_F() argument
3958 TEST_F(NetdBinderTest, DeprecatedTetherOffloadSetInterfaceQuota) { in TEST_F() argument
3964 TEST_F(NetdBinderTest, DeprecatedTetherOffloadGetAndClearStats) { in TEST_F() argument
4100 TEST_F(NetdBinderTest, PerAppDefaultNetwork_OverlappedUidRanges) { in TEST_F() argument
4145 TEST_F(NetdBinderTest, PerAppDefaultNetwork_VerifyIpRules) { in TEST_F() argument
4181 TEST_F(NetdBinderTest, PerAppDefaultNetwork_ImplicitlySelectNetwork) { in TEST_F() argument
4219 TEST_F(NetdBinderTest, PerAppDefaultNetwork_ExplicitlySelectNetwork) { in TEST_F() argument
4260 TEST_F(NetdBinderTest, PerAppDefaultNetwork_UnconnectedSocket) { in TEST_F() argument
4302 TEST_F(NetdBinderTest, PerAppDefaultNetwork_PermissionCheck) { in TEST_F() argument
4320 class VpnParameterizedTest : public NetdBinderTest, public testing::WithParamInterface<bool> {};
4353 : public NetdBinderTest,
4473 TEST_F(NetdBinderTest, NetworkCreate) { in TEST_F() argument
4496 TEST_F(NetdBinderTest, UidRangeSubPriority_ValidateInputs) { in TEST_F() argument
4542 TEST_F(NetdBinderTest, UidRangeSubPriority_VerifyPhysicalNwIpRules) { in TEST_F() argument
4650 TEST_F(NetdBinderTest, UidRangeSubPriority_ImplicitlySelectNetwork) { in TEST_F() argument