/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/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 314 final String name1 = "name1"; in testDataItemCollapsing_relation() local 324 mValues1.put(Relation.NAME, name1); in testDataItemCollapsing_relation() 325 mValues2.put(Relation.NAME, name1); in testDataItemCollapsing_relation() 326 mValues3.put(Relation.NAME, name1); in testDataItemCollapsing_relation() 344 assertEquals(name1, ((RelationDataItem) dataList.get(0)).getName()); in testDataItemCollapsing_relation()
|
/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/services/Car/tests/DefaultStorageMonitoringCompanionApp/src/com/google/android/car/defaultstoragemonitoringcompanionapp/ |
D | MainActivity.java | 48 private String durationPairToString(long value1, String name1, 51 String s = value1 + " " + name1;
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogGroupBuilder.java | 215 private boolean isSameAccount(String name1, String name2, String id1, String id2) { in isSameAccount() argument 216 return TextUtils.equals(name1, name2) && TextUtils.equals(id1, id2); in isSameAccount()
|
/packages/apps/TV/src/com/android/tv/parental/ |
D | ContentRatingSystem.java | 35 String name1 = s1.getDisplayName(); 37 return name1.compareTo(name2);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 1391 Uri name1 = DataUtil.insertStructuredName(mResolver, rawContactId1, "THE", "SAME"); in testAggregationModeSuspendedSeparateTransactions() local 1408 storeValue(name1, StructuredName.GIVEN_NAME, "the"); in testAggregationModeSuspendedSeparateTransactions()
|
D | ContactAggregator2Test.java | 1399 Uri name1 = DataUtil.insertStructuredName(mResolver, rawContactId1, "THE", "SAME"); in testAggregationModeSuspendedSeparateTransactions() local 1416 storeValue(name1, StructuredName.GIVEN_NAME, "the"); in testAggregationModeSuspendedSeparateTransactions()
|