Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl45 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/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()
850 private byte[] getNetworkPolicies() { in getNetworkPolicies() method in SettingsBackupAgent
853 NetworkPolicy[] policies = networkPolicyManager.getNetworkPolicies(); in getNetworkPolicies()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java181 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.java2671 NetworkPolicy[] policies = getNetworkPolicies(mContext.getOpPackageName()); in addNetworkPolicyAL()
2677 public NetworkPolicy[] getNetworkPolicies(String callingPackage) { in getNetworkPolicies() method
2703 normalizePoliciesNL(getNetworkPolicies(mContext.getOpPackageName())); in normalizePoliciesNL()
4762 NetworkPolicy[] policies = getNetworkPolicies(mContext.getOpPackageName()); in factoryReset()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java1699 NetworkPolicy[] policies = mService.getNetworkPolicies( in assertNetworkPolicyEquals()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3481 Landroid/net/NetworkPolicyManager;->getNetworkPolicies()[Landroid/net/NetworkPolicy;
Dboot-image-profile.txt3764 HPLandroid/net/NetworkPolicyManager;->getNetworkPolicies()[Landroid/net/NetworkPolicy;
25916 HSPLandroid/net/INetworkPolicyManager;->getNetworkPolicies(Ljava/lang/String;)[Landroid/net/Network…