/packages/apps/Email/src/com/android/email/service/ |
H A D | IEmailService.aidl | 23 int validate(in String protocol, in String host, in String userName, in String password,
|
H A D | EmailServiceProxy.java | 195 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 D | AccountSetupNamesTests.java | 121 * 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 D | ExchangeUtils.java | 130 public int validate(String protocol, String host, String userName, String password, argument
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactsUtils.java | 209 * 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 D | AccountSetupExchange.java | 285 String protocol = hostAuth.mProtocol; 286 if (protocol == null || !protocol.startsWith("eas")) {
|
/packages/apps/IM/src/com/android/im/service/ |
H A D | RemoteImService.java | 253 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 D | EntityModifier.java | 529 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 D | BaseContactsProvider2Test.java | 335 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 D | LegacyContactsProviderTest.java | 787 String protocol = ContactMethods 790 values.put(Presence.IM_PROTOCOL, protocol);
|
H A D | ContactsProvider2Test.java | 1346 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 D | ProviderTestUtils.java | 73 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 D | LegacyApiSupport.java | 1448 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 D | ContactsProvider2.java | 930 // 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 D | QuickContactWindow.java | 800 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 D | BrowserActivity.java | 1945 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 D | SyncManager.java | 290 public int validate(String protocol, String host, String userName, String password,
|