Searched refs:name2 (Results 1 – 8 of 8) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameNormalizerTest.java | 60 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/ |
D | NameNormalizer.java | 86 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/ |
D | NameDistanceTest.java | 69 private void assertFloat(float expected, String name1, String name2) { in assertFloat() argument 71 byte[] s2 = Hex.decodeHex(NameNormalizer.normalize(name2)); in assertFloat()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogGroupBuilder.java | 234 private boolean isSameAccount(String name1, String name2, String id1, String id2) { in isSameAccount() argument 235 return TextUtils.equals(name1, name2) && TextUtils.equals(id1, id2); in isSameAccount()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | valuetest.cpp | 1244 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/TV/src/com/android/tv/parental/ |
D | ContentRatingSystem.java | 40 String name2 = s2.getDisplayName(); 41 return name1.compareTo(name2);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/ |
D | DataItemTests.java | 327 final String name2 = "name2"; in testDataItemCollapsing_relation() local 339 mValues4.put(Relation.NAME, name2); in testDataItemCollapsing_relation() 357 assertEquals(name2, ((RelationDataItem) dataList.get(2)).getName()); in testDataItemCollapsing_relation()
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
D | SmartDialPrefixTest.java | 497 final String name2 = "aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk"; in testParseInfo() local 498 final ArrayList<String> info2 = SmartDialPrefix.parseToIndexTokens(name2); in testParseInfo()
|