Home
last modified time | relevance | path

Searched refs:expectedType (Results 1 – 8 of 8) sorted by relevance

/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiPresenceCheckerTest.java200 private final FailureType expectedType; field in ApiPresenceCheckerTest.ExpectFailure
202 ExpectFailure(FailureType expectedType) { in ExpectFailure() argument
203 this.expectedType = expectedType; in ExpectFailure()
212 if (failure.type != expectedType) { in checkFailures()
218 Assert.fail("Expect one failure of type " + expectedType + " but found " + count in checkFailures()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDeviceOwnerHelper.java240 Class<?> expectedType = parameterTypes[i]; in findBestMethod() local
241 if (expectedType == null) continue; in findBestMethod()
244 if (!expectedType.equals(actualType)) { in findBestMethod()
247 + expectedType + ", got " + actualType + "); rejecting " + method); in findBestMethod()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/voiceinteraction/
DHotwordDetectorCreateRequestedStatsTests.java174 HotwordDetectorType expectedType, boolean expectedCreatedDone) throws Exception { in assertHotwordDetectorCreateRequested() argument
181 assertThat(detectorType).isEqualTo(expectedType); in assertHotwordDetectorCreateRequested()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java267 int index, int expectedType) { in assertSessionLevelEvent() argument
268 final ContentCaptureEvent event = getEvent(events, index, expectedType); in assertSessionLevelEvent()
589 int index, int expectedType) { in getEvent() argument
595 if (actualType != expectedType) { in getEvent()
598 eventTypeAsString(expectedType), eventTypeAsString(actualType), index, event)); in getEvent()
DCtsContentCaptureService.java789 @NonNull ComponentName expectedComponentName, int expectedTaskId, int expectedType) { in assertActivityEvent() argument
798 if (actualType != expectedType) { in assertActivityEvent()
800 expectedType, actualType); in assertActivityEvent()
DEventsAssertor.java408 private void assertNextEvent(@NonNull EventAssertion assertion, int expectedType, in assertNextEvent() argument
418 if (event.getType() != expectedType) { in assertNextEvent()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java1173 int expectedType) { in assertFillEventPresentationType() argument
1174 assertThat(event.getUiType()).isEqualTo(expectedType); in assertFillEventPresentationType()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DLoginActivityTest.java2048 private void customizedSaveTest(int type, int expectedType) throws Exception { in customizedSaveTest() argument
2079 final UiObject2 saveSnackBar = mUiBot.assertSaveShowing(saveDescription, expectedType); in customizedSaveTest()