Home
last modified time | relevance | path

Searched refs:name1 (Results 1 – 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameNormalizerTest.java59 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/
DNameNormalizer.java86 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/
DNameDistanceTest.java69 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/
DDataItemTests.java314 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/
Dvaluetest.cpp1236 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/
DMainActivity.java48 private String durationPairToString(long value1, String name1,
51 String s = value1 + " " + name1;
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogGroupBuilder.java215 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/
DContentRatingSystem.java35 String name1 = s1.getDisplayName();
37 return name1.compareTo(name2);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java1391 Uri name1 = DataUtil.insertStructuredName(mResolver, rawContactId1, "THE", "SAME"); in testAggregationModeSuspendedSeparateTransactions() local
1408 storeValue(name1, StructuredName.GIVEN_NAME, "the"); in testAggregationModeSuspendedSeparateTransactions()
DContactAggregator2Test.java1399 Uri name1 = DataUtil.insertStructuredName(mResolver, rawContactId1, "THE", "SAME"); in testAggregationModeSuspendedSeparateTransactions() local
1416 storeValue(name1, StructuredName.GIVEN_NAME, "the"); in testAggregationModeSuspendedSeparateTransactions()