Lines Matching refs:account
49 * Final screen of setup process. Collect account nickname and/or username.
93 Account account = SetupData.getAccount();
94 if (account == null) {
95 throw new IllegalStateException("unexpected null account");
97 if (account.mHostAuthRecv == null) {
104 String accountEmail = account.mEmailAddress;
111 // Remember whether we're an EAS account, since it doesn't require the user name field
112 mEasAccount = HostAuth.SCHEME_EAS.equals(account.mHostAuthRecv.mProtocol);
117 if (account != null && account.getSenderName() != null) {
118 mName.setText(account.getSenderName());
129 // Proceed immediately if in account creation mode
196 Account account = SetupData.getAccount();
197 if (account != null) {
198 AccountSetupBasics.actionAccountCreateFinished(this, account.mId);
210 * and other steps to finish the creation of the account.
215 // Update account object from UI
216 Account account = SetupData.getAccount();
219 account.setDisplayName(description);
221 account.setSenderName(mName.getText().toString().trim());
226 new FinalSetupTask(account).executeOnExecutor(AsyncTask.SERIAL_EXECUTOR);
230 * Final account setup work is handled in this AsyncTask:
232 * Trigger account backup
249 public FinalSetupTask(Account account) {
250 mAccount = account;
256 // Update the account in the database