Searched refs:CommonDatabaseUtils (Results 1 – 8 of 8) sorted by relevance
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | DeletedContactUtil.java | 44 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()
|
D | RawContactUtil.java | 47 return CommonDatabaseUtils.singleRecordToArray(cursor); in queryByRawContactId() 66 return CommonDatabaseUtils.NOT_FOUND; in queryContactIdByRawContactId() 73 return contactId != CommonDatabaseUtils.NOT_FOUND; in rawContactExistsById() 79 CommonDatabaseUtils.extrasVarArgsToValues(values, extras); in createRawContact() 89 CommonDatabaseUtils.extrasVarArgsToValues(values, extras); in createRawContactWithAccountDataSet()
|
D | DatabaseAsserts.java | 71 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, contactId); in assertAndCreateContact() 86 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, contactId); in assertAndCreateContactWithName() 104 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, deletedTimestamp); in assertHasDeleteLogGreaterThan()
|
D | CommonDatabaseUtils.java | 34 public class CommonDatabaseUtils { class 35 public static final String TAG = CommonDatabaseUtils.class.getSimpleName();
|
D | ContactUtil.java | 72 return CommonDatabaseUtils.NOT_FOUND; in queryContactLastUpdatedTimestamp()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CallLogProviderTest.java | 50 import com.android.providers.contacts.testutil.CommonDatabaseUtils; 782 cursor.addRow(CommonDatabaseUtils.getArrayFromContentValues(getTestCallLogValues(i), in getTestCallLogCursor()
|
D | ContactsProvider2Test.java | 100 import com.android.providers.contacts.testutil.CommonDatabaseUtils; 8943 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, contactId); in getContactLastUpdatedTimestampByRawContactId() 9023 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, in testQueryDeletedContactsByContactId() 9095 assertEquals(CommonDatabaseUtils.NOT_FOUND, in assertContactCreateDelete() 9142 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsUpdate() 9165 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsUpdate() 9207 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsAfterJoinAndSplit() 9283 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsAfterJoinAndSplit() 9420 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsAfterDemoteAndUndemote() 9470 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsUpgradeTo906_PinnedContactsIncrementedByOne() [all …]
|
D | BaseContactsProvider2Test.java | 67 import com.android.providers.contacts.testutil.CommonDatabaseUtils; 211 CommonDatabaseUtils.extrasVarArgsToValues(values, extras); in updateItem()
|