Searched refs:mNetdService (Results 1 – 4 of 4) sorted by relevance
162 private INetd mNetdService; field in NetworkManagementService514 mNetdService = mServices.getNetd(); in connectNativeNetdService()516 mNetdService.registerUnsolicitedEventListener(mNetdUnsolicitedEventListener); in connectNativeNetdService()754 return mNetdService.interfaceGetList(); in listInterfaces()807 result = mNetdService.interfaceGetCfg(iface); in getInterfaceConfig()833 mNetdService.interfaceSetCfg(cfgParcel); in setInterfaceConfig()859 mNetdService.interfaceSetIPv6PrivacyExtensions(iface, enable); in setInterfaceIpv6PrivacyExtensions()871 mNetdService.interfaceClearAddrs(iface); in clearInterfaceAddresses()881 mNetdService.interfaceSetEnableIPv6(iface, true); in enableIpv6()891 mNetdService.setIPv6AddrGenMode(iface, mode); in setIPv6AddrGenMode()[all …]
111 @Mock private INetd mNetdService; field in PermissionMonitorTest130 mPermissionMonitor = spy(new PermissionMonitor(mContext, mNetdService, mDeps)); in setUp()376 final NetdMonitor mNetdMonitor = new NetdMonitor(mNetdService); in testUserAndPackageAddRemove()457 verify(mNetdService).firewallAddUidInterfaceRules(eq("tun0"), in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()460 reset(mNetdService); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()465 verify(mNetdService).firewallRemoveUidInterfaceRules(aryEq(new int[] {MOCK_UID1})); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()467 verify(mNetdService).firewallAddUidInterfaceRules(eq("tun0"), in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()470 reset(mNetdService); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()475 verify(mNetdService).firewallRemoveUidInterfaceRules(aryEq(new int[] {MOCK_UID1})); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()477 verify(mNetdService).firewallAddUidInterfaceRules(eq("tun0"), in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()[all …]
63 @Mock private INetd.Stub mNetdService; field in NetworkManagementServiceTest84 return mNetdService;91 doNothing().when(mNetdService) in setUp()
73 private INetd mNetdService; field in NetworkStatsFactory301 if (mNetdService == null) { in requestSwapActiveStatsMapLocked()302 mNetdService = NetdService.getInstance(); in requestSwapActiveStatsMapLocked()304 mNetdService.trafficSwapActiveStatsMap(); in requestSwapActiveStatsMapLocked()