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.java234 private @Mock INetworkManagementService mNetworkManager; field in NetworkPolicyManagerServiceTest
380 mNetworkManager, mIpm, mClock, mPolicyDir, true); in callSystemReady()
415 when(mNetworkManager.isBandwidthControlEnabled()).thenReturn(true); in callSystemReady()
416 when(mNetworkManager.setDataSaverModeEnabled(anyBoolean())).thenReturn(true); in callSystemReady()
429 verify(mNetworkManager).registerObserver(networkObserver.capture()); in callSystemReady()
1096 verify(mNetworkManager, atLeastOnce()).setInterfaceQuota(TEST_IFACE,
1143 reset(mTelephonyManager, mNetworkManager, mNotifManager);
1149 verify(mNetworkManager, atLeastOnce()).setInterfaceQuota(TEST_IFACE,
1160 reset(mTelephonyManager, mNetworkManager, mNotifManager);
1166 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.java404 private final INetworkManagementService mNetworkManager; field in NetworkPolicyManagerService
623 mNetworkManager = Objects.requireNonNull(networkManagement, "missing networkManagement"); in NetworkPolicyManagerService()
817 mNetworkManager.registerObserver(mAlertObserver); in initService()
2921 if (!mNetworkManager.setDataSaverModeEnabled(mRestrictBackground)) { in setRestrictBackgroundUL()
4840 mNetworkManager.setInterfaceQuota(iface, quotaBytes); in setInterfaceQuota()
4854 mNetworkManager.removeInterfaceQuota(iface); in removeInterfaceQuota()
4865 mNetworkManager.setUidMeteredNetworkBlacklist(uid, enable); in setMeteredNetworkBlacklist()
4876 mNetworkManager.setUidMeteredNetworkWhitelist(uid, enable); in setMeteredNetworkWhitelist()
4929 mNetworkManager.setFirewallUidRules(chain, uids, rules); in setUidFirewallRulesUL()
4956 mNetworkManager.setFirewallUidRule(chain, uid, rule); in setUidFirewallRule()
[all …]
DNetworkStatsService.java202 private final INetworkManagementService mNetworkManager; field in NetworkStatsService
423 mNetworkManager = Objects.requireNonNull(networkManager, in NetworkStatsService()
520 mNetworkManager.registerObserver(mAlertObserver); in systemReady()
609 mNetworkManager.setGlobalAlert(mGlobalAlertBytes); in registerGlobalAlert()
1905 return mNetworkManager.getNetworkStatsTethering(how); in getNetworkStatsTethering()
/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()