Searched refs:protocol (Results 1 - 25 of 34) sorted by relevance

12

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DIAccountService.aidl25 void reconcileAccounts(String protocol, String accountManagerType);
H A DAccountServiceProxy.java69 public void reconcileAccounts(final String protocol, final String accountManagerType) { argument
73 mService.reconcileAccounts(protocol, accountManagerType);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForIm.java41 int protocol = builder.getInt(Im.PROTOCOL);
44 Im.getProtocolLabel(mContext.getResources(), protocol, customProtocol).toString());
/packages/apps/Email/src/com/android/email/service/
H A DAccountService.java65 String protocol = Account.getProtocol(mContext, accountId);
66 if ((protocol != null) && forProtocol.equals(protocol)) {
80 public void reconcileAccounts(String protocol, String accountManagerType) {
81 ArrayList<Account> providerList = getAccountList(protocol);
H A DMailService.java672 String protocol = Account.getProtocol(context, accountId);
673 if ((protocol != null) && ("pop3".equals(protocol) || "imap".equals(protocol))) {
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DHostAuth.java107 public static String getSchemeString(String protocol, int flags) { argument
108 return getSchemeString(protocol, flags, null);
115 public static String getSchemeString(String protocol, int flags, String clientAlias) { argument
143 return protocol + security;
241 public void setConnection(String protocol, String address, int port, int flags) { argument
242 setConnection(protocol, address, port, flags, null);
247 * @param protocol the mail protocol to use (e.g. "eas", "imap").
255 public void setConnection(String protocol, String address, argument
257 // Set protocol, securit
[all...]
H A DMailbox.java474 public boolean loadsFromServer(String protocol) { argument
475 if (HostAuth.SCHEME_EAS.equals(protocol)) {
481 } else if (HostAuth.SCHEME_IMAP.equals(protocol)) {
488 } else if (HostAuth.SCHEME_POP3.equals(protocol)) {
H A DAccount.java475 String protocol = getProtocol(context);
476 return "eas".equals(protocol) || "imap".equals(protocol);
581 * Given an account id, return the account's protocol
584 * @return the account's protocol (or null if the Account or HostAuth do not exist)
595 * Return the account's protocol
597 * @return the account's protocol (or null if the HostAuth doesn't not exist)
/packages/apps/Email/tests/src/com/android/email/service/
H A DEmailBroadcastProcessorServiceTests.java58 * Create a simple HostAuth with protocol
60 private HostAuth setupSimpleHostAuth(String protocol) { argument
61 HostAuth hostAuth = ProviderTestUtils.setupHostAuth(protocol, "name", false, mContext);
62 hostAuth.mProtocol = protocol;
H A DMailServiceTests.java226 * Create a simple HostAuth with protocol
228 private HostAuth setupSimpleHostAuth(String protocol) { argument
230 hostAuth.mProtocol = protocol;
/packages/apps/Email/src/com/android/email/activity/
H A DMailboxMoveToAdapter.java150 final String protocol = Account.getProtocol(getContext(), mAccountId);
151 if (HostAuth.SCHEME_EAS.equals(protocol)) {
H A DUIControllerBase.java652 String protocol = account.getProtocol(mActivity);
790 // Deal with protocol-specific menu options.
800 String protocol = account.getProtocol(mActivity);
801 isEas = HostAuth.SCHEME_EAS.equals(protocol);
804 && mailbox.loadsFromServer(protocol);
/packages/apps/Settings/src/com/android/settings/
H A DApnEditor.java321 * raw value of the protocol preference (e.g., "IPV4V6"). If unknown,
324 private String protocolDescription(String raw, ListPreference protocol) { argument
325 int protocolIndex = protocol.findIndexOfValue(raw);
365 String protocol = protocolDescription((String) newValue, mProtocol);
366 if (protocol == null) {
369 mProtocol.setSummary(protocol);
372 String protocol = protocolDescription((String) newValue, mRoamingProtocol);
373 if (protocol == null) {
376 mRoamingProtocol.setSummary(protocol);
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DContactsUtils.java200 * ProviderNames from the predefined IM protocol id.
203 * @param protocol the protocol ID
204 * @return the provider name the IM app uses for the given protocol, or null if no
205 * provider is defined for the given protocol
208 public static String lookupProviderNameFromId(int protocol) { argument
209 switch (protocol) {
232 * {@link Email} row. Returns null when missing protocol or data.
241 final int protocol = isEmail ? Im.PROTOCOL_GOOGLE_TALK : values.getAsInteger(Im.PROTOCOL);
245 if (protocol !
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java169 final int protocol = isEmail ? Im.PROTOCOL_GOOGLE_TALK :
182 if (protocol != Im.PROTOCOL_CUSTOM) {
184 host = ContactsUtils.lookupProviderNameFromId(protocol);
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupExchangeFragment.java280 String protocol = hostAuth.mProtocol;
281 if (protocol == null || !protocol.startsWith("eas")) {
282 throw new Error("Unknown account type: " + protocol);
H A DAccountSetupBasics.java621 String protocol = account.mHostAuthRecv.mProtocol;
622 setFlagsForProtocol(account, protocol);
627 * information for the specified account based on the protocol type.
630 static void setFlagsForProtocol(Account account, String protocol) { argument
631 if (HostAuth.SCHEME_IMAP.equals(protocol)) {
638 if (HostAuth.SCHEME_EAS.equals(protocol)) {
H A DAccountSetupOptions.java103 String protocol = account.mHostAuthRecv.mProtocol;
104 boolean eas = HostAuth.SCHEME_EAS.equals(protocol);
154 if (HostAuth.SCHEME_POP3.equals(protocol)) {
H A DAccountSettingsFragment.java420 // TODO Move protocol into Account to avoid retrieving the HostAuth (implicitly)
421 String protocol = Account.getProtocol(mContext, mAccount.mId);
422 if (HostAuth.SCHEME_EAS.equals(protocol)) {
455 if (HostAuth.SCHEME_EAS.equals(protocol)) {
/packages/apps/Contacts/src/com/android/contacts/
H A DContactsUtils.java60 * ProviderNames from the predefined IM protocol id.
63 * @param protocol the protocol ID
64 * @return the provider name the IM app uses for the given protocol, or null if no
65 * provider is defined for the given protocol
68 public static String lookupProviderNameFromId(int protocol) { argument
69 switch (protocol) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java408 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, argument
410 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, chatMode,
414 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, argument
416 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, 0, chatMode,
420 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, argument
423 values.put(StatusUpdates.PROTOCOL, protocol);
483 protected Uri insertImHandle(long rawContactId, int protocol, String customProtocol, argument
488 values.put(Im.PROTOCOL, protocol);
1465 int protocol = Im.PROTOCOL_GOOGLE_TALK;
1468 values.put(StatusUpdates.PROTOCOL, protocol);
[all...]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DTelephonyProvider.java145 "protocol TEXT," +
220 " ADD COLUMN protocol TEXT DEFAULT IP;");
289 String protocol = parser.getAttributeValue(null, "protocol");
290 if (protocol != null) {
291 map.put(Telephony.Carriers.PROTOCOL, protocol);
/packages/apps/Email/src/com/android/email/
H A DController.java659 String protocol = Account.getProtocol(mProviderContext, accountId);
660 if (!HostAuth.SCHEME_EAS.equals(protocol)) {
1123 String protocol = Account.getProtocol(mProviderContext, accountId);
1124 isLegacyController = ("pop3".equals(protocol) || "imap".equals(protocol));
/packages/apps/Email/tests/src/com/android/email/
H A DControllerProviderOpsTests.java483 * Create a simple HostAuth with protocol
485 private HostAuth setupSimpleHostAuth(String protocol) { argument
487 hostAuth.mProtocol = protocol;
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTestUtils.java89 return setupHostAuth("protocol", name, saveIt, context);
95 public static HostAuth setupHostAuth(String protocol, String name, boolean saveIt, argument
99 hostAuth.mProtocol = protocol;

Completed in 339 milliseconds

12