Searched refs:getNetworkPolicies (Results 1 – 13 of 13) sorted by relevance
48 NetworkPolicy[] getNetworkPolicies(String callingPackage); in getNetworkPolicies() method
224 public NetworkPolicy[] getNetworkPolicies() { in getNetworkPolicies() method in NetworkPolicyManager226 return mService.getNetworkPolicies(mContext.getOpPackageName()); in getNetworkPolicies()
58 when(mNetworkPolicyManager.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in setUp()
64 when(mNetworkPolicyManager.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in setUp()
79 when(mNetworkPolicyManager.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in setUp()
198 when(mNPM.getNetworkPolicies()).thenReturn(new NetworkPolicy[] { in testGetMultipathPreference()211 when(mNPM.getNetworkPolicies()).thenReturn(new NetworkPolicy[0]); in testGetMultipathPreference()
61 final NetworkPolicy[] policies = mPolicyManager.getNetworkPolicies(); in read()
190 byte[] netPoliciesData = getNetworkPolicies(); in onBackup()862 private byte[] getNetworkPolicies() { in getNetworkPolicies() method in SettingsBackupAgent865 NetworkPolicy[] policies = networkPolicyManager.getNetworkPolicies(); in getNetworkPolicies()
185 final NetworkPolicy[] policies = mPolicyManager.getNetworkPolicies(); in findNetworkPolicy()
295 final NetworkPolicy[] policies = mNPM.getNetworkPolicies(); in getUserPolicyOpportunisticQuotaBytes()
2742 NetworkPolicy[] policies = getNetworkPolicies(mContext.getOpPackageName()); in addNetworkPolicyAL()2748 public NetworkPolicy[] getNetworkPolicies(String callingPackage) { in getNetworkPolicies() method2775 normalizePoliciesNL(getNetworkPolicies(mContext.getOpPackageName())); in normalizePoliciesNL()4948 NetworkPolicy[] policies = getNetworkPolicies(mContext.getOpPackageName()); in factoryReset()
1805 NetworkPolicy[] policies = mService.getNetworkPolicies( in assertNetworkPolicyEquals()
8886 HSPLcom/android/server/net/NetworkPolicyManagerService;->getNetworkPolicies(Ljava/lang/String;)[Lan…