Searched refs:getDefaultAccount (Results 1 – 11 of 11) sorted by relevance
60 final String defaultAccount = String.valueOf(mPreferences.getDefaultAccount()); in prepare()77 return mPreferences.getDefaultAccount(); in getSummary()82 if (value == null && mPreferences.getDefaultAccount() == null) { in persistString()85 if (value == null || mPreferences.getDefaultAccount() == null in persistString()86 || !value.equals(mPreferences.getDefaultAccount())) { in persistString()
172 public String getDefaultAccount() { in getDefaultAccount() method in ContactsPreferences317 mDefaultAccount = getDefaultAccount(); in refreshValue()
128 assertNull(mTarget.getDefaultAccount()); in testSaveDefaultAndAllAccounts()136 assertEquals(ACCOUNT_1_A, mTarget.getDefaultAccount()); in testSaveDefaultAndAllAccounts()144 assertEquals(ACCOUNT_1_B, mTarget.getDefaultAccount()); in testSaveDefaultAndAllAccounts()152 assertNull(mTarget.getDefaultAccount()); in testSaveDefaultAndAllAccounts()
145 Assert.assertEquals("name1", mContactsPreferences.getDefaultAccount()); in testRefreshDefaultAccount()148 Assert.assertEquals("name2", mContactsPreferences.getDefaultAccount()); in testRefreshDefaultAccount()
152 public AccountWithDataSet getDefaultAccount() { in getDefaultAccount() method in ContactEditorUtils223 final AccountWithDataSet defaultAccount = getDefaultAccount(); in shouldShowAccountChangedNotification()
637 mPrimaryAccount = ContactEditorUtils.getInstance(getContext()).getDefaultAccount(); in setState()
1102 AccountWithDataSet defaultAccount = mEditorUtils.getDefaultAccount(); in selectAccountAndCreateContact()
150 protected Account getDefaultAccount() { in getDefaultAccount() method in SynchronousContactsProvider2
354 AccountWithDataSet defaultAccount = editorUtils.getDefaultAccount(); in selectAccountAndCreateContact()
548 mAccount = mContactsProvider.getDefaultAccount(); in ensureDefaultAccount()
9497 protected Account getDefaultAccount() { in getDefaultAccount() method in ContactsProvider2