Home
last modified time | relevance | path

Searched refs:mNetworkManager (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java229 private @Mock INetworkManagementService mNetworkManager; field in NetworkPolicyManagerServiceTest
374 mNetworkManager, mIpm, mClock, mPolicyDir, true); in callSystemReady()
409 when(mNetworkManager.isBandwidthControlEnabled()).thenReturn(true); in callSystemReady()
410 when(mNetworkManager.setDataSaverModeEnabled(anyBoolean())).thenReturn(true); in callSystemReady()
423 verify(mNetworkManager).registerObserver(networkObserver.capture()); in callSystemReady()
1018 verify(mNetworkManager, atLeastOnce()).setInterfaceQuota(TEST_IFACE,
1065 reset(mTelephonyManager, mNetworkManager, mNotifManager);
1071 verify(mNetworkManager, atLeastOnce()).setInterfaceQuota(TEST_IFACE,
1082 reset(mTelephonyManager, mNetworkManager, mNotifManager);
1088 verify(mNetworkManager, atLeastOnce()).setInterfaceQuota(TEST_IFACE,
[all …]
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java139 INetworkManagementService mNetworkManager; field in IpSecServiceParameterizedTest
165 mNetworkManager = mock(INetworkManagementService.class); in setUp()
168 mIpSecService = new IpSecService(mMockContext, mNetworkManager, mMockIpSecSrvConfig); in setUp()
658 verify(mNetworkManager).setInterfaceUp(createTunnelResp.interfaceName); in testCreateTunnelInterface()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java403 private final INetworkManagementService mNetworkManager; field in NetworkPolicyManagerService
615 mNetworkManager = Objects.requireNonNull(networkManagement, "missing networkManagement"); in NetworkPolicyManagerService()
817 mNetworkManager.registerObserver(mAlertObserver); in initService()
2911 if (!mNetworkManager.setDataSaverModeEnabled(mRestrictBackground)) { in setRestrictBackgroundUL()
4794 mNetworkManager.setInterfaceQuota(iface, quotaBytes); in setInterfaceQuota()
4808 mNetworkManager.removeInterfaceQuota(iface); in removeInterfaceQuota()
4819 mNetworkManager.setUidMeteredNetworkBlacklist(uid, enable); in setMeteredNetworkBlacklist()
4830 mNetworkManager.setUidMeteredNetworkWhitelist(uid, enable); in setMeteredNetworkWhitelist()
4883 mNetworkManager.setFirewallUidRules(chain, uids, rules); in setUidFirewallRulesUL()
4910 mNetworkManager.setFirewallUidRule(chain, uid, rule); in setUidFirewallRule()
[all …]
DNetworkStatsService.java204 private final INetworkManagementService mNetworkManager; field in NetworkStatsService
428 mNetworkManager = Objects.requireNonNull(networkManager, in NetworkStatsService()
548 mNetworkManager.registerObserver(mAlertObserver);
642 mNetworkManager.setGlobalAlert(mGlobalAlertBytes);
1933 return mNetworkManager.getNetworkStatsTethering(how);
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java119 private final INetworkManagementService mNetworkManager; field in IpSecService
1040 mNetworkManager = Objects.requireNonNull(networkManager); in IpSecService()
1320 mNetworkManager.setInterfaceUp(intfName); in createTunnelInterface()