Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DNetworkCycleChartDataLoaderTest.java43 private NetworkPolicyManager mNetworkPolicyManager; field in NetworkCycleChartDataLoaderTest
57 .thenReturn(mNetworkPolicyManager); in setUp()
58 when(mNetworkPolicyManager.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in setUp()
DNetworkCycleDataForUidLoaderTest.java50 private NetworkPolicyManager mNetworkPolicyManager; field in NetworkCycleDataForUidLoaderTest
63 .thenReturn(mNetworkPolicyManager); in setUp()
64 when(mNetworkPolicyManager.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in setUp()
DNetworkCycleDataLoaderTest.java59 private NetworkPolicyManager mNetworkPolicyManager; field in NetworkCycleDataLoaderTest
77 .thenReturn(mNetworkPolicyManager); in setUp()
79 when(mNetworkPolicyManager.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java72 final NetworkPolicyManager mNetworkPolicyManager; field in DcController
110 mNetworkPolicyManager = (NetworkPolicyManager) phone.getContext() in DcController()
203 if (mNetworkPolicyManager != null) { in enter()
204 mNetworkPolicyManager.registerListener(mListener); in enter()
219 if (mNetworkPolicyManager != null) { in exit()
220 mNetworkPolicyManager.unregisterListener(mListener); in exit()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java282 private INetworkPolicyManager mNetworkPolicyManager; field in DeviceIdleController
1337 mNetworkPolicyManager.setDeviceIdleMode(true); in handleMessage()
1358 mNetworkPolicyManager.setDeviceIdleMode(false); in handleMessage()
1387 mNetworkPolicyManager.setDeviceIdleMode(false); in handleMessage()
1893 mNetworkPolicyManager = INetworkPolicyManager.Stub.asInterface( in onBootPhase()