Home
last modified time | relevance | path

Searched refs:protocolVersion (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Exchange/src/com/android/exchange/eas/
DEasSyncCalendar.java192 final double protocolVersion, final Account account, final Mailbox mailbox, in setSyncOptions() argument
197 setNonInitialSyncOptions(s, numWindows, protocolVersion); in setSyncOptions()
198 setUpsyncCommands(context, account, protocolVersion, s); in setSyncOptions()
244 final double protocolVersion) throws IOException { in setNonInitialSyncOptions() argument
249 setPimSyncOptions(s, Eas.FILTER_2_WEEKS, protocolVersion, in setNonInitialSyncOptions()
383 final String clientId, final double protocolVersion, final Serializer s) in sendEvent() argument
489 if (protocolVersion < Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in sendEvent()
497 if (protocolVersion >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in sendEvent()
509 if ((protocolVersion >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) || !isChange) { in sendEvent()
601 if (protocolVersion >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in sendEvent()
[all …]
DEasSyncContacts.java167 final double protocolVersion, final Account account, final Mailbox mailbox, in setSyncOptions() argument
178 setPimSyncOptions(s, null, protocolVersion, in setSyncOptions()
181 setUpsyncCommands(s, context.getContentResolver(), account, mailbox, protocolVersion); in setSyncOptions()
642 private void sendNote(final Serializer s, final ContentValues cv, final double protocolVersion) in sendNote() argument
652 if (protocolVersion >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in sendNote()
688 final String displayName, final double protocolVersion) throws IOException { in sendEmail() argument
704 if (protocolVersion < Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in sendEmail()
716 final Account account, final Mailbox mailbox, final double protocolVersion) in setUpsyncCommands() argument
815 sendNote(s, cv, protocolVersion); in setUpsyncCommands()
826 sendEmail(s, cv, emailCount++, displayName, protocolVersion); in setUpsyncCommands()
DEasProvision.java234 final double protocolVersion) throws IOException { in generateRequestEntitySerializer() argument
240 protocolVersion >= Eas.SUPPORTED_PROTOCOL_EX2010_SP1_DOUBLE) { in generateRequestEntitySerializer()
274 final double protocolVersion = getProtocolVersion(); in getRequestEntity() local
276 policyType, mStatus, mPhase, protocolVersion); in getRequestEntity()
DEasSyncCollectionTypeBase.java47 final double protocolVersion, final Account account, final Mailbox mailbox, in setSyncOptions() argument
80 final double protocolVersion, int windowSize) throws IOException { in setPimSyncOptions() argument
90 if (protocolVersion >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in setPimSyncOptions()
DEasSyncMail.java44 final double protocolVersion, final Account account, final Mailbox mailbox, in setSyncOptions() argument
64 if (protocolVersion < Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in setSyncOptions()
83 if (protocolVersion >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in setSyncOptions()
DEasFolderSync.java161 final String protocolVersion = options.getProtocolVersionString(); in validate() local
162 setProtocolVersion(protocolVersion); in validate()
164 protocolVersion); in validate()
DEasOperation.java432 protected final void setProtocolVersion(final String protocolVersion) { in setProtocolVersion() argument
434 if (mConnection.setProtocolVersion(protocolVersion) && accountId != Account.NOT_SAVED) { in setProtocolVersion()
447 cv.put(EmailContent.AccountColumns.PROTOCOL_VERSION, protocolVersion); in setProtocolVersion()
/packages/apps/Exchange/tests/src/com/android/exchange/eas/
DEasProvisionTests.java50 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE; in testPopulateRequestEntitySerializerPhaseInitialEx2007() local
64 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); in testPopulateRequestEntitySerializerPhaseInitialEx2007()
80 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2010_SP1_DOUBLE; in testPopulateRequestEntitySerializerPhaseInitialEx2010() local
95 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); in testPopulateRequestEntitySerializerPhaseInitialEx2010()
111 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE; in testPopulateRequestEntitySerializerPhaseWipe() local
123 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); in testPopulateRequestEntitySerializerPhaseWipe()
139 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE; in testPopulateRequestEntitySerializerPhaseAcknowledge() local
155 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); in testPopulateRequestEntitySerializerPhaseAcknowledge()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java161 int protocolVersion = 1; in matchUri() local
163 if ("2".equals(protocolVersionArg)) protocolVersion = 2; in matchUri()
164 switch (protocolVersion) { in matchUri()
172 int protocolVersion = 1; in getClientId() local
174 if ("2".equals(protocolVersionArg)) protocolVersion = 2; in getClientId()
175 switch (protocolVersion) { in getClientId()
/packages/apps/Exchange/src/com/android/exchange/
DEasSyncService.java406 String protocolVersion = account.mProtocolVersion; in setupServiceForAccount() local
407 if (protocolVersion == null) { in setupServiceForAccount()
412 svc.mProtocolVersion = protocolVersion; in setupServiceForAccount()
413 svc.mProtocolVersionDouble = Eas.getProtocolVersionDouble(protocolVersion); in setupServiceForAccount()
1464 private static String getPolicyType(Double protocolVersion) {
1465 return (protocolVersion >=
1477 Double protocolVersion = svc.mProtocolVersionDouble;
1494 s.data(Tags.PROVISION_POLICY_TYPE, getPolicyType(protocolVersion));
/packages/apps/Exchange/src/com/android/exchange/adapter/
DEmailSyncAdapter.java190 public void sendSyncOptions(Double protocolVersion, Serializer s, boolean initialSync) in sendSyncOptions() argument
221 if (protocolVersion < Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in sendSyncOptions()
234 if (protocolVersion >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in sendSyncOptions()
DAccountSyncAdapter.java43 public void sendSyncOptions(Double protocolVersion, Serializer s, boolean initialSync) in sendSyncOptions() argument
DAbstractSyncAdapter.java72 public abstract void sendSyncOptions(Double protocolVersion, Serializer s, boolean initialSync) in sendSyncOptions() argument