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

/packages/apps/Email/tests/src/com/android/email/
H A DMockVendorPolicy.java27 public static Bundle getPolicy(String policy, Bundle args) { method in class:MockVendorPolicy
H A DVendorPolicyLoaderTest.java47 // getPolicy() shouldn't throw any exception.
48 assertEquals(Bundle.EMPTY, pl.getPolicy(null, null));
59 * Actually call {@link VendorPolicyLoader#getPolicy}, using MockVendorPolicy as a vendor
76 Bundle actualResult = pl.getPolicy("policy1", args);
96 // getPolicy() shouldn't throw any exception.
97 assertEquals(Bundle.EMPTY, pl.getPolicy("policy1", null));
99 // MockVendorPolicy.getPolicy() shouldn't get called.
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
H A DProvisionParserTests.java116 Policy policy = parser.getPolicy();
129 Policy policy = parser.getPolicy();
138 Policy policy = parser.getPolicy();
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
H A DProvisionParserTests.java116 Policy policy = parser.getPolicy();
129 Policy policy = parser.getPolicy();
138 Policy policy = parser.getPolicy();
/packages/apps/Settings/src/com/android/settings/net/
H A DNetworkPolicyEditor.java106 final NetworkPolicy policy = getPolicy(template);
111 NetworkPolicy policy = getPolicy(template);
119 public NetworkPolicy getPolicy(NetworkTemplate template) { method in class:NetworkPolicyEditor
152 return getPolicy(template).cycleDay;
165 return getPolicy(template).warningBytes;
177 return getPolicy(template).limitBytes;
189 final NetworkPolicy policy = getPolicy(template);
200 NetworkPolicy policy = getPolicy(template);
290 final NetworkPolicy policy3g = getPolicy(template3g);
291 final NetworkPolicy policy4g = getPolicy(template4
[all...]
H A DDataUsageMeteredSettings.java122 final NetworkPolicy policy = mPolicyEditor.getPolicy(template);
/packages/apps/Email/src/com/android/email/
H A DVendorPolicyLoader.java35 * <code>Bundle getPolicy(String, Bundle)</code>, which serves vendor specific configurations.
43 private static final String GET_POLICY_METHOD = "getPolicy";
141 * Calls the getPolicy method in the policy apk, if one exists. This method never returns null;
143 * getPolicy returns null).
146 /* package */ Bundle getPolicy(String policy, Bundle args) { method in class:VendorPolicyLoader
167 return getPolicy(USE_ALTERNATE_EXCHANGE_STRINGS, null)
192 String result = getPolicy(GET_IMAP_ID, params).getString(GET_IMAP_ID);
218 Bundle out = getPolicy(FIND_PROVIDER, params);
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupOptions.java244 if (SetupData.getPolicy() != null) {
246 account.mPolicy = SetupData.getPolicy();
H A DSetupData.java134 static public Policy getPolicy() { method in class:SetupData
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DProvisionParser.java55 public Policy getPolicy() { method in class:ProvisionParser
/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DEasSyncService.java544 pp.getPolicy());
556 pp.getPolicy());
1378 Policy policy = pp.getPolicy();
/packages/apps/Settings/src/com/android/settings/
H A DDataUsageSummary.java936 final NetworkPolicy policy = mPolicyEditor.getPolicy(mTemplate);
1654 parent.mPolicyEditor.getPolicy(parent.mTemplate).warningBytes * 1.2f);

Completed in 167 milliseconds