Home
last modified time | relevance | path

Searched refs:policyKey (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Exchange/tests/src/com/android/exchange/eas/
DEasProvisionTests.java48 final String policyKey = "Test_Policy_Key"; in testPopulateRequestEntitySerializerPhaseInitialEx2007() local
64 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); in testPopulateRequestEntitySerializerPhaseInitialEx2007()
78 final String policyKey = "Test_Policy_Key"; in testPopulateRequestEntitySerializerPhaseInitialEx2010() local
95 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); in testPopulateRequestEntitySerializerPhaseInitialEx2010()
109 final String policyKey = "Test_Policy_Key"; in testPopulateRequestEntitySerializerPhaseWipe() local
123 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); in testPopulateRequestEntitySerializerPhaseWipe()
137 final String policyKey = "Test_Policy_Key"; in testPopulateRequestEntitySerializerPhaseAcknowledge() local
147 expectedResult.data(Tags.PROVISION_POLICY_KEY, policyKey); in testPopulateRequestEntitySerializerPhaseAcknowledge()
155 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); in testPopulateRequestEntitySerializerPhaseAcknowledge()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java212 long policyKey = account.mPolicyKey; in assertAccountPolicyConsistent() local
214 assertTrue(policyKey > 0); in assertAccountPolicyConsistent()
217 Policy policy = Policy.restorePolicyWithId(mMockContext, policyKey); in assertAccountPolicyConsistent()
230 return policyKey; in assertAccountPolicyConsistent()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java174 final Long policyKey = Utility.getFirstRowLong(c, ContentUris.withAppendedId( in doInBackground() local
177 if (policyKey != null) { in doInBackground()
179 Policy.CONTENT_URI, policyKey), MAX_EMAIL_LOOKBACK_PROJECTION, in doInBackground()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java708 long policyKey = account.mPolicyKey; in isAutomaticSyncDisabledByRoaming() local
710 if (policyKey <= 0) return false; in isAutomaticSyncDisabledByRoaming()
719 Policy policy = Policy.restorePolicyWithId(context, policyKey); in isAutomaticSyncDisabledByRoaming()
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasProvision.java232 final Context context, final String userAgent, final String policyKey, in generateRequestEntitySerializer() argument
257 s.data(Tags.PROVISION_POLICY_KEY, policyKey); in generateRequestEntitySerializer()
/packages/apps/Email/emailsync/src/com/android/emailsync/
DSyncManager.java1708 long policyKey = account.mPolicyKey; in canAutoSync() local
1710 if ((policyKey != 0) && (networkInfo != null) && in canAutoSync()
1715 policy = Policy.restorePolicyWithId(INSTANCE, policyKey); in canAutoSync()
/packages/apps/Exchange/src/com/android/exchange/
DEasSyncService.java1509 String policyKey = acknowledgeProvision(svc, pp.getSecuritySyncKey(),
1511 if (policyKey != null) {
1512 pp.setSecuritySyncKey(policyKey);