/packages/apps/Contacts/src/com/android/contacts/ |
D | TypePrecedence.java | 48 Phone.TYPE_HOME, 57 Email.TYPE_HOME, 63 StructuredPostal.TYPE_HOME, 69 Im.TYPE_HOME,
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsUtilsTests.java | 84 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentCustom() 107 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntent() 125 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentWithAudio() 146 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentWithVideo() 171 values.put(Email.TYPE, Email.TYPE_HOME); in testImEmailIntent()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactModifierTests.java | 100 phoneKind.typeList.add(new EditType(Phone.TYPE_HOME, -1).setSpecificMax(2)); in MockContactsSource() 203 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testValidTypes() 248 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testValidTypesWhenUpdating() 285 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testCanInsert() 314 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testBestValidType() 361 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testIsEmptyDirectFields() 378 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testTrimEmptySingle() 423 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testTrimEmptySpaces() 449 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testTrimLeaveValid() 478 RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testTrimEmptyUntouched() [all …]
|
D | RawContactDeltaListTests.java | 154 values.put(Phone.TYPE, Phone.TYPE_HOME); in buildPhone() 163 values.put(Email.TYPE, Email.TYPE_HOME); in buildEmail()
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | ContactDisplayUtilTests.java | 55 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_HOME)); in testIsCustomPhoneTypeReturnsFalse() 67 Phone.TYPE_HOME)); in testGetPhoneLabelResourceIdReturnsMatchHome() 75 assertEquals(R.string.sms_home, ContactDisplayUtils.getSmsLabelResourceId(Phone.TYPE_HOME)); in testGetSmsLabelResourceIdReturnsMatchHome()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | TestDataFactory.java | 215 "425-555-1234", Phone.TYPE_HOME, "", "0", Long.valueOf(0), 0 }, in getAllContactListCursor() 219 "425-555-1238", Phone.TYPE_HOME, "", "1", Long.valueOf(2), 2 }, in getAllContactListCursor() 242 "425-555-1238", Phone.TYPE_HOME, "", "1", Long.valueOf(2), 2 }, in getFrequentContactListCursor() 244 "425-555-1234", Phone.TYPE_HOME, "", "0", Long.valueOf(0), 3 }, in getFrequentContactListCursor()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | OverviewCommandHelper.java | 69 public static final int TYPE_HOME = 5; field in OverviewCommandHelper 180 return mPendingCommands.isEmpty() || mPendingCommands.get(0).type == TYPE_HOME; in canStartHomeSafely() 265 case TYPE_HOME: in executeCommand() 305 case TYPE_HOME: in executeCommand()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
D | SamsungAccountType.java | 94 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_HOME).setSpecificMax(1)); in addDataKindStructuredPostal() 132 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); in addDataKindPhone() 155 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); in addDataKindEmail()
|
D | GoogleAccountType.java | 91 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); in addDataKindPhone() 112 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); in addDataKindEmail()
|
D | BaseAccountType.java | 318 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); in addDataKindPhone() 354 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); in addDataKindEmail() 379 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_HOME)); in addDataKindStructuredPostal() 714 case Email.TYPE_HOME: in getTypeLabelResource() 752 case StructuredPostal.TYPE_HOME: in getTypeLabelResource() 1245 return build(Phone.TYPE_HOME, false); in buildEditTypeForTypeTag() 1346 return buildEmailType(Email.TYPE_HOME); in buildEditTypeForTypeTag() 1431 return buildPostalType(StructuredPostal.TYPE_HOME); in buildEditTypeForTypeTag()
|
D | ExchangeAccountType.java | 201 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME).setSpecificMax(2)); in addDataKindPhone() 239 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_HOME).setSpecificMax(1)); in addDataKindStructuredPostal()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | SamsungAccountType.java | 97 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_HOME).setSpecificMax(1)); in addDataKindStructuredPostal() 135 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); in addDataKindPhone() 158 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); in addDataKindEmail()
|
D | GoogleAccountType.java | 97 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); in addDataKindPhone() 118 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); in addDataKindEmail()
|
D | BaseAccountType.java | 260 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); in addDataKindPhone() 295 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); in addDataKindEmail() 315 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_HOME)); in addDataKindStructuredPostal() 570 case Email.TYPE_HOME: return R.string.email_home; in getTypeLabelResource() 598 case StructuredPostal.TYPE_HOME: return R.string.map_home; in getTypeLabelResource() 1050 if ("home".equals(type)) return build(Phone.TYPE_HOME, false); in buildEditTypeForTypeTag() 1100 if ("home".equals(type)) return buildEmailType(Email.TYPE_HOME); in buildEditTypeForTypeTag() 1167 if ("home".equals(type)) return buildPostalType(StructuredPostal.TYPE_HOME); in buildEditTypeForTypeTag()
|
D | ExchangeAccountType.java | 149 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME).setSpecificMax(2)); in addDataKindPhone() 193 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_HOME).setSpecificMax(1)); in addDataKindStructuredPostal()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | ContactDisplayUtils.java | 97 case Phone.TYPE_HOME: in getPhoneLabelResourceId() 153 case Phone.TYPE_HOME: in getSmsLabelResourceId()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactDisplayUtils.java | 58 case Phone.TYPE_HOME: in getPhoneLabelResourceId() 113 case Phone.TYPE_HOME: in getSmsLabelResourceId()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 117 mValues2.put(Email.TYPE, Email.TYPE_HOME); in testDataItemCollapsing_email() 128 assertEquals(Math.min(Email.TYPE_MOBILE, Email.TYPE_HOME), in testDataItemCollapsing_email() 302 mValues2.put(Phone.TYPE, Phone.TYPE_HOME); in testDataItemCollapsing_phone() 367 mValues2.put(SipAddress.TYPE, SipAddress.TYPE_HOME); in testDataItemCollapsing_sip()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | FakeContactsProvider.java | 96 Email.TYPE_CUSTOM, Email.TYPE_HOME, Email.TYPE_WORK, Email.TYPE_OTHER, 101 Phone.TYPE_HOME, 122 StructuredPostal.TYPE_HOME,
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LegacyContactsProviderTest.java | 256 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in testEmailCrud() 279 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in testPrimaryEmail() 508 ContactMethods.TYPE_HOME, null, "bar@acme.com", "aux", true); in testEmailUpdate() 530 ContactMethods.TYPE_HOME, null, "custom:my_other_proto", "Buz", true); in testImUpdateCustom() 819 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in assertSearchSuggestion() 839 values.put(Phones.TYPE, Phones.TYPE_HOME); in assertSearchSuggestion()
|
D | BaseContactsProvider2Test.java | 287 return insertPhoneNumber(rawContactId, phoneNumber, primary, false, Phone.TYPE_HOME); in insertPhoneNumber() 292 return insertPhoneNumber(rawContactId, phoneNumber, primary, superPrimary, Phone.TYPE_HOME); in insertPhoneNumber() 323 return insertEmail(rawContactId, email, primary, Email.TYPE_HOME, null); in insertEmail() 328 return insertEmail(rawContactId, email, primary, superPrimary, Email.TYPE_HOME, null); in insertEmail() 519 values.put(Im.TYPE, Im.TYPE_HOME); in insertImHandle() 1796 values.put(Phone.TYPE, Phone.TYPE_HOME); in insertPhone()
|
D | ContactsActor.java | 712 ContactsContract.CommonDataKinds.Phone.TYPE_HOME); in createPhone() 727 values.put(Email.TYPE, Email.TYPE_HOME); in createEmail()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForEmail.java | 95 case Email.TYPE_HOME: return 0; in getTypeRank()
|
D | DataRowHandlerForPhoneNumber.java | 152 case Phone.TYPE_HOME: return 2; in getTypeRank()
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | ContactsPopulator.java | 75 .addPhoneNumber(new PhoneNumber("+1-650-2530000", Phone.TYPE_HOME)) 85 .addPhoneNumber(new PhoneNumber("+1-650-2530000", Phone.TYPE_HOME))
|