Searched refs:expectedType (Results 1 - 6 of 6) sorted by relevance

/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/
H A DBoundedMatcher.java33 private final Class<?> expectedType; field in class:BoundedMatcher
36 public BoundedMatcher(Class<? extends S> expectedType) { argument
37 this.expectedType = checkNotNull(expectedType);
41 public BoundedMatcher(Class<?> expectedType, Class<?> interfaceType1, argument
43 this.expectedType = checkNotNull(expectedType);
67 if (expectedType.isInstance(item)) {
/frameworks/base/core/java/android/transition/
H A DTransitionInflater.java195 private Object createCustom(AttributeSet attrs, Class expectedType, String tag) { argument
207 .asSubclass(expectedType);
217 throw new InflateException("Could not instantiate " + expectedType + " class " +
220 throw new InflateException("Could not instantiate " + expectedType + " class " +
223 throw new InflateException("Could not instantiate " + expectedType + " class " +
226 throw new InflateException("Could not instantiate " + expectedType + " class " +
229 throw new InflateException("Could not instantiate " + expectedType + " class " +
/frameworks/testing/support/src/android/support/test/internal/runner/junit4/
H A DAndroidJUnit4ClassRunner.java91 Class<?> expectedType) {
97 if (!expectedType.isAssignableFrom(instrField.getType())) {
101 getTestClass().getName(), expectedType.getName())));
90 validateInjectField(List<Throwable> errors, FrameworkField instrField, Class<?> expectedType) argument
/frameworks/base/media/java/android/media/
H A DMetadata.java535 private void checkType(final int key, final int expectedType) { argument
541 if (type != expectedType) {
542 throw new IllegalStateException("Wrong type " + expectedType + " but got " + type);
/frameworks/av/include/camera/
H A DCameraMetadata.h216 status_t checkType(uint32_t tag, uint8_t expectedType);
/frameworks/av/camera/
H A DCameraMetadata.cpp171 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { argument
177 if ( CC_UNLIKELY(tagType != expectedType) ) {
182 camera_metadata_type_names[expectedType]);

Completed in 504 milliseconds