Home
last modified time | relevance | path

Searched refs:NO_FLAGS (Results 1 – 4 of 4) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DDataRemovalRequestTest.java41 private static final int NO_FLAGS = 0; field in DataRemovalRequestTest
49 assertThrows(NullPointerException.class, () -> mBuilder.addLocusId(null, NO_FLAGS)); in testBuilder_addLocusId_invalid()
55 assertThat(mBuilder.addLocusId(mLocusId, NO_FLAGS)).isNotNull(); 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()
114 assertThat(builder.addLocusId(new LocusId("prefix2False"), NO_FLAGS)).isNotNull(); in buildForIds()
126 assertRequest(requests, 1, "prefix2False", NO_FLAGS); in assertForIds()
133 assertThrows(IllegalStateException.class, () -> mBuilder.addLocusId(mLocusId, NO_FLAGS)); in testNoMoreInteractionsAfterBuild()
DContentCaptureConditionTest.java36 private static final int NO_FLAGS = 0; field in ContentCaptureConditionTest
42 assertThrows(NullPointerException.class, () -> new ContentCaptureCondition(null, NO_FLAGS)); in testInvalid_nullLocusId()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DDevicePolicySafetyCheckerIntegrationTest.java63 private static final int NO_FLAGS = 0; field in DevicePolicySafetyCheckerIntegrationTest
148 NO_FLAGS);
185 dpm.setLockTaskFeatures(admin, NO_FLAGS);
230 dpm.wipeData(NO_FLAGS,
233 dpm.wipeData(NO_FLAGS);
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java91 private static final int NO_FLAGS = 0; field in LoginActivityTest
804 .addLocusId(locusId, NO_FLAGS) in testUserDataRemovalRequest_oneId()
823 assertThat(actualRequest.getFlags()).isEqualTo(NO_FLAGS); in testUserDataRemovalRequest_oneId()
836 .addLocusId(locusId1, NO_FLAGS) in testUserDataRemovalRequest_manyIds()
856 assertThat(actualRequest1.getFlags()).isEqualTo(NO_FLAGS); in testUserDataRemovalRequest_manyIds()