/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameNormalizerTest.java | 59 final String name1 = NameNormalizer.normalize("Helene"); in testDifferent() local 61 assertFalse(name2.equals(name1)); in testDifferent() 65 final String name1 = NameNormalizer.normalize("Helene"); in testAccents() local 67 assertTrue(name2.equals(name1)); in testAccents() 71 final String name1 = NameNormalizer.normalize("Helene"); in testMixedCase() local 73 assertTrue(name2.equals(name1)); in testMixedCase() 79 final String name1 = NameNormalizer.normalize("h-e?l \uFF1ee+\uFF03n=e"); 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 87 String clean1 = lettersAndDigitsOnly(name1); 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 70 byte[] s1 = Hex.decodeHex(NameNormalizer.normalize(name1)); in assertFloat()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/ |
D | DataItemTests.java | 326 final String name1 = "name1"; in testDataItemCollapsing_relation() local 336 mValues1.put(Relation.NAME, name1); in testDataItemCollapsing_relation() 337 mValues2.put(Relation.NAME, name1); in testDataItemCollapsing_relation() 338 mValues3.put(Relation.NAME, name1); in testDataItemCollapsing_relation() 356 assertEquals(name1, ((RelationDataItem) dataList.get(0)).getName()); in testDataItemCollapsing_relation()
|
/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 | 1236 char name1[10]; in TEST() local 1237 sprintf(name1, "%d", i); in TEST() 1240 Value name(name1, (SizeType)strlen(name1), allocator); in TEST() 1257 char name1[10]; in TEST() local 1258 sprintf(name1, "%d", i); in TEST() 1263 x[name1]; 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 | 39 String name1 = s1.getDisplayName(); 41 return name1.compareTo(name2);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 1379 Uri name1 = DataUtil.insertStructuredName(mResolver, rawContactId1, "THE", "SAME"); in testAggregationModeSuspendedSeparateTransactions() local 1396 storeValue(name1, StructuredName.GIVEN_NAME, "the"); in testAggregationModeSuspendedSeparateTransactions()
|
D | ContactAggregator2Test.java | 1388 Uri name1 = DataUtil.insertStructuredName(mResolver, rawContactId1, "THE", "SAME"); in testAggregationModeSuspendedSeparateTransactions() local 1405 storeValue(name1, StructuredName.GIVEN_NAME, "the"); in testAggregationModeSuspendedSeparateTransactions()
|