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

/packages/apps/Email/src/com/android/email/service/
H A DIEmailService.aidl23 int validate(in String protocol, in String host, in String userName, in String password,
H A DEmailServiceProxy.java195 public int validate(final String protocol, final String host, final String userName, argument
202 mReturn = mService.validate(protocol, host, userName, password, port, ssl,
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DAccountSetupNamesTests.java121 * Create an intent with the Account in it, using protocol as the protocol and name as the
124 private Intent getTestIntent(String protocol, String name) { argument
128 hostAuth.mProtocol = protocol;
/packages/apps/Email/src/com/android/email/
H A DExchangeUtils.java130 public int validate(String protocol, String host, String userName, String password, argument
/packages/apps/Contacts/src/com/android/contacts/
H A DContactsUtils.java209 * ProviderNames from the predefined IM protocol id.
212 * @param protocol the protocol ID
213 * @return the provider name the IM app uses for the given protocol, or null if no
214 * provider is defined for the given protocol
217 public static String lookupProviderNameFromId(int protocol) { argument
218 switch (protocol) {
241 * {@link Email} row. Returns null when missing protocol or data.
250 final int protocol = isEmail ? Im.PROTOCOL_GOOGLE_TALK : values.getAsInteger(Im.PROTOCOL);
254 if (protocol !
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupExchange.java285 String protocol = hostAuth.mProtocol;
286 if (protocol == null || !protocol.startsWith("eas")) {
/packages/apps/IM/src/com/android/im/service/
H A DRemoteImService.java253 String protocol = settings.get(ImConfigNames.PROTOCOL_NAME);
254 if(!"IMPS".equals(protocol)) {
255 Log.e(TAG, "Unsupported protocol: " + protocol);
/packages/apps/Contacts/src/com/android/contacts/model/
H A DEntityModifier.java529 final Object protocol = android.provider.Contacts.ContactMethods
531 if (protocol instanceof Integer) {
532 bundle.putInt(Insert.IM_PROTOCOL, (Integer)protocol);
534 bundle.putString(Insert.IM_PROTOCOL, (String)protocol);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java335 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, argument
337 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, 0);
340 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, argument
343 values.put(StatusUpdates.PROTOCOL, protocol);
360 protected Uri insertImHandle(long rawContactId, int protocol, String customProtocol, argument
365 values.put(Im.PROTOCOL, protocol);
1167 int protocol = Im.PROTOCOL_GOOGLE_TALK;
1170 values.put(StatusUpdates.PROTOCOL, protocol);
H A DLegacyContactsProviderTest.java787 String protocol = ContactMethods
790 values.put(Presence.IM_PROTOCOL, protocol);
H A DContactsProvider2Test.java1346 private void assertStatusUpdate(Cursor c, int protocol, String customProtocol, int presence, argument
1349 values.put(StatusUpdates.PROTOCOL, protocol);
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTestUtils.java73 return setupHostAuth("protocol", name, accountId, saveIt, context);
79 public static HostAuth setupHostAuth(String protocol, String name, long accountId, argument
83 hostAuth.mProtocol = protocol + "-" + name;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DLegacyApiSupport.java1448 String protocol = values.getAsString(ContactMethods.DATA);
1449 if (protocol.startsWith("pre:")) {
1450 mValues.put(Im.PROTOCOL, Integer.parseInt(protocol.substring(4)));
1451 } else if (protocol.startsWith("custom:")) {
1453 mValues.put(Im.CUSTOM_PROTOCOL, protocol.substring(7));
H A DContactsProvider2.java930 // We cannot allow a null in the custom protocol field, because SQLite3 does not
3027 final Integer protocol = values.getAsInteger(StatusUpdates.PROTOCOL);
3030 if (protocol != null && protocol == Im.PROTOCOL_CUSTOM) {
3051 if (TextUtils.isEmpty(handle) || protocol == null) {
3056 boolean matchEmail = Im.PROTOCOL_GOOGLE_TALK == protocol;
3075 mSelectionArgs.add(String.valueOf(protocol));
3087 mSelectionArgs.add(String.valueOf(protocol));
3123 // We cannot allow a null in the custom protocol field, because SQLite3 does not
3132 mValues.put(StatusUpdates.PROTOCOL, protocol);
[all...]
/packages/apps/Contacts/src/com/android/contacts/ui/
H A DQuickContactWindow.java800 final int protocol = isEmail ? Im.PROTOCOL_GOOGLE_TALK :
812 if (protocol != Im.PROTOCOL_CUSTOM) {
814 host = ContactsUtils.lookupProviderNameFromId(protocol);
/packages/apps/Browser/src/com/android/browser/
H A DBrowserActivity.java1945 String protocol = urlObj.getProtocol();
1950 if (protocol != null) {
1952 if (protocol.equalsIgnoreCase("https")) {
1953 titleUrl = protocol + "://" + host;
/packages/apps/Email/src/com/android/exchange/
H A DSyncManager.java290 public int validate(String protocol, String host, String userName, String password,

Completed in 124 milliseconds