Home
last modified time | relevance | path

Searched refs:name2 (Results 1 – 7 of 7) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameNormalizerTest.java60 final String name2 = NameNormalizer.normalize("Francesca"); in testDifferent() local
61 assertFalse(name2.equals(name1)); in testDifferent()
66 final String name2 = NameNormalizer.normalize("H\u00e9l\u00e8ne"); in testAccents() local
67 assertTrue(name2.equals(name1)); in testAccents()
72 final String name2 = NameNormalizer.normalize("hEL\uFF25NE"); // FF25 = FULL WIDTH E in testMixedCase() local
73 assertTrue(name2.equals(name1)); in testMixedCase()
80 final String name2 = NameNormalizer.normalize("helene"); in testNonLetters() local
81 assertTrue(name2.equals(name1)); in testNonLetters()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameNormalizer.java86 public static int compareComplexity(String name1, String name2) { in compareComplexity() argument
88 String clean2 = lettersAndDigitsOnly(name2); in compareComplexity()
100 return name1.length() - name2.length(); in compareComplexity()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
DNameDistanceTest.java69 private void assertFloat(float expected, String name1, String name2) { in assertFloat() argument
71 byte[] s2 = Hex.decodeHex(NameNormalizer.normalize(name2)); in assertFloat()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dvaluetest.cpp1244 char name2[10]; in TEST() local
1245 sprintf(name2, "%d", j); in TEST()
1247 Value name(name2, (SizeType)strlen(name2), allocator); in TEST()
1261 char name2[10]; in TEST() local
1262 sprintf(name2, "%d", j); in TEST()
1264 EXPECT_EQ((int)(i * n + j), x[name1][name2].GetInt()); in TEST()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogGroupBuilder.java181 private boolean isSameAccount(String name1, String name2, String id1, String id2) { in isSameAccount() argument
182 return TextUtils.equals(name1, name2) && TextUtils.equals(id1, id2); in isSameAccount()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java326 final String name2 = "name2"; in testDataItemCollapsing_relation() local
338 mValues4.put(Relation.NAME, name2); in testDataItemCollapsing_relation()
356 assertEquals(name2, ((RelationDataItem) dataList.get(2)).getName()); in testDataItemCollapsing_relation()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java40 String name2 = s2.getDisplayName();
41 return name1.compareTo(name2);