Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java56 assertNull(mDbHelper.getAccountIdOrNull(a1)); in testGetOrCreateAccountId()
57 assertNull(mDbHelper.getAccountIdOrNull(a2)); in testGetOrCreateAccountId()
58 assertNull(mDbHelper.getAccountIdOrNull(a3)); in testGetOrCreateAccountId()
59 assertNull(mDbHelper.getAccountIdOrNull(a4)); in testGetOrCreateAccountId()
60 assertNull(mDbHelper.getAccountIdOrNull(a5)); in testGetOrCreateAccountId()
92 assertEquals((Long) a1id, mDbHelper.getAccountIdOrNull(a1)); in testGetOrCreateAccountId()
93 assertEquals((Long) a2id, mDbHelper.getAccountIdOrNull(a2)); in testGetOrCreateAccountId()
94 assertEquals((Long) a3id, mDbHelper.getAccountIdOrNull(a3)); in testGetOrCreateAccountId()
95 assertEquals((Long) a4id, mDbHelper.getAccountIdOrNull(a4)); in testGetOrCreateAccountId()
96 assertEquals((Long) a5id, mDbHelper.getAccountIdOrNull(a5)); in testGetOrCreateAccountId()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactMetadataProvider.java420 final Long id = mDbHelper.getAccountIdOrNull(account); in replaceAccountInfoByAccountId()
DContactsProvider2.java5245 final Long accountIdOrNull = dbHelper.getAccountIdOrNull(accountWithDataSet); in updateAccountsInBackground()
8415 final Long accountId = mDbHelper.get().getAccountIdOrNull(accountWithDataSet); in appendLocalDirectoryAndAccountSelectionIfNeeded()
8462 final Long accountId = mDbHelper.get().getAccountIdOrNull(accountWithDataSet); in appendAccountIdFromParameter()
8525 final Long accountId = mDbHelper.get().getAccountIdOrNull(accountWithDataSet); in appendAccountIdToSelection()
DContactsDatabaseHelper.java5208 public Long getAccountIdOrNull(AccountWithDataSet accountWithDataSet) { in getAccountIdOrNull() method in ContactsDatabaseHelper
5246 Long id = getAccountIdOrNull(accountWithDataSet); in getOrCreateAccountIdInTransaction()