/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_ContactsTest.java | 66 TestContact contact = rawContact.getContact().load(); in testMarkAsContacted() local 68 assertEquals(0, contact.getLong(Contacts.LAST_TIME_CONTACTED)); in testMarkAsContacted() 69 assertEquals(0, contact.getLong(Contacts.TIMES_CONTACTED)); in testMarkAsContacted() 78 Contacts.markAsContacted(mResolver, contact.getId()); in testMarkAsContacted() 79 contact.load(); in testMarkAsContacted() 82 assertEquals(0, contact.getLong(Contacts.LAST_TIME_CONTACTED)); in testMarkAsContacted() 83 assertEquals("#" + i, 0, contact.getLong(Contacts.TIMES_CONTACTED)); in testMarkAsContacted() 101 TestContact contact = rawContact.getContact().load(); in testLookupUri() local 103 Uri contactUri = contact.getUri(); in testLookupUri() 104 long contactId = contact.getId(); in testLookupUri() [all …]
|
D | ContactsContract_PhotoTest.java | 64 TestContact contact = rawContact.getContact().load(); in testAddPhoto() local 66 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddPhoto() 67 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddPhoto() 68 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddPhoto() 78 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddPhoto() 79 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddPhoto() 80 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddPhoto() 85 TestContact contact = rawContact.getContact().load(); in testAddEmptyPhoto() local 87 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddEmptyPhoto() 88 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddEmptyPhoto() [all …]
|
D | ContactsContract_DataUsageTest.java | 158 final TestContact contact = rawContact.getContact().load(); in testUsageUpdate() local 164 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate() 172 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate() 182 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate() 189 contact.load(); in testUsageUpdate() 192 assertEquals(0, contact.getLong(Contacts.LAST_TIME_CONTACTED)); in testUsageUpdate() 193 assertEquals(0, contact.getLong(Contacts.TIMES_CONTACTED)); in testUsageUpdate()
|
D | ContactsContract_StructuredPhoneticName.java | 86 TestContact contact = rawContact1.getContact().load(); in testPhoneticStructuredName() local 87 contact.assertColumn(Contacts.DISPLAY_NAME_SOURCE, in testPhoneticStructuredName() 129 TestContact contact = rawContact2.getContact().load(); in testPhoneticStructuredName_phoneticPriority1() local 130 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority1() 166 TestContact contact = rawContact2.getContact().load(); in testPhoneticStructuredName_phoneticPriority2() local 167 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority2()
|
D | ContactsContract_IsSuperPrimaryName.java | 107 TestContact contact = rawContact2.getContact().load(); in testInner_displayNameFromIsSuperPrimary() local 108 contact.assertColumn(Contacts.DISPLAY_NAME, expectedDisplayName); in testInner_displayNameFromIsSuperPrimary() 127 contact.load(); in testInner_displayNameFromIsSuperPrimary() 128 contact.assertColumn(Contacts.DISPLAY_NAME, otherDisplayName); in testInner_displayNameFromIsSuperPrimary()
|
D | ContactsContract_ContactCountsTest.java | 125 TestContact contact = rawContact.getContact().load(); in setupTestData() local 177 return new long[] {contact.getId(), contact2.getId(), contact3.getId(), contact4.getId(), in setupTestData()
|
D | ContactsContract_PhoneLookup.java | 86 TestContact contact = rawContact.getContact().load(); in setupTestData() local 118 new Id(contact.getId(), dataId), in setupTestData()
|
D | ContactsContract_FrequentsStrequentsTest.java | 436 TestContact contact = rawContact.getContact().load(); in setupTestData() local 466 return new long[] {contact.getId(), contact2.getId(), contact3.getId()}; in setupTestData()
|
D | ContactsContract_SearchSnippetsTest.java | 341 TestContact contact = rawContact.getContact().load(); in setupTestData() local 380 contact.getId(), contact2.getId(), contact3.getId() in setupTestData()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | EabControllerTest.java | 395 private RcsContactUceCapability requestAvailability(Uri contact) throws Exception { in requestAvailability() argument 403 adapter -> adapter.requestAvailability(contact, Runnable::run, in requestAvailability() 418 private RcsContactUceCapability requestCapabilities(List<Uri> contact) throws Exception { in requestCapabilities() argument 426 adapter -> adapter.requestCapabilities(contact, Runnable::run, mCallback), in requestCapabilities() 471 private String getPidfXmlData(Uri contact, in getPidfXmlData() argument 483 + "<presence entity=\"" + contact + "\"" in getPidfXmlData() 520 + "<contact>" + contact + "</contact>" in getPidfXmlData()
|
D | RcsUceAdapterTest.java | 1500 Uri contact = capability.getContactUri(); in testIndividualRequestCapabilities() local 1501 if (contact1.equals(contact)) { in testIndividualRequestCapabilities() 1504 } else if (contact2.equals(contact)) { in testIndividualRequestCapabilities() 1507 } else if (contact3.equals(contact)) { in testIndividualRequestCapabilities() 1553 Uri contact = capability.getContactUri(); in testIndividualRequestCapabilities() local 1554 if (contact1.equals(contact)) { in testIndividualRequestCapabilities() 1557 } else if (contact2.equals(contact)) { in testIndividualRequestCapabilities() 1560 } else if (contact3.equals(contact)) { in testIndividualRequestCapabilities() 1619 capabilityExchangeImpl.setOptionsOperation((contact, myCapabilities, optionsCallback) -> { in testRequestCapabilitiesWithOptionsMechanism() argument 1678 capabilityExchangeImpl.setOptionsOperation((contact, myCapabilities, optionsCallback) -> { in testRequestCapabilitiesWithOptionsMechanism() argument [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ContactsTest.java | 173 for (ContactInfo contact : getContactInfoFromListContacts(false)) { in testRemoveAllUserContacts() 175 Contacts.CONTENT_URI.buildUpon().appendPath(contact.contactId).build(), null); in testRemoveAllUserContacts()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 35848 …field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact-method… 36486 field public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/contact"; 36491 field public static final String CONTENT_TYPE = "vnd.android.cursor.dir/contact";
|