Home | History | Annotate | Download | only in setup

Lines Matching refs:Account

42 import com.android.emailcommon.provider.Account;
47 * Provides UI for IMAP/POP account settings.
139 new SpinnerOption(Account.DELETE_POLICY_NEVER,
141 new SpinnerOption(Account.DELETE_POLICY_ON_DELETE,
180 // We're editing an existing account; don't allow modification of the user name
288 * Configure the editor for the account type
292 Account account = SetupData.getAccount();
293 if (account == null || account.mHostAuthRecv == null) {
297 mBaseScheme = account.mHostAuthRecv.mProtocol;
312 throw new Error("Unknown account type: " + account);
324 Account account = SetupData.getAccount();
325 HostAuth recvAuth = account.getOrCreateHostAuthRecv(mContext);
346 // Account must either be IMAP or POP3
347 throw new Error("Unknown account type: " + recvAuth.mProtocol);
351 // the policy explicitly. For IMAP accounts, the policy is set when the Account object
353 mLoadedDeletePolicy = account.getDeletePolicy();
412 * Note, we update account here (as well as the account.mHostAuthRecv) because we edit
413 account's delete policy here.
418 Account account = SetupData.getAccount();
419 account.update(mContext, account.toContentValues());
420 account.mHostAuthRecv.update(mContext, account.mHostAuthRecv.toContentValues());
430 Account account = SetupData.getAccount();
431 HostAuth recvAuth = account.getOrCreateHostAuthRecv(mContext);
432 HostAuth sendAuth = account.getOrCreateHostAuthSend(mContext);
447 Account account = SetupData.getAccount();
452 account.setDeletePolicy(
456 HostAuth recvAuth = account.getOrCreateHostAuthRecv(mContext);
478 // Check for a duplicate account (requires async DB work) and if OK,
481 account.mId, serverAddress, mCacheLoginCredential, SetupData.CHECK_INCOMING);
488 // Only verify the delete policy if the control is visible (i.e. is a pop3 account)