Home | History | Annotate | Download | only in email

Lines Matching refs:mAccount

34     private Account mAccount;
50 if (mAccount != null && mPreferences != null) {
51 mAccount.delete(mPreferences);
72 mAccount.refresh(mPreferences);
73 assertEquals(TEST_VALUE, mAccount.getSenderUri());
76 mAccount.save(mPreferences);
107 mAccount.refresh(mPreferences);
108 assertEquals(Account.DELETE_POLICY_NEVER, mAccount.getDeletePolicy());
111 mAccount.save(mPreferences);
118 mAccount.delete(mPreferences);
129 mAccount.refresh(mPreferences);
130 assertEquals(Account.DELETE_POLICY_ON_DELETE, mAccount.getDeletePolicy());
133 mAccount.save(mPreferences);
143 assertEquals(0, mAccount.mBackupFlags);
144 mAccount.save(mPreferences);
145 mAccount.mBackupFlags = -1;
146 mAccount.refresh(mPreferences);
147 assertEquals(0, mAccount.mBackupFlags);
149 mAccount.mBackupFlags = Account.BACKUP_FLAGS_IS_BACKUP;
150 mAccount.save(mPreferences);
151 mAccount.mBackupFlags = -1;
152 mAccount.refresh(mPreferences);
153 assertEquals(Account.BACKUP_FLAGS_IS_BACKUP, mAccount.mBackupFlags);
155 mAccount.mBackupFlags = Account.BACKUP_FLAGS_SYNC_CONTACTS;
156 mAccount.save(mPreferences);
157 mAccount.mBackupFlags = -1;
158 mAccount.refresh(mPreferences);
159 assertEquals(Account.BACKUP_FLAGS_SYNC_CONTACTS, mAccount.mBackupFlags);
161 mAccount.mBackupFlags = Account.BACKUP_FLAGS_IS_DEFAULT;
162 mAccount.save(mPreferences);
163 mAccount.mBackupFlags = -1;
164 mAccount.refresh(mPreferences);
165 assertEquals(Account.BACKUP_FLAGS_IS_DEFAULT, mAccount.mBackupFlags);
172 mAccount = new Account(getContext());
173 mAccount.save(mPreferences);
175 mUuid = mAccount.getUuid();