Home
last modified time | relevance | path

Searched refs:TYPE_WORK (Results 1 – 25 of 35) sorted by relevance

12

/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DTypePrecedence.java49 Phone.TYPE_WORK,
58 Email.TYPE_WORK,
64 StructuredPostal.TYPE_WORK,
70 Im.TYPE_WORK,
75 Organization.TYPE_WORK,
/aosp12/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardImporterTests.java493 .put(Organization.TYPE, Organization.TYPE_WORK); in testOrgBeforTitle()
505 .put(Organization.TYPE, Organization.TYPE_WORK); in testTitleBeforOrg()
523 .put(Phone.TYPE, Phone.TYPE_WORK) in testV21PrefToIsPrimary()
539 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary()
543 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary()
547 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary()
637 .put(Organization.TYPE, Organization.TYPE_WORK) in testComplicatedCase()
642 .put(Phone.TYPE, Phone.TYPE_WORK) in testComplicatedCase()
663 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK) in testComplicatedCase()
766 .put(Organization.TYPE, Organization.TYPE_WORK); in testV30Simple()
[all …]
H A DVCardEntryTests.java231 EmailData emailData = new EmailData("email", Email.TYPE_WORK, null, false); in testEntryElementIterator()
249 "organization", "depertment", null, null, Organization.TYPE_WORK, false); in testEntryElementIterator()
258 Im.PROTOCOL_GOOGLE_TALK, null, "googletalk", Im.TYPE_WORK, false); in testEntryElementIterator()
H A DVCardJapanizationTests.java257 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK) in testPostalAdrressForDoCoMo_1()
288 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK) in testPostalAdrressForDoCoMo_2()
346 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK) in testPostalAdrressForDoCoMo_4()
H A DVCardExporterTests.java453 .put(Phone.TYPE, Phone.TYPE_WORK); in testPhoneVariousTypeSupport()
560 .put(Phone.TYPE, Phone.TYPE_WORK) in testPhonePrefHandlingCommon()
704 .put(Email.TYPE, Email.TYPE_WORK); in testEmailVariousTypeSupportCommon()
769 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK); in testPostalAddressCommon()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DLegacyContactsProviderTest.java165 values.put(Organizations.TYPE, Organizations.TYPE_WORK); in testPrimaryOrganization()
172 values.put(Organizations.TYPE, Organizations.TYPE_WORK); in testPrimaryOrganization()
208 values.put(Phones.TYPE, Phones.TYPE_WORK); in testPrimaryPhone()
215 values.put(Phones.TYPE, Phones.TYPE_WORK); in testPrimaryPhone()
289 values.put(ContactMethods.TYPE, ContactMethods.TYPE_WORK); in testPrimaryEmail()
360 Organizations.TYPE_WORK); in testOrganizationsInsert()
441 assertPersonIdConstraint(Phones.CONTENT_URI, Phones.TYPE, Phones.TYPE_WORK); in testPhonesInsert()
520 ContactMethods.TYPE_WORK, null, "pre:4", "Buz", true); in testImUpdateStandard()
542 ContactMethods.TYPE_WORK, null, "Biz", "Baz", true); in testPostalUpdate()
577 ContactMethods.TYPE_WORK); in assertContactMethodInsert()
[all …]
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A DRawContactModifierTests.java100 phoneKind.typeList.add(new EditType(Phone.TYPE_WORK, -1).setSpecificMax(1)); in MockContactsSource()
203 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testValidTypes()
248 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testValidTypesWhenUpdating()
285 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testCanInsert()
314 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testBestValidType()
1001 mockNameValues.put(Email.TYPE, Email.TYPE_WORK); in testMigrateEmailFromGoogleToExchange()
1028 assertEquals(Email.TYPE_WORK, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1049 mockNameValues.put(Im.TYPE, Im.TYPE_WORK); in testMigrateImFromGoogleToExchange()
1131 mockNameValues.put(Phone.TYPE, Phone.TYPE_WORK); in testMigratePhoneFromGoogleToExchange()
1143 mockNameValues.put(Phone.TYPE, Phone.TYPE_WORK); in testMigratePhoneFromGoogleToExchange()
[all …]
H A DRawContactDeltaTests.java104 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testParcelChangesInsert()
180 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testEntityDiffNoneInsert()
223 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testEntityDiffUpdateInsert()
357 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testEntityDiffInsertInsert()
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DSamsungAccountType.java96 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_WORK).setSpecificMax(1)); in addDataKindStructuredPostal()
136 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); in addDataKindPhone()
159 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); in addDataKindEmail()
H A DGoogleAccountType.java96 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); in addDataKindPhone()
119 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); in addDataKindEmail()
H A DBaseAccountType.java261 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); in addDataKindPhone()
296 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); in addDataKindEmail()
316 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_WORK)); in addDataKindStructuredPostal()
571 case Email.TYPE_WORK: return R.string.email_work; in getTypeLabelResource()
599 case StructuredPostal.TYPE_WORK: return R.string.map_work; in getTypeLabelResource()
1052 if ("work".equals(type)) return build(Phone.TYPE_WORK, false); in buildEditTypeForTypeTag()
1101 if ("work".equals(type)) return buildEmailType(Email.TYPE_WORK); in buildEditTypeForTypeTag()
1168 if ("work".equals(type)) return buildPostalType(StructuredPostal.TYPE_WORK); in buildEditTypeForTypeTag()
H A DExchangeAccountType.java150 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK).setSpecificMax(2)); in addDataKindPhone()
192 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_WORK).setSpecificMax(1)); in addDataKindStructuredPostal()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/account/
H A DSamsungAccountType.java93 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_WORK).setSpecificMax(1)); in addDataKindStructuredPostal()
133 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); in addDataKindPhone()
156 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); in addDataKindEmail()
H A DGoogleAccountType.java88 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); in addDataKindPhone()
111 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); in addDataKindEmail()
H A DBaseAccountType.java319 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); in addDataKindPhone()
355 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); in addDataKindEmail()
380 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_WORK)); in addDataKindStructuredPostal()
716 case Email.TYPE_WORK: in getTypeLabelResource()
754 case StructuredPostal.TYPE_WORK: in getTypeLabelResource()
1251 return build(Phone.TYPE_WORK, false); in buildEditTypeForTypeTag()
1349 return buildEmailType(Email.TYPE_WORK); in buildEditTypeForTypeTag()
1434 return buildPostalType(StructuredPostal.TYPE_WORK); in buildEditTypeForTypeTag()
H A DExchangeAccountType.java202 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK).setSpecificMax(2)); in addDataKindPhone()
238 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_WORK).setSpecificMax(1)); in addDataKindStructuredPostal()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/util/
H A DContactDisplayUtils.java101 case Phone.TYPE_WORK: in getPhoneLabelResourceId()
157 case Phone.TYPE_WORK: in getSmsLabelResourceId()
/aosp12/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
H A DContactsPopulator.java76 .addPhoneNumber(new PhoneNumber("+1 404-487-9000", Phone.TYPE_WORK))
86 .addPhoneNumber(new PhoneNumber("+1 303-245-0086;123,456", Phone.TYPE_WORK))
376 type = ContactsContract.CommonDataKinds.Email.TYPE_WORK; in Email()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactDisplayUtils.java62 case Phone.TYPE_WORK: in getPhoneLabelResourceId()
117 case Phone.TYPE_WORK: in getSmsLabelResourceId()
/aosp12/frameworks/base/core/java/android/provider/
H A DContactsContract.java6211 public static final int TYPE_WORK = 3; field in ContactsContract.CommonDataKinds.Phone
6274 case TYPE_WORK: return com.android.internal.R.string.phoneTypeWork; in getTypeLabelResource()
6495 public static final int TYPE_WORK = 2; field in ContactsContract.CommonDataKinds.Email
6512 case TYPE_WORK: return com.android.internal.R.string.emailTypeWork; in getTypeLabelResource()
6646 public static final int TYPE_WORK = 2; field in ContactsContract.CommonDataKinds.StructuredPostal
6813 public static final int TYPE_WORK = 2; field in ContactsContract.CommonDataKinds.Im
6882 case TYPE_WORK: return com.android.internal.R.string.imTypeWork; in getTypeLabelResource()
7032 public static final int TYPE_WORK = 1; field in ContactsContract.CommonDataKinds.Organization
7089 case TYPE_WORK: return com.android.internal.R.string.orgTypeWork; in getTypeLabelResource()
7559 public static final int TYPE_WORK = 5; field in ContactsContract.CommonDataKinds.Website
[all …]
H A DContacts.java880 public static final int TYPE_WORK = 3; field
1166 public static final int TYPE_WORK = 2; field
1692 public static final int TYPE_WORK = 1; field
1765 display = labels[Organizations.TYPE_WORK - 1]; in getDisplayLabel()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
H A DDataItemTests.java115 mValues3.put(Email.TYPE, Email.TYPE_WORK); in testDataItemCollapsing_email()
300 mValues3.put(Phone.TYPE, Phone.TYPE_WORK); in testDataItemCollapsing_phone()
363 mValues1.put(SipAddress.TYPE, SipAddress.TYPE_WORK); in testDataItemCollapsing_sip()
365 mValues3.put(SipAddress.TYPE, SipAddress.TYPE_WORK); in testDataItemCollapsing_sip()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForEmail.java89 case Email.TYPE_WORK: return 1; in getTypeRank()
H A DDataRowHandlerForOrganization.java108 case Organization.TYPE_WORK: return 0; in getTypeRank()
H A DDataRowHandlerForPhoneNumber.java143 case Phone.TYPE_WORK: return 1; in getTypeRank()

12