Home
last modified time | relevance | path

Searched refs:addLocusId (Results 1 – 3 of 3) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DDataRemovalRequestTest.java49 assertThrows(NullPointerException.class, () -> mBuilder.addLocusId(null, NO_FLAGS)); in testBuilder_addLocusId_invalid()
50 assertThrows(NullPointerException.class, () -> mBuilder.addLocusId(null, 666)); in testBuilder_addLocusId_invalid()
55 assertThat(mBuilder.addLocusId(mLocusId, NO_FLAGS)).isNotNull(); in testBuilder_addLocusId_valid()
56 assertThat(mBuilder.addLocusId(new LocusId("content://com.example2"), FLAG_IS_PREFIX)) in testBuilder_addLocusId_valid()
63 assertThrows(IllegalStateException.class, () -> mBuilder.addLocusId(mLocusId, NO_FLAGS)); in testBuilder_addLocusIdAfterForEverything()
68 assertThat(mBuilder.addLocusId(mLocusId, NO_FLAGS)).isNotNull(); in testBuilder_forEverythingAfterAddingLocusId()
113 assertThat(builder.addLocusId(new LocusId("prefix1True"), FLAG_IS_PREFIX)).isNotNull(); in buildForIds()
114 assertThat(builder.addLocusId(new LocusId("prefix2False"), NO_FLAGS)).isNotNull(); in buildForIds()
133 assertThrows(IllegalStateException.class, () -> mBuilder.addLocusId(mLocusId, NO_FLAGS)); in testNoMoreInteractionsAfterBuild()
135 () -> mBuilder.addLocusId(mLocusId, FLAG_IS_PREFIX)); in testNoMoreInteractionsAfterBuild()
/cts/tests/app/app/src/android/app/stubs/
DSendBubbleActivity.java67 public void startBubbleActivity(int id, boolean addLocusId) { in startBubbleActivity() argument
71 if (addLocusId) { in startBubbleActivity()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java800 .addLocusId(locusId, NO_FLAGS) in testUserDataRemovalRequest_oneId()
832 .addLocusId(locusId1, NO_FLAGS) in testUserDataRemovalRequest_manyIds()
833 .addLocusId(locusId2, FLAG_IS_PREFIX) in testUserDataRemovalRequest_manyIds()