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

  /packages/apps/Email/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
89 HostAuth hostAuth = account.getOrCreateHostAuthRecv(context);
91 if (hostAuth == null) return null;
92 Store store = sStores.get(hostAuth);
95 Class<? extends Store> klass = sStoreClasses.get(hostAuth.mProtocol);
109 // Don't cache this unless it's we've got a saved HostAuth
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTestUtils.java 25 import com.android.emailcommon.provider.HostAuth;
85 * Create a hostauth record for test purposes
87 public static HostAuth setupHostAuth(String name, long accountId, boolean saveIt,
93 * Create a hostauth record for test purposes
95 public static HostAuth setupHostAuth(String protocol, String name, boolean saveIt,
97 HostAuth hostAuth = new HostAuth();
99 hostAuth.mProtocol = protocol;
100 hostAuth.mAddress = "address-" + name
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupIncoming.java 33 import com.android.emailcommon.provider.HostAuth;
68 final HostAuth hostAuth = mSetupData.getAccount().mHostAuthRecv;
69 mServiceInfo = EmailServiceUtils.getServiceInfo(this, hostAuth.mProtocol);
95 if (prefix != null && !hostAuth.mAddress.startsWith(prefix + ".")) {
96 hostAuth.mAddress = prefix + "." + hostAuth.mAddress;
AccountSecurity.java 36 import com.android.emailcommon.provider.HostAuth;
197 HostAuth hostAuth = HostAuth.restoreHostAuthWithId(this, account.mHostAuthKeyRecv);
198 if (hostAuth == null) {
200 LogUtils.d(TAG, "No HostAuth: repost notification");
214 hostAuth.mAddress));
  /packages/apps/Email/tests/src/com/android/email/service/
EmailBroadcastProcessorServiceTests.java 23 import com.android.emailcommon.provider.HostAuth;
58 * Create a simple HostAuth with protocol
60 private HostAuth setupSimpleHostAuth(String protocol) {
61 HostAuth hostAuth = ProviderTestUtils.setupHostAuth(protocol, "name", false, mContext);
62 hostAuth.mProtocol = protocol;
63 return hostAuth;
MailServiceTests.java 35 import com.android.emailcommon.provider.HostAuth;
182 * Create a simple HostAuth with protocol
184 private HostAuth setupSimpleHostAuth(String protocol) {
185 HostAuth hostAuth = new HostAuth();
186 hostAuth.mProtocol = protocol;
187 return hostAuth;
261 // 2: no receiver hostauth
267 // 3: no sender hostauth
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/service/
EasAutoDiscover.java 10 import com.android.emailcommon.provider.HostAuth;
57 super(context, new Account(), new HostAuth());
60 mHostAuth.mFlags = HostAuth.FLAG_AUTHENTICATE | HostAuth.FLAG_SSL;
97 final HostAuth hostAuth = parseAutodiscover(resp);
98 if (hostAuth != null) {
99 // Fill in the rest of the HostAuth
102 hostAuth.mLogin = mHostAuth.mLogin;
103 hostAuth.mPassword = mHostAuth.mPassword
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
ControllerProviderOpsTests.java 30 import com.android.emailcommon.provider.HostAuth;
478 * Create a simple HostAuth with protocol
480 private HostAuth setupSimpleHostAuth(String protocol) {
481 HostAuth hostAuth = new HostAuth();
482 hostAuth.mProtocol = protocol;
483 return hostAuth;
  /packages/apps/Email/src/com/android/email/service/
EmailServiceUtils.java 54 import com.android.emailcommon.provider.HostAuth;
284 final HostAuth hostAuthRecv =
285 HostAuth.restoreHostAuthWithId(context, account.mHostAuthKeyRecv);
309 // Get the EmailProvider Account/HostAuth
312 final HostAuth hostAuth =
313 HostAuth.restoreHostAuthWithId(context, account.mHostAuthKeyRecv);
314 if (hostAuth == null) {
318 final String newProtocol = protocolMap.get(hostAuth.mProtocol);
336 // Change the HostAuth to reference the new protocol; this has to be done befor
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Account.java 147 public transient HostAuth mHostAuthRecv;
148 public transient HostAuth mHostAuthSend;
438 public HostAuth getOrCreateHostAuthSend(Context context) {
441 mHostAuthSend = HostAuth.restoreHostAuthWithId(context, mHostAuthKeySend);
443 mHostAuthSend = new HostAuth();
449 public HostAuth getOrCreateHostAuthRecv(Context context) {
452 mHostAuthRecv = HostAuth.restoreHostAuthWithId(context, mHostAuthKeyRecv);
454 mHostAuthRecv = new HostAuth();
582 * @return the account's protocol (or null if the Account or HostAuth do not exist)
595 * @return the account's protocol (or null if the HostAuth doesn't not exist
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
EmailProvider.java 87 import com.android.emailcommon.provider.HostAuth;
218 private static final int HOSTAUTH = HOSTAUTH_BASE;
272 array.put(HOSTAUTH_BASE >> BASE_SHIFT, HostAuth.TABLE_NAME);
477 * Restore user Account and HostAuth data from our backup database
688 case HOSTAUTH:
    [all...]

Completed in 157 milliseconds