/frameworks/base/core/java/android/transition/ |
D | TransitionInflater.java | 199 private Object createCustom(AttributeSet attrs, Class expectedType, String tag) { in createCustom() argument 211 .asSubclass(expectedType); in createCustom() 221 throw new InflateException("Could not instantiate " + expectedType + " class " + in createCustom() 224 throw new InflateException("Could not instantiate " + expectedType + " class " + in createCustom() 227 throw new InflateException("Could not instantiate " + expectedType + " class " + in createCustom() 230 throw new InflateException("Could not instantiate " + expectedType + " class " + in createCustom() 233 throw new InflateException("Could not instantiate " + expectedType + " class " + in createCustom()
|
/frameworks/base/media/java/android/media/ |
D | Metadata.java | 559 private void checkType(final int key, final int expectedType) { in checkType() argument 565 if (type != expectedType) { in checkType() 566 throw new IllegalStateException("Wrong type " + expectedType + " but got " + type); in checkType()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | ValidationUtil.java | 55 static void validateModel(@Nullable SoundModel model, int expectedType) { in validateModel() argument 57 if (model.type != expectedType) { in validateModel()
|
/frameworks/base/core/java/android/view/ |
D | VerifiedInputEvent.java | 71 protected VerifiedInputEvent(@NonNull Parcel in, int expectedType) { in VerifiedInputEvent() argument 73 if (mType != expectedType) { in VerifiedInputEvent()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | AtomicFileTest.java | 326 public static <T extends Throwable> T assertThrows(@NonNull Class<T> expectedType, in assertThrows() argument 331 if (!expectedType.isInstance(t)) { in assertThrows() 338 expectedType.getSimpleName())); in assertThrows()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewDebugTest.java | 372 private static void expectDeserializedArgument(Class<?> expectedType, Object expectedValue, in expectDeserializedArgument() argument 374 expectDeserializedArguments(new Class[]{expectedType}, new Object[]{expectedValue}, in expectDeserializedArgument()
|
/frameworks/av/camera/include/camera/ |
D | CameraMetadata.h | 257 status_t checkType(uint32_t tag, uint8_t expectedType);
|
/frameworks/av/camera/ |
D | CameraMetadata.cpp | 186 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { in checkType() argument 192 if ( CC_UNLIKELY(tagType != expectedType) ) { in checkType() 197 camera_metadata_type_names[expectedType]); in checkType()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 1130 private static void throwException(Resources resources, int id, @Nullable String expectedType) in throwException() argument 1132 throwException(id, getResourceInfo(resources, id), expectedType); in throwException() 1143 @Nullable String expectedType) { in throwException() argument 1153 if (expectedType != null) { in throwException() 1154 message += " Or the resolved value was not of type " + expectedType + " as expected."; in throwException()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 2213 final long expectedType = expectedFlags & FIELD_TYPE_MASK; in checkFieldId() local 2218 if (fieldType != expectedType in checkFieldId() 2226 if (expectedType == FIELD_TYPE_MESSAGE) { in checkFieldId() 2232 sb.append(getFieldTypeString(expectedType)); in checkFieldId() 2251 if (expectedType == FIELD_TYPE_MESSAGE) { in checkFieldId() 2257 sb.append(getFieldTypeString(expectedType)); in checkFieldId()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SystemUpdatePolicyTest.java | 401 private void assertInstallationOption(int expectedType, long expectedTime, long now, in assertInstallationOption() argument 403 assertThat(p.getInstallationOptionAt(now).getType()).isEqualTo(expectedType); in assertInstallationOption()
|
/frameworks/native/services/inputflinger/tests/ |
D | PointerChoreographer_test.cpp | 144 ControllerType expectedType) { in assertPointerControllerCreated() argument 147 EXPECT_EQ(expectedType, type); in assertPointerControllerCreated()
|