/cts/tests/tests/content/src/android/content/cts/ |
D | LocusIdTest.java | 57 final LocusId id1 = new LocusId(ID); in testEquals() local 59 assertThat(id1).isEqualTo(id2); in testEquals() 60 assertThat(id2).isEqualTo(id1); in testEquals() 63 assertThat(id1).isNotEqualTo(id3); in testEquals() 64 assertThat(id3).isNotEqualTo(id1); in testEquals() 69 final LocusId id1 = new LocusId(ID); in testHashcode() local 71 assertThat(id1.hashCode()).isEqualTo(id2.hashCode()); in testHashcode() 72 assertThat(id2.hashCode()).isEqualTo(id1.hashCode()); in testHashcode() 75 assertThat(id1.hashCode()).isNotEqualTo(id3.hashCode()); in testHashcode() 76 assertThat(id3.hashCode()).isNotEqualTo(id1.hashCode()); in testHashcode()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | CharSequenceTransformationTest.java | 72 AutofillId id1 = new AutofillId(1); in testBadSubst() local 77 CharSequenceTransformation.Builder b = new CharSequenceTransformation.Builder(id1, in testBadSubst() 93 when(finder.findByAutofillId(id1)).thenReturn("a"); in testBadSubst() 106 AutofillId id1 = new AutofillId(1); in testUnknownField() local 110 CharSequenceTransformation.Builder b = new CharSequenceTransformation.Builder(id1, in testUnknownField() 123 when(finder.findByAutofillId(id1)).thenReturn("1"); in testUnknownField() 209 AutofillId id1 = new AutofillId(1); in testMismatch() local 210 CharSequenceTransformation.Builder b = new CharSequenceTransformation.Builder(id1, in testMismatch() 218 when(finder.findByAutofillId(id1)).thenReturn("I'm Batman!"); in testMismatch() 228 AutofillId id1 = new AutofillId(1); in testFieldsAreAppliedInOrder() local [all …]
|
D | LuhnChecksumValidatorTest.java | 100 AutofillId id1 = new AutofillId(1); in nullAutofillValuesCauseFailure() local 104 LuhnChecksumValidator validator = new LuhnChecksumValidator(id1, id2, id3); in nullAutofillValuesCauseFailure() 108 when(finder.findByAutofillId(id1)).thenReturn("7992739871"); in nullAutofillValuesCauseFailure() 128 AutofillId id1 = new AutofillId(1); in multipleFieldNumber() local 131 LuhnChecksumValidator validator = new LuhnChecksumValidator(id1, id2); in multipleFieldNumber() 135 when(finder.findByAutofillId(id1)).thenReturn("7992739871"); in multipleFieldNumber()
|
D | DuplicateIdActivityTest.java | 110 final AutofillId id1 = view1.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds() local 113 Log.v(TAG, "view1=" + id1); in testDoNotRestoreDuplicateAutofillIds() 120 assertThat(id1).isNotEqualTo(id2); in testDoNotRestoreDuplicateAutofillIds() 162 final boolean view1WasRestored = (recreatedId1.equalsIgnoreSession(id1) in testDoNotRestoreDuplicateAutofillIds() 164 final boolean view2WasRestored = (recreatedId2.equalsIgnoreSession(id1) in testDoNotRestoreDuplicateAutofillIds()
|
D | Helper.java | 1421 public static void assertEqualsIgnoreSession(@NonNull AutofillId id1, @NonNull AutofillId id2) { in assertEqualsIgnoreSession() argument 1422 assertWithMessage("id1 is null").that(id1).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 | 384 private String id1 = null; // no zen policy field in ConditionProviderVerifierActivity.UpdateAutomaticZenRuleWithZenPolicyTest 395 id1 = mNm.addAutomaticZenRule(createRule("BeforeUpdate1", in setUp() 409 AutomaticZenRule updated1 = mNm.getAutomaticZenRule(id1); in test() 422 boolean success1 = mNm.updateAutomaticZenRule(id1, updated1); in test() 426 updated1.equals(mNm.getAutomaticZenRule(id1)); in test() 434 + " actual=" + mNm.getAutomaticZenRule(id1)); in test() 455 if (id1 != null) { in tearDown() 456 mNm.removeAutomaticZenRule(id1); in tearDown() 517 private String id1 = null; field in ConditionProviderVerifierActivity.GetAutomaticZenRuleTest 533 id1 = mNm.addAutomaticZenRule(ruleToCreate1); in setUp() [all …]
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerUsageTest.java | 88 final String id1 = generateRandomId("id1"); in testReportShortcutUsed() local 97 makeShortcut(id1), in testReportShortcutUsed() 103 makeShortcut(id1), in testReportShortcutUsed() 121 runWithCallerWithStrictMode(mPackageContext1, () -> getManager().reportShortcutUsed(id1)); in testReportShortcutUsed() 126 mPackageContext1.getPackageName(), id1), "Events weren't populated"); in testReportShortcutUsed() local
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | MmsPartTest.java | 97 long id1 = insertAndVerifyMmsPartReturningId("testMmsPart_deletedPartIdsAreNotReused_1"); in testMmsPart_deletedPartIdsAreNotReused() local 99 deletePartById(id1); in testMmsPart_deletedPartIdsAreNotReused() 103 assertThat(id2).isGreaterThan(id1); in testMmsPart_deletedPartIdsAreNotReused()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalActivityManagerTestHelper.java | 117 final String id1 = "id_dispatch_destroy1"; in testDispatchDestroy() local 121 mLocalActivityManager.startActivity(id1, intent); in testDispatchDestroy()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 205 int id1 = host1.allocateAppWidgetId(); in testGetAppWidgetIdsForHost() local 206 assertTrue(Arrays.equals(host1.getAppWidgetIds(), new int[]{id1})); in testGetAppWidgetIdsForHost() 210 assertTrue(Arrays.equals(host1.getAppWidgetIds(), new int[]{id1, id2})); in testGetAppWidgetIdsForHost() 214 assertTrue(Arrays.equals(host1.getAppWidgetIds(), new int[]{id1, id2})); in testGetAppWidgetIdsForHost()
|
/cts/tests/tests/media/assets/hls_variant/1676816/ |
D | 04.ts | 7440 ��>�?�ET"�夵�p[lp�h9N�!?�2�G�4�p$��n�z��kiP4�������_�2�id1f�I+h;�h8N���pͯ�/�'dz�ɤ3�Ln�…
|