Home
last modified time | relevance | path

Searched refs:getNetworkPolicies (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl48 NetworkPolicy[] getNetworkPolicies(String callingPackage); in getNetworkPolicies() method
DNetworkPolicyManager.java224 public NetworkPolicy[] getNetworkPolicies() { in getNetworkPolicies() method in NetworkPolicyManager
226 return mService.getNetworkPolicies(mContext.getOpPackageName()); in getNetworkPolicies()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DNetworkCycleChartDataLoaderTest.java58 when(mNetworkPolicyManager.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in setUp()
DNetworkCycleDataForUidLoaderTest.java64 when(mNetworkPolicyManager.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in setUp()
DNetworkCycleDataLoaderTest.java79 when(mNetworkPolicyManager.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in setUp()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java198 when(mNPM.getNetworkPolicies()).thenReturn(new NetworkPolicy[] { in testGetMultipathPreference()
211 when(mNPM.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in testGetMultipathPreference()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java61 final NetworkPolicy[] policies = mPolicyManager.getNetworkPolicies(); in read()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java190 byte[] netPoliciesData = getNetworkPolicies(); in onBackup()
862 private byte[] getNetworkPolicies() { in getNetworkPolicies() method in SettingsBackupAgent
865 NetworkPolicy[] policies = networkPolicyManager.getNetworkPolicies(); in getNetworkPolicies()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java185 final NetworkPolicy[] policies = mPolicyManager.getNetworkPolicies(); in findNetworkPolicy()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java295 final NetworkPolicy[] policies = mNPM.getNetworkPolicies(); in getUserPolicyOpportunisticQuotaBytes()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2742 NetworkPolicy[] policies = getNetworkPolicies(mContext.getOpPackageName()); in addNetworkPolicyAL()
2748 public NetworkPolicy[] getNetworkPolicies(String callingPackage) { in getNetworkPolicies() method
2775 normalizePoliciesNL(getNetworkPolicies(mContext.getOpPackageName())); in normalizePoliciesNL()
4948 NetworkPolicy[] policies = getNetworkPolicies(mContext.getOpPackageName()); in factoryReset()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1805 NetworkPolicy[] policies = mService.getNetworkPolicies( in assertNetworkPolicyEquals()
/frameworks/base/services/
Dart-profile8886 HSPLcom/android/server/net/NetworkPolicyManagerService;->getNetworkPolicies(Ljava/lang/String;)[Lan…