Home
last modified time | relevance | path

Searched refs:rawContactid (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_RawContactsTest.java129 long rawContactid = RawContactUtil.insertRawContact(mResolver, in testRawContactDelete_setsDeleteFlag() local
132 assertTrue(RawContactUtil.rawContactExistsById(mResolver, rawContactid)); in testRawContactDelete_setsDeleteFlag()
134 RawContactUtil.delete(mResolver, rawContactid, false); in testRawContactDelete_setsDeleteFlag()
140 String[] result = RawContactUtil.queryByRawContactId(mResolver, rawContactid, in testRawContactDelete_setsDeleteFlag()
150 long rawContactid = RawContactUtil.insertRawContact(mResolver, in testRawContactDelete_removesRecord() local
152 assertTrue(RawContactUtil.rawContactExistsById(mResolver, rawContactid)); in testRawContactDelete_removesRecord()
154 RawContactUtil.delete(mResolver, rawContactid, true); in testRawContactDelete_removesRecord()
156 assertFalse(RawContactUtil.rawContactExistsById(mResolver, rawContactid)); in testRawContactDelete_removesRecord()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DRawContactUtil.java92 public static long queryContactIdByRawContactId(ContentResolver resolver, long rawContactid) { in queryContactIdByRawContactId() argument
96 String[] result = RawContactUtil.queryByRawContactId(resolver, rawContactid, in queryContactIdByRawContactId()
104 public static boolean rawContactExistsById(ContentResolver resolver, long rawContactid) { in rawContactExistsById() argument
105 long contactId = queryContactIdByRawContactId(resolver, rawContactid); in rawContactExistsById()