/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameNormalizerTest.java | 59 final String name2 = NameNormalizer.normalize("Francesca"); in testDifferent() local 60 assertFalse(name2.equals(name1)); in testDifferent() 65 final String name2 = NameNormalizer.normalize("H\u00e9l\u00e8ne"); in testAccents() local 66 assertTrue(name2.equals(name1)); in testAccents() 71 final String name2 = NameNormalizer.normalize("hEL\uFF25NE"); // FF25 = FULL WIDTH E in testMixedCase() local 72 assertTrue(name2.equals(name1)); in testMixedCase() 79 final String name2 = NameNormalizer.normalize("helene"); in testNonLetters() local 80 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/services/Car/tests/DefaultStorageMonitoringCompanionApp/src/com/google/android/car/defaultstoragemonitoringcompanionapp/ |
D | MainActivity.java | 49 long value2, String name2) { 53 s += " and " + value2 + " " + name2;
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | SubscriptionUtilTest.java | 403 final CharSequence name2 = in getUniqueDisplayName_identicalCarriers_correctNameReturned() local 405 assertThat(name2).isNotNull(); in getUniqueDisplayName_identicalCarriers_correctNameReturned() 406 assertEquals(CARRIER_1 + " 4444", name2); in getUniqueDisplayName_identicalCarriers_correctNameReturned() 433 final CharSequence name2 = in getUniqueDisplayName_phoneNumberIdentical_correctNameReturned() local 435 assertThat(name2).isNotNull(); in getUniqueDisplayName_phoneNumberIdentical_correctNameReturned() 436 assertEquals(CARRIER_1 + " 2", name2); in getUniqueDisplayName_phoneNumberIdentical_correctNameReturned()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogGroupBuilder.java | 216 private boolean isSameAccount(String name1, String name2, String id1, String id2) { in isSameAccount() argument 217 return TextUtils.equals(name1, name2) && TextUtils.equals(id1, id2); in isSameAccount()
|
/packages/apps/Settings/src/com/android/settings/regionalpreferences/ |
D | NumberingSystemItemController.java | 229 String name2 = NumberingSystem.getInstance(locale2).getName(); in isSameNumberingSystem() local 230 return TextUtils.equals(name1, name2); in isSameNumberingSystem()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/ |
D | CarTelemetryServiceTest.java | 433 String name2 = "name2"; in testSetReportReadyListener() local 436 name2, TelemetryProto.TelemetryError.newBuilder().build()); in testSetReportReadyListener() 442 verify(mMockReportReadyListener).onReady(eq(name2)); in testSetReportReadyListener()
|
/packages/apps/TV/src/com/android/tv/parental/ |
D | ContentRatingSystem.java | 36 String name2 = s2.getDisplayName(); 37 return name1.compareTo(name2);
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 318 final String name2 = "name2"; in testDataItemCollapsing_relation() local 330 mValues4.put(Relation.NAME, name2); in testDataItemCollapsing_relation() 348 assertEquals(name2, ((RelationDataItem) dataList.get(2)).getName()); in testDataItemCollapsing_relation()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/ |
D | AbstractFlagsRouletteRunner.java | 365 protected int sortMethodsByName(String name1, String name2) { in sortMethodsByName() argument 366 return name1.compareTo(name2); in sortMethodsByName()
|
/packages/modules/NeuralNetworks/tools/api/ |
D | README.md | 140 A substring `%{*name2*}` in *body* will not undergo macro substitution, except
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyProviderTest.java | 1893 final String name2 = "name2"; in testPreferApnSetUrl() local 1895 values2.put(Carriers.NAME, name2); in testPreferApnSetUrl() 1953 assertEquals(name2, cursor.getString(0)); in testPreferApnSetUrl()
|