Searched refs:mNetworkManager (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 234 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/ |
D | IpSecServiceParameterizedTest.java | 139 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/ |
D | NetworkPolicyManagerService.java | 404 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 …]
|
D | NetworkStatsService.java | 202 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/ |
D | IpSecService.java | 119 private final INetworkManagementService mNetworkManager; field in IpSecService 1040 mNetworkManager = Objects.requireNonNull(networkManager); in IpSecService() 1320 mNetworkManager.setInterfaceUp(intfName); in createTunnelInterface()
|