Home
last modified time | relevance | path

Searched refs:CommonDatabaseUtils (Results 1 – 8 of 8) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DRawContactUtil.java49 return CommonDatabaseUtils.singleRecordToArray(cursor); in queryByRawContactId()
61 return CommonDatabaseUtils.multiRecordToArray(cursor); in queryByContactId()
80 return CommonDatabaseUtils.NOT_FOUND; in queryContactIdByRawContactId()
87 return contactId != CommonDatabaseUtils.NOT_FOUND; in rawContactExistsById()
93 CommonDatabaseUtils.extrasVarArgsToValues(values, extras); in createRawContact()
103 CommonDatabaseUtils.extrasVarArgsToValues(values, extras); in createRawContactWithAccountDataSet()
DDeletedContactUtil.java44 return CommonDatabaseUtils.NOT_FOUND; in queryDeletedTimestampForContactId()
55 CommonDatabaseUtils.closeQuietly(cursor); in getCount()
66 return CommonDatabaseUtils.multiRecordToArray(cursor); in query()
79 return CommonDatabaseUtils.multiRecordToArray(cursor); in querySinceTimestamp()
DDatabaseAsserts.java61 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, contactId); in assertAndCreateContact()
76 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, contactId); in assertAndCreateContactWithName()
94 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, deletedTimestamp); in assertHasDeleteLogGreaterThan()
DCommonDatabaseUtils.java34 public class CommonDatabaseUtils { class
35 public static final String TAG = CommonDatabaseUtils.class.getSimpleName();
DContactUtil.java72 return CommonDatabaseUtils.NOT_FOUND; in queryContactLastUpdatedTimestamp()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java22 import com.android.providers.contacts.testutil.CommonDatabaseUtils;
463 cursor.addRow(CommonDatabaseUtils.getArrayFromContentValues(getTestCallLogValues(i), in getTestCallLogCursor()
DBaseContactsProvider2Test.java62 import com.android.providers.contacts.testutil.CommonDatabaseUtils;
185 CommonDatabaseUtils.extrasVarArgsToValues(values, extras); in updateItem()
DContactsProvider2Test.java92 import com.android.providers.contacts.testutil.CommonDatabaseUtils;
8984 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, contactId); in getContactLastUpdatedTimestampByRawContactId()
9064 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, in testQueryDeletedContactsByContactId()
9126 assertEquals(CommonDatabaseUtils.NOT_FOUND, in assertContactCreateDelete()
9173 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsUpdate()
9196 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsUpdate()
9238 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsAfterJoinAndSplit()
9314 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsAfterJoinAndSplit()
9378 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsAfterDemoteAndUndemote()
9428 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsUpgradeTo906_PinnedContactsIncrementedByOne()
[all …]