Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java63 final long a1id = mDbHelper.getOrCreateAccountIdInTransaction(a1); in testGetOrCreateAccountId()
64 final long a2id = mDbHelper.getOrCreateAccountIdInTransaction(a2); in testGetOrCreateAccountId()
65 final long a3id = mDbHelper.getOrCreateAccountIdInTransaction(a3); in testGetOrCreateAccountId()
66 final long a4id = mDbHelper.getOrCreateAccountIdInTransaction(a4); in testGetOrCreateAccountId()
67 final long a5id = mDbHelper.getOrCreateAccountIdInTransaction(a5); in testGetOrCreateAccountId()
85 assertEquals(a1id, mDbHelper.getOrCreateAccountIdInTransaction(a1)); in testGetOrCreateAccountId()
86 assertEquals(a2id, mDbHelper.getOrCreateAccountIdInTransaction(a2)); in testGetOrCreateAccountId()
87 assertEquals(a3id, mDbHelper.getOrCreateAccountIdInTransaction(a3)); in testGetOrCreateAccountId()
88 assertEquals(a4id, mDbHelper.getOrCreateAccountIdInTransaction(a4)); in testGetOrCreateAccountId()
89 assertEquals(a5id, mDbHelper.getOrCreateAccountIdInTransaction(a5)); in testGetOrCreateAccountId()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java4448 final long accountId = dbHelper.getOrCreateAccountIdInTransaction( in updateGroups()
4573 accountId = dbHelper.getOrCreateAccountIdInTransaction(newAccountWithDataSet); in updateRawContact()
10000 final long id = mDbHelper.get().getOrCreateAccountIdInTransaction(account); in replaceAccountInfoByAccountId()
DContactsDatabaseHelper.java5242 public long getOrCreateAccountIdInTransaction(AccountWithDataSet accountWithDataSet) { in getOrCreateAccountIdInTransaction() method in ContactsDatabaseHelper