Searched refs:getOnlyOrDefaultAccount (Results 1 – 5 of 5) sorted by relevance
83 assertNull(mTarget.getOnlyOrDefaultAccount(Collections.<AccountWithDataSet>emptyList())); in testSaveDefaultAccount()86 assertEquals(ACCOUNT_1_A, mTarget.getOnlyOrDefaultAccount(Collections. in testSaveDefaultAccount()
106 public AccountWithDataSet getOnlyOrDefaultAccount( in getOnlyOrDefaultAccount() method in ContactEditorUtils
460 .getOnlyOrDefaultAccount(AccountInfo.extractAccounts(mAccounts)); in setState()
1073 AccountWithDataSet defaultAccount = mEditorUtils.getOnlyOrDefaultAccount(accounts); in selectAccountAndCreateContact()
377 final AccountWithDataSet targetAccount = editorUtils.getOnlyOrDefaultAccount(accounts); in selectAccountAndCreateContact()