Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/net/
DNetworkPolicyEditor.java95 final NetworkPolicy policy = getPolicy(template); in hasLimitedPolicy()
100 NetworkPolicy policy = getPolicy(template); in getOrCreatePolicy()
108 public NetworkPolicy getPolicy(NetworkTemplate template) { in getPolicy() method in NetworkPolicyEditor
118 NetworkPolicy policy = getPolicy(template); in getPolicyMaybeUnquoted()
122 return getPolicy(buildUnquotedNetworkTemplate(template)); in getPolicyMaybeUnquoted()
150 final NetworkPolicy policy = getPolicy(template); in getPolicyCycleDay()
164 final NetworkPolicy policy = getPolicy(template); in getPolicyWarningBytes()
177 final NetworkPolicy policy = getPolicy(template); in getPolicyLimitBytes()
190 NetworkPolicy policy = getPolicy(template); in getPolicyMetered()
201 NetworkPolicy policy = getPolicy(template); in setPolicyMetered()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
DVendorPolicyLoader.java145 public Bundle getPolicy(String policy, Bundle args) { in getPolicy() method in VendorPolicyLoader
166 return getPolicy(USE_ALTERNATE_EXCHANGE_STRINGS, null) in useAlternateExchangeStrings()
191 String result = getPolicy(GET_IMAP_ID, params).getString(GET_IMAP_ID); in getImapIdValues()
296 Bundle out = getPolicy(FIND_PROVIDER, params); in findProviderForDomain()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DProvisionParserTests.java122 Policy policy = parser.getPolicy(); in testWapProvisionParser1()
135 Policy policy = parser.getPolicy(); in testWapProvisionParser2()
144 Policy policy = parser.getPolicy(); in testWapProvisionParser3()
/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java51 assertEquals(Bundle.EMPTY, pl.getPolicy(null, null)); in testPackageNotExist()
79 Bundle actualResult = pl.getPolicy("policy1", args); in testGetPolicy()
100 assertEquals(Bundle.EMPTY, pl.getPolicy("policy1", null)); in testGetPolicyNonSystem()
DMockVendorPolicy.java29 public static Bundle getPolicy(String policy, Bundle args) { in getPolicy() method in MockVendorPolicy
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupFinal.java1152 if (mSetupData.getPolicy() != null) { in initiateAccountCreation()
1154 account.mPolicy = mSetupData.getPolicy(); in initiateAccountCreation()
DSetupDataFragment.java158 public synchronized Policy getPolicy() { in getPolicy() method in SetupDataFragment
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasProvision.java300 mPolicy = pp.getPolicy(); in handleResponse()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DProvisionParser.java61 public Policy getPolicy() { in getPolicy() method in ProvisionParser
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java1062 final NetworkPolicy policy = mPolicyEditor.getPolicy(mTemplate); in updatePolicy()
1934 final NetworkPolicy policy = parent.mPolicyEditor.getPolicy(parent.mTemplate); in show()