Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/model/account/
DSimAccountType.java47 final DataKind phoneKind = addDataKindPhone(context); in SimAccountType() local
48 phoneKind.typeOverallMax = 1; in SimAccountType()
51 phoneKind.typeList = Collections.emptyList(); in SimAccountType()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java93 final DataKind phoneKind = new DataKind( in MockContactsSource() local
96 phoneKind.typeOverallMax = 5; in MockContactsSource()
97 phoneKind.typeColumn = Phone.TYPE; in MockContactsSource()
98 phoneKind.typeList = Lists.newArrayList(); in MockContactsSource()
99 phoneKind.typeList.add(new EditType(Phone.TYPE_HOME, -1).setSpecificMax(2)); in MockContactsSource()
100 phoneKind.typeList.add(new EditType(Phone.TYPE_WORK, -1).setSpecificMax(1)); in MockContactsSource()
101 phoneKind.typeList.add(new EditType(Phone.TYPE_FAX_WORK, -1).setSecondary(true)); in MockContactsSource()
102 phoneKind.typeList.add(new EditType(Phone.TYPE_OTHER, -1)); in MockContactsSource()
104 phoneKind.fieldList = Lists.newArrayList(); in MockContactsSource()
105 phoneKind.fieldList.add(new EditField(Phone.NUMBER, -1, -1)); in MockContactsSource()
[all …]