HomeSort by relevance Sort by last modified time
    Searched defs:hostAuth (Results 1 - 11 of 11) sorted by null

  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
HostAuthCompat.java 8 import com.android.emailcommon.provider.HostAuth;
12 * This class is explicitly for communicating HostAuth information to different implementations of
13 * IEmailService. We do not want to use the regular HostAuth class because it's used in many ways
31 public HostAuthCompat(HostAuth hostAuth) {
32 mProtocol = hostAuth.mProtocol;
33 mAddress = hostAuth.mAddress;
34 mPort = hostAuth.mPort;
35 mFlags = hostAuth.mFlags;
36 mLogin = hostAuth.mLogin
    [all...]
  /packages/apps/Email/provider_src/com/android/email/mail/internet/
AuthenticationCache.java 12 import com.android.emailcommon.provider.HostAuth;
98 final HostAuth hostAuth = account.getOrCreateHostAuthRecv(context);
99 final Credential credential = hostAuth.getOrCreateCredential(context);
107 final HostAuth hostAuth = account.getOrCreateHostAuthRecv(context);
108 final Credential credential = hostAuth.getCredential(context);
145 final HostAuth hostAuth = account.getOrCreateHostAuthRecv(context);
146 final Credential cred = hostAuth.getOrCreateCredential(context)
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTestUtils.java 25 import com.android.emailcommon.provider.HostAuth;
81 * Create a hostauth record for test purposes
83 public static HostAuth setupHostAuth(String name, long accountId, boolean saveIt,
89 * Create a hostauth record for test purposes
91 public static HostAuth setupHostAuth(String protocol, String name, boolean saveIt,
93 HostAuth hostAuth = new HostAuth();
95 hostAuth.mProtocol = protocol;
96 hostAuth.mAddress = "address-" + name
    [all...]
  /packages/apps/Email/tests/src/com/android/email/service/
EmailBroadcastProcessorServiceTests.java 28 import com.android.emailcommon.provider.HostAuth;
60 * Create a simple HostAuth with protocol
62 private HostAuth setupSimpleHostAuth(String protocol) {
63 HostAuth hostAuth = ProviderTestUtils.setupHostAuth(protocol, "name", false, mContext);
64 hostAuth.mProtocol = protocol;
65 return hostAuth;
  /packages/apps/Email/provider_src/com/android/email/mail/
Store.java 32 import com.android.emailcommon.provider.HostAuth;
51 static final HashMap<HostAuth, Store> sStores = new HashMap<HostAuth, Store>();
75 * HostAuth row. If this ever changes (e.g. such as the user updating the
90 HostAuth hostAuth = account.getOrCreateHostAuthRecv(context);
92 if (hostAuth == null) return null;
94 Store store = sStores.get(hostAuth);
111 final HostAuth hostAuth = account.getOrCreateHostAuthRecv(context)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupCredentialsFragment.java 42 import com.android.emailcommon.provider.HostAuth;
334 public static void populateHostAuthWithResults(final Context context, final HostAuth hostAuth,
341 hostAuth.mPassword = password;
342 hostAuth.removeCredential();
344 Credential cred = hostAuth.getOrCreateCredential(context);
355 hostAuth.mPassword = null;
357 hostAuth.mClientCertAlias = results.getString(EXTRA_CLIENT_CERT);
AccountSetupFinal.java 50 import com.android.emailcommon.provider.HostAuth;
315 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(this);
317 final HostAuth sendAuth = account.getOrCreateHostAuthSend(this);
323 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(this);
326 final HostAuth sendAuth = account.getOrCreateHostAuthSend(this);
    [all...]
  /packages/apps/Email/provider_src/com/android/email/activity/setup/
AccountSecurity.java 42 import com.android.emailcommon.provider.HostAuth;
390 final HostAuth hostAuth = account.mHostAuthRecv;
391 if (hostAuth == null) {
393 LogUtils.d(TAG, "No HostAuth: repost notification");
407 hostAuth.mAddress));
  /packages/apps/Email/provider_src/com/android/email/service/
EmailServiceUtils.java 58 import com.android.emailcommon.provider.HostAuth;
292 final HostAuth hostAuthRecv =
293 HostAuth.restoreHostAuthWithId(context, account.mHostAuthKeyRecv);
305 * @param hostAuth HostAuth that identifies the protocol and password for this account.
311 final boolean contacts, final HostAuth hostAuth,
313 if (hostAuth == null) {
319 options.putString(EasAuthenticatorService.OPTIONS_PASSWORD, hostAuth.mPassword);
323 final EmailServiceInfo info = getServiceInfo(context, hostAuth.mProtocol)
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Account.java 149 public transient HostAuth mHostAuthRecv;
150 public transient HostAuth mHostAuthSend;
446 public HostAuth getOrCreateHostAuthSend(Context context) {
449 mHostAuthSend = HostAuth.restoreHostAuthWithId(context, mHostAuthKeySend);
451 mHostAuthSend = new HostAuth();
457 public HostAuth getOrCreateHostAuthRecv(Context context) {
460 mHostAuthRecv = HostAuth.restoreHostAuthWithId(context, mHostAuthKeyRecv);
462 mHostAuthRecv = new HostAuth();
508 * @return the account's protocol (or null if the Account or HostAuth do not exist)
521 * @return the account's protocol (or null if the HostAuth doesn't not exist
    [all...]
  /packages/apps/Email/provider_src/com/android/email/provider/
EmailProvider.java 95 import com.android.emailcommon.provider.HostAuth;
235 private static final int HOSTAUTH = HOSTAUTH_BASE;
299 array.put(HOSTAUTH_BASE >> BASE_SHIFT, HostAuth.TABLE_NAME);
526 * Restore user Account and HostAuth data from our backup database
    [all...]

Completed in 1469 milliseconds