Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DProvisionParserTests.java116 Policy policy = parser.getPolicy(); in testWapProvisionParser1() local
129 Policy policy = parser.getPolicy(); in testWapProvisionParser2() local
138 Policy policy = parser.getPolicy(); in testWapProvisionParser3() local
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DProvisionParserTests.java116 Policy policy = parser.getPolicy(); in testWapProvisionParser1() local
129 Policy policy = parser.getPolicy(); in testWapProvisionParser2() local
138 Policy policy = parser.getPolicy(); in testWapProvisionParser3() local
/packages/apps/Settings/src/com/android/settings/net/
DNetworkPolicyEditor.java106 final NetworkPolicy policy = getPolicy(template); in hasLimitedPolicy() local
111 NetworkPolicy policy = getPolicy(template); in getOrCreatePolicy() local
156 final NetworkPolicy policy = getOrCreatePolicy(template); in setPolicyCycleDay() local
169 final NetworkPolicy policy = getOrCreatePolicy(template); in setPolicyWarningBytes() local
181 final NetworkPolicy policy = getOrCreatePolicy(template); in setPolicyLimitBytes() local
189 final NetworkPolicy policy = getPolicy(template); in getPolicyMetered() local
200 NetworkPolicy policy = getPolicy(template); in setPolicyMetered() local
DDataUsageMeteredSettings.java122 final NetworkPolicy policy = mPolicyEditor.getPolicy(template); in MeteredPreference() local
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DProvisionParser.java91 private void setPolicy(Policy policy) { in setPolicy()
112 Policy policy = new Policy(); in parseProvisionDocWbxml() local
398 Policy policy = new Policy(); in parseProvisionDocXml() local
424 private boolean parseSecurityPolicy(XmlPullParser parser, Policy policy) in parseSecurityPolicy()
447 private void parseCharacteristic(XmlPullParser parser, Policy policy) in parseCharacteristic()
489 private void parseRegistry(XmlPullParser parser, Policy policy) in parseRegistry()
504 private void parseWapProvisioningDoc(XmlPullParser parser, Policy policy) in parseWapProvisioningDoc()
DEmailSyncAdapter.java325 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in getAutomaticLookback() local
/packages/apps/Email/src/com/android/email/
DSecurityPolicy.java135 Policy policy = new Policy(); in computeAggregatePolicy() local
243 public boolean isSupported(Policy policy) { in isSupported()
270 public Policy clearUnsupportedPolicies(Policy policy) { in clearUnsupportedPolicies()
294 public boolean isActive(Policy policy) { in isActive()
360 public int getInactiveReasons(Policy policy) { in getInactiveReasons()
528 public static void setAccountPolicy(Context context, Account account, Policy policy, in setAccountPolicy()
579 public void setAccountPolicy(long accountId, Policy policy, String securityKey) { in setAccountPolicy()
624 Policy policy = Policy.restorePolicyWithId(mContext, account.mPolicyKey); in policiesRequired() local
DVendorPolicyLoader.java146 /* package */ Bundle getPolicy(String policy, Bundle args) { in getPolicy()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DPolicyServiceProxy.java70 public void setAccountPolicy(final long accountId, final Policy policy, in setAccountPolicy()
123 public static void setAccountPolicy(Context context, long accountId, Policy policy, in setAccountPolicy()
DIPolicyService.aidl23 void setAccountPolicy(long accountId, in Policy policy, String securityKey); in setAccountPolicy()
DLegacyPolicySet.java69 Policy policy = new Policy(); in flagsToPolicy() local
/packages/apps/Email/tests/src/com/android/email/
DMockVendorPolicy.java27 public static Bundle getPolicy(String policy, Bundle args) { in getPolicy()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOptions.java396 Policy policy = SetupData.getAccount().mPolicy; in enableEASSyncWindowSpinner() local
DMailboxSettings.java198 Policy policy = Policy.restorePolicyWithId(context, account.mPolicyKey); in setupLookbackPreferenceOptions() local
DSetupData.java138 static public void setPolicy(Policy policy) { in setPolicy()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasAccountService.java369 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in sync() local
DEasSyncService.java1378 Policy policy = pp.getPolicy(); in tryProvision() local
1825 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in setupService() local
DExchangeService.java2161 Policy policy = account.mPolicy; in canAutoSync() local
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java178 Policy policy) { in setAttachmentFlagsForNewPolicy()
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
DProviderPerfActivity.java566 StrictMode.ThreadPolicy policy = ((i & 1) == 1) ? policyA : policyB; in strictModeLoop() local
/packages/apps/Email/src/com/android/email/provider/
DDBHelper.java949 Policy policy = LegacyPolicySet.flagsToPolicy(securityFlags); in convertPolicyFlagsToPolicyTable() local
DEmailProvider.java387 matcher.addURI(EmailContent.AUTHORITY, "policy", POLICY); in matcher.addURI()
388 matcher.addURI(EmailContent.AUTHORITY, "policy/#", POLICY_ID); in matcher.addURI()
/packages/apps/Settings/src/com/android/settings/widget/
DChartDataUsageView.java183 public void bindNetworkPolicy(NetworkPolicy policy) { in bindNetworkPolicy()
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java856 private boolean isNetworkPolicyModifiable(NetworkPolicy policy) { in isNetworkPolicyModifiable()
919 final NetworkPolicy policy = mPolicyEditor.getPolicy(mTemplate); in updatePolicy() local
944 private void updateCycleList(NetworkPolicy policy) { in updateCycleList()