Home
last modified time | relevance | path

Searched refs:getAccountIdOrNull (Results 1 – 3 of 3) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java69 assertNull(mDbHelper.getAccountIdOrNull(a1)); in testGetOrCreateAccountId()
70 assertNull(mDbHelper.getAccountIdOrNull(a2)); in testGetOrCreateAccountId()
71 assertNull(mDbHelper.getAccountIdOrNull(a3)); in testGetOrCreateAccountId()
72 assertNull(mDbHelper.getAccountIdOrNull(a4)); in testGetOrCreateAccountId()
73 assertNull(mDbHelper.getAccountIdOrNull(a5)); in testGetOrCreateAccountId()
105 assertEquals((Long) a1id, mDbHelper.getAccountIdOrNull(a1)); in testGetOrCreateAccountId()
106 assertEquals((Long) a2id, mDbHelper.getAccountIdOrNull(a2)); in testGetOrCreateAccountId()
107 assertEquals((Long) a3id, mDbHelper.getAccountIdOrNull(a3)); in testGetOrCreateAccountId()
108 assertEquals((Long) a4id, mDbHelper.getAccountIdOrNull(a4)); in testGetOrCreateAccountId()
109 assertEquals((Long) a5id, mDbHelper.getAccountIdOrNull(a5)); in testGetOrCreateAccountId()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java4128 public Long getAccountIdOrNull(AccountWithDataSet accountWithDataSet) { in getAccountIdOrNull() method in ContactsDatabaseHelper
4166 Long id = getAccountIdOrNull(accountWithDataSet); in getOrCreateAccountIdInTransaction()
4212 Long id = getAccountIdOrNull(accountWithDataSet); in createSimAccountIdInTransaction()
4266 Long accountId = getAccountIdOrNull(new AccountWithDataSet(accountName, accountType, null)); in setDefaultAccount()
DContactsProvider2.java5437 final Long accountIdOrNull = dbHelper.getAccountIdOrNull(accountWithDataSet); in updateAccountsInBackground()
8873 final Long accountId = mDbHelper.get().getAccountIdOrNull(accountWithDataSet); in appendLocalDirectoryAndAccountSelectionIfNeeded()
8920 final Long accountId = mDbHelper.get().getAccountIdOrNull(accountWithDataSet); in appendAccountIdFromParameter()
8983 final Long accountId = mDbHelper.get().getAccountIdOrNull(accountWithDataSet); in appendAccountIdToSelection()