/cts/tests/tests/content/src/android/content/cts/ |
D | LocusIdTest.java | 58 final LocusId id2 = new LocusId(ID); in testEquals() local 59 assertThat(id1).isEqualTo(id2); in testEquals() 60 assertThat(id2).isEqualTo(id1); in testEquals() 70 final LocusId id2 = new LocusId(ID); in testHashcode() local 71 assertThat(id1.hashCode()).isEqualTo(id2.hashCode()); in testHashcode() 72 assertThat(id2.hashCode()).isEqualTo(id1.hashCode()); in testHashcode()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | LuhnChecksumValidatorTest.java | 101 AutofillId id2 = new AutofillId(2); in nullAutofillValuesCauseFailure() local 104 LuhnChecksumValidator validator = new LuhnChecksumValidator(id1, id2, id3); in nullAutofillValuesCauseFailure() 109 when(finder.findByAutofillId(id2)).thenReturn(null); in nullAutofillValuesCauseFailure() 129 AutofillId id2 = new AutofillId(2); in multipleFieldNumber() local 131 LuhnChecksumValidator validator = new LuhnChecksumValidator(id1, id2); in multipleFieldNumber() 136 when(finder.findByAutofillId(id2)).thenReturn("3"); in multipleFieldNumber() 139 when(finder.findByAutofillId(id2)).thenReturn("2"); in multipleFieldNumber()
|
D | CharSequenceTransformationTest.java | 73 AutofillId id2 = new AutofillId(2); in testBadSubst() local 81 b.addField(id2, Pattern.compile("."), "2=$1"); in testBadSubst() 94 when(finder.findByAutofillId(id2)).thenReturn("b"); in testBadSubst() 107 AutofillId id2 = new AutofillId(2); in testUnknownField() local 116 b.addField(id2, Pattern.compile(".*"), "2"); in testUnknownField() 124 when(finder.findByAutofillId(id2)).thenReturn("2"); in testUnknownField() 229 AutofillId id2 = new AutofillId(2); in testFieldsAreAppliedInOrder() local 234 .addField(id2, Pattern.compile("b"), "B") in testFieldsAreAppliedInOrder() 241 when(finder.findByAutofillId(id2)).thenReturn("b"); in testFieldsAreAppliedInOrder()
|
D | DuplicateIdActivityTest.java | 111 final AutofillId id2 = view2.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds() local 114 Log.v(TAG, "view2=" + id2); in testDoNotRestoreDuplicateAutofillIds() 120 assertThat(id1).isNotEqualTo(id2); in testDoNotRestoreDuplicateAutofillIds() 163 || recreatedId1.equalsIgnoreSession(id2)); in testDoNotRestoreDuplicateAutofillIds() 165 || recreatedId2.equalsIgnoreSession(id2)); in testDoNotRestoreDuplicateAutofillIds()
|
D | Helper.java | 1421 public static void assertEqualsIgnoreSession(@NonNull AutofillId id1, @NonNull AutofillId id2) { in assertEqualsIgnoreSession() argument 1423 assertWithMessage("id2 is null").that(id2).isNotNull(); in assertEqualsIgnoreSession() 1424 assertWithMessage("%s is not equal to %s", id1, id2).that(id1.equalsIgnoreSession(id2)) in assertEqualsIgnoreSession()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | ConditionProviderVerifierActivity.java | 385 private String id2 = null; // has zen policy field in ConditionProviderVerifierActivity.UpdateAutomaticZenRuleWithZenPolicyTest 397 id2 = mNm.addAutomaticZenRule(createRuleWithZenPolicy( in setUp() 415 AutomaticZenRule updated2 = mNm.getAutomaticZenRule(id2); in test() 423 boolean success2 = mNm.updateAutomaticZenRule(id2, updated2); in test() 428 updated2.equals(mNm.getAutomaticZenRule(id2)); in test() 438 + " actual=" + mNm.getAutomaticZenRule(id2)); in test() 459 if (id2 != null) { in tearDown() 460 mNm.removeAutomaticZenRule(id2); in tearDown() 518 private String id2 = null; field in ConditionProviderVerifierActivity.GetAutomaticZenRuleTest 534 id2 = mNm.addAutomaticZenRule(ruleToCreate2); in setUp() [all …]
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerUsageTest.java | 89 final String id2 = generateRandomId("id2"); in testReportShortcutUsed() local 98 makeShortcut(id2) in testReportShortcutUsed()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalActivityManagerTestHelper.java | 118 final String id2 = "id_dispatch_destroy2"; in testDispatchDestroy() local 135 mLocalActivityManager.startActivity(id2, intent); in testDispatchDestroy()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | MmsPartTest.java | 101 long id2 = insertAndVerifyMmsPartReturningId("testMmsPart_deletedPartIdsAreNotReused_2"); in testMmsPart_deletedPartIdsAreNotReused() local 103 assertThat(id2).isGreaterThan(id1); in testMmsPart_deletedPartIdsAreNotReused()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 209 int id2 = host1.allocateAppWidgetId(); in testGetAppWidgetIdsForHost() local 210 assertTrue(Arrays.equals(host1.getAppWidgetIds(), new int[]{id1, id2})); in testGetAppWidgetIdsForHost() 214 assertTrue(Arrays.equals(host1.getAppWidgetIds(), new int[]{id1, id2})); in testGetAppWidgetIdsForHost()
|