Searched refs:mNetdService (Results 1 – 4 of 4) sorted by relevance
160 private INetd mNetdService; field in NetworkManagementService514 mNetdService = mServices.getNetd(); in connectNativeNetdService()516 mNetdService.registerUnsolicitedEventListener(mNetdUnsolicitedEventListener); in connectNativeNetdService()747 return mNetdService.interfaceGetList(); in listInterfaces()798 result = mNetdService.interfaceGetCfg(iface); in getInterfaceConfig()822 mNetdService.interfaceSetCfg(cfgParcel); in setInterfaceConfig()848 mNetdService.interfaceSetIPv6PrivacyExtensions(iface, enable); in setInterfaceIpv6PrivacyExtensions()860 mNetdService.interfaceClearAddrs(iface); in clearInterfaceAddresses()870 mNetdService.interfaceSetEnableIPv6(iface, true); in enableIpv6()879 mNetdService.setIPv6AddrGenMode(iface, mode); in setIPv6AddrGenMode()[all …]
116 @Mock private INetd mNetdService; field in PermissionMonitorTest134 mPermissionMonitor = spy(new PermissionMonitor(mContext, mNetdService)); in setUp()417 final NetdMonitor mNetdMonitor = new NetdMonitor(mNetdService); in testUserAndPackageAddRemove()495 verify(mNetdService).firewallAddUidInterfaceRules(eq("tun0"), in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()498 reset(mNetdService); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()502 verify(mNetdService).firewallRemoveUidInterfaceRules(aryEq(new int[] {MOCK_UID1})); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()504 verify(mNetdService).firewallAddUidInterfaceRules(eq("tun0"), in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()507 reset(mNetdService); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()512 verify(mNetdService).firewallRemoveUidInterfaceRules(aryEq(new int[] {MOCK_UID1})); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()514 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()
71 private INetd mNetdService; field in NetworkStatsFactory288 if (mNetdService == null) { in requestSwapActiveStatsMapLocked()289 mNetdService = NetdService.getInstance(); in requestSwapActiveStatsMapLocked()291 mNetdService.trafficSwapActiveStatsMap(); in requestSwapActiveStatsMapLocked()