/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_CommonDataKinds_StructuredPostalTest.java | 37 assertGetTypeLabel(StructuredPostal.TYPE_CUSTOM); in testGetTypeLabel() 50 int res = StructuredPostal.getTypeLabelResource(StructuredPostal.TYPE_CUSTOM); in assertCustomTypeLabel() 53 StructuredPostal.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
|
D | ContactsContract_CommonDataKinds_OrganizationTest.java | 37 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()
|
D | ContactsContract_CommonDataKinds_SipAddressTest.java | 37 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()
|
D | ContactsContract_CommonDataKinds_EmailTest.java | 38 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()
|
D | ContactsContract_CommonDataKinds_RelationTest.java | 48 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()
|
D | Contacts_ContactMethodsTest.java | 57 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()
|
D | ContactsContract_CommonDataKinds_PhoneTest.java | 54 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()
|
D | ContactsContract_CommonDataKinds_ImTest.java | 51 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()
|
D | ContactsContract_CommonDataKinds_EventTest.java | 28 assertGetTypeLabel(Event.TYPE_CUSTOM); in testGetTypeLabel()
|
D | Contacts_OrganizationsTest.java | 27 Organizations.TYPE_CUSTOM, label).toString(); in testGetDisplayLabel()
|
D | Contacts_PhonesTest.java | 27 Phones.TYPE_CUSTOM, label).toString(); in testGetDisplayLabel() 73 Phones.TYPE_CUSTOM, label, labelArray).toString(); in testGetDisplayLabelCharSequenceArray()
|
D | ContactsTest.java | 297 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()
|
D | ContactsContract_DataTest.java | 653 values.put(CommonDataKinds.Phone.TYPE, CommonDataKinds.Phone.TYPE_CUSTOM); in createData()
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
D | Fixtures.java | 29 public static final String TYPE_CUSTOM = "android.accounts.test.custom"; field in Fixtures
|