Home
last modified time | relevance | path

Searched refs:getPolicy (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/src/com/android/settings/net/
DNetworkPolicyEditor.java106 final NetworkPolicy policy = getPolicy(template); in hasLimitedPolicy()
111 NetworkPolicy policy = getPolicy(template); in getOrCreatePolicy()
119 public NetworkPolicy getPolicy(NetworkTemplate template) { in getPolicy() method in NetworkPolicyEditor
152 return getPolicy(template).cycleDay; in getPolicyCycleDay()
165 return getPolicy(template).warningBytes; in getPolicyWarningBytes()
177 return getPolicy(template).limitBytes; in getPolicyLimitBytes()
189 final NetworkPolicy policy = getPolicy(template); in getPolicyMetered()
200 NetworkPolicy policy = getPolicy(template); in setPolicyMetered()
290 final NetworkPolicy policy3g = getPolicy(template3g); in setMobilePolicySplitInternal()
291 final NetworkPolicy policy4g = getPolicy(template4g); in setMobilePolicySplitInternal()
[all …]
DDataUsageMeteredSettings.java122 final NetworkPolicy policy = mPolicyEditor.getPolicy(template); in MeteredPreference()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DProvisionParserTests.java116 Policy policy = parser.getPolicy(); in testWapProvisionParser1()
129 Policy policy = parser.getPolicy(); in testWapProvisionParser2()
138 Policy policy = parser.getPolicy(); in testWapProvisionParser3()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DProvisionParserTests.java116 Policy policy = parser.getPolicy(); in testWapProvisionParser1()
129 Policy policy = parser.getPolicy(); in testWapProvisionParser2()
138 Policy policy = parser.getPolicy(); in testWapProvisionParser3()
/packages/apps/Email/src/com/android/email/
DVendorPolicyLoader.java146 /* package */ Bundle getPolicy(String policy, Bundle args) { in getPolicy() method in VendorPolicyLoader
167 return getPolicy(USE_ALTERNATE_EXCHANGE_STRINGS, null) in useAlternateExchangeStrings()
192 String result = getPolicy(GET_IMAP_ID, params).getString(GET_IMAP_ID); in getImapIdValues()
218 Bundle out = getPolicy(FIND_PROVIDER, params); in findProviderForDomain()
/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java48 assertEquals(Bundle.EMPTY, pl.getPolicy(null, null)); in testPackageNotExist()
76 Bundle actualResult = pl.getPolicy("policy1", args); in testGetPolicy()
97 assertEquals(Bundle.EMPTY, pl.getPolicy("policy1", null)); in testGetPolicyNonSystem()
DMockVendorPolicy.java27 public static Bundle getPolicy(String policy, Bundle args) { in getPolicy() method in MockVendorPolicy
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOptions.java244 if (SetupData.getPolicy() != null) { in onDone()
246 account.mPolicy = SetupData.getPolicy(); in onDone()
DSetupData.java134 static public Policy getPolicy() { in getPolicy() method in SetupData
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DProvisionParser.java55 public Policy getPolicy() { in getPolicy() method in ProvisionParser
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasSyncService.java544 pp.getPolicy()); in validateAccount()
556 pp.getPolicy()); in validateAccount()
1378 Policy policy = pp.getPolicy(); in tryProvision()
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java919 final NetworkPolicy policy = mPolicyEditor.getPolicy(mTemplate); in updatePolicy()
1630 parent.mPolicyEditor.getPolicy(parent.mTemplate).warningBytes * 1.2f); in show()