Home
last modified time | relevance | path

Searched refs:TYPE_CUSTOM (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_CommonDataKinds_StructuredPostalTest.java37 assertGetTypeLabel(StructuredPostal.TYPE_CUSTOM); in testGetTypeLabel()
50 int res = StructuredPostal.getTypeLabelResource(StructuredPostal.TYPE_CUSTOM); in assertCustomTypeLabel()
53 StructuredPostal.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
DContactsContract_CommonDataKinds_OrganizationTest.java37 assertGetTypeLabel(Organization.TYPE_CUSTOM); in testGetTypeLabel()
50 int res = Organization.getTypeLabelResource(Im.TYPE_CUSTOM); in assertCustomTypeLabel()
52 assertEquals(label, Organization.getTypeLabel(mResources, Im.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
DContactsContract_CommonDataKinds_SipAddressTest.java37 assertGetTypeLabel(SipAddress.TYPE_CUSTOM); in testGetTypeLabel()
50 int res = SipAddress.getTypeLabelResource(SipAddress.TYPE_CUSTOM); in assertCustomTypeLabel()
52 assertEquals(label, SipAddress.getTypeLabel(mResources, SipAddress.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
DContactsContract_CommonDataKinds_EmailTest.java38 assertGetTypeLabel(Email.TYPE_CUSTOM); in testGetTypeLabel()
51 int res = Email.getTypeLabelResource(Email.TYPE_CUSTOM); in assertCustomTypeLabel()
53 assertEquals(label, Email.getTypeLabel(mResources, Email.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
DContactsContract_CommonDataKinds_RelationTest.java48 assertGetTypeLabel(Relation.TYPE_CUSTOM); in testGetTypeLabel()
61 int res = Relation.getTypeLabelResource(Relation.TYPE_CUSTOM); in assertCustomTypeLabel()
63 assertEquals(label, Relation.getTypeLabel(mResources, Relation.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
DContacts_ContactMethodsTest.java57 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
76 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
80 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
84 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
88 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
DContactsContract_CommonDataKinds_PhoneTest.java54 assertGetTypeLabel(Phone.TYPE_CUSTOM); in testGetTypeLabel()
67 int res = Phone.getTypeLabelResource(Phone.TYPE_CUSTOM); in assertCustomTypeLabel()
69 assertEquals(label, Phone.getTypeLabel(mResources, Phone.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
DContactsContract_CommonDataKinds_ImTest.java51 assertGetTypeLabel(Im.TYPE_CUSTOM); in testGetTypeLabel()
78 int res = Im.getTypeLabelResource(Im.TYPE_CUSTOM); in assertCustomTypeLabel()
80 assertEquals(label, Im.getTypeLabel(mResources, Im.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
DContactsContract_CommonDataKinds_EventTest.java28 assertGetTypeLabel(Event.TYPE_CUSTOM); in testGetTypeLabel()
DContacts_OrganizationsTest.java27 Organizations.TYPE_CUSTOM, label).toString(); in testGetDisplayLabel()
DContacts_PhonesTest.java27 Phones.TYPE_CUSTOM, label).toString(); in testGetDisplayLabel()
73 Phones.TYPE_CUSTOM, label, labelArray).toString(); in testGetDisplayLabelCharSequenceArray()
DContactsTest.java297 value.put(Phones.TYPE, Phones.TYPE_CUSTOM); in testPhonesTable()
306 assertEquals(Phones.TYPE_CUSTOM, cursor.getInt(TYPE_INDEX)); in testPhonesTable()
382 value.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsTable()
392 assertEquals(Organizations.TYPE_CUSTOM, cursor.getInt(TYPE_INDEX)); in testOrganizationsTable()
497 value.put(Calls.CACHED_NUMBER_TYPE, Phones.TYPE_CUSTOM); in testCallsTable()
518 assertEquals(Phones.TYPE_CUSTOM, cursor.getInt(CACHED_NUMBER_TYPE_INDEX)); in testCallsTable()
603 value.put(ContactMethods.TYPE, ContactMethods.TYPE_CUSTOM); in testContactMethodsTable()
615 assertEquals(ContactMethods.TYPE_CUSTOM, cursor.getInt(TYPE_INDEX)); in testContactMethodsTable()
DContactsContract_DataTest.java653 values.put(CommonDataKinds.Phone.TYPE, CommonDataKinds.Phone.TYPE_CUSTOM); in createData()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DFixtures.java29 public static final String TYPE_CUSTOM = "android.accounts.test.custom"; field in Fixtures