Home | History | Annotate | Download | only in provider

Lines Matching refs:Account

28 import com.android.emailcommon.provider.Account;
42 * Checks two account lists to see if there is any reconciling to be done. Can be done on the
46 * @param accountManagerAccounts accounts as reported by the system account manager, for the
51 List<Account> emailProviderAccounts,
52 android.accounts.Account[] accountManagerAccounts) {
60 * Compare our account list (obtained from EmailProvider) with the account list owned by
61 * AccountManager. If there are any orphans (an account in one list without a corresponding
62 * account in the other list), delete the orphan, as these must remain in sync.
64 * Note that the duplication of account information is caused by the Email application's
68 * into the account manager.
72 * @param accountManagerAccounts The account manager accounts to work from
77 List<Account> emailProviderAccounts,
78 android.accounts.Account[] accountManagerAccounts,
92 List<Account> emailProviderAccounts,
93 android.accounts.Account[] accountManagerAccounts,
99 // AccountManager account
100 for (Account providerAccount: emailProviderAccounts) {
103 for (android.accounts.Account accountManagerAccount: accountManagerAccounts) {
110 if ((providerAccount.mFlags & Account.FLAGS_INCOMPLETE) != 0) {
112 "Account reconciler noticed incomplete account; ignoring");
118 // This account has been deleted in the AccountManager!
120 "Account deleted in AccountManager; deleting from provider: " +
128 // account from EmailProvider
129 for (android.accounts.Account accountManagerAccount: accountManagerAccounts) {
132 for (Account cachedEasAccount: emailProviderAccounts) {
141 // This account has been deleted from the EmailProvider database
146 "Account deleted from provider; deleting from AccountManager: " +
148 // Delete the account