Searched refs:expectedType (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | MacAddressTest.java | 43 int expectedType; field in MacAddressTest.AddrTypeTestCase 45 static AddrTypeTestCase of(int expectedType, int... addr) { in of() argument 47 t.expectedType = expectedType; in of() 70 Arrays.toString(t.addr), t.expectedType, got); in testMacAddrTypes() 71 assertEquals(msg, t.expectedType, got); in testMacAddrTypes()
|
/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/av/camera/include/camera/ |
D | CameraMetadata.h | 237 status_t checkType(uint32_t tag, uint8_t expectedType);
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 1125 private static void throwException(Resources resources, int id, @Nullable String expectedType) in throwException() argument 1127 throwException(id, getResourceInfo(resources, id), expectedType); in throwException() 1138 @Nullable String expectedType) { in throwException() argument 1148 if (expectedType != null) { in throwException() 1149 message += " Or the resolved value was not of type " + expectedType + " as expected."; in throwException()
|
/frameworks/av/camera/ |
D | CameraMetadata.cpp | 171 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { in checkType() argument 177 if ( CC_UNLIKELY(tagType != expectedType) ) { in checkType() 182 camera_metadata_type_names[expectedType]); in checkType()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 2210 final long expectedType = expectedFlags & FIELD_TYPE_MASK; in checkFieldId() local 2215 if (fieldType != expectedType in checkFieldId() 2223 if (expectedType == FIELD_TYPE_MESSAGE) { in checkFieldId() 2229 sb.append(getFieldTypeString(expectedType)); in checkFieldId() 2248 if (expectedType == FIELD_TYPE_MESSAGE) { in checkFieldId() 2254 sb.append(getFieldTypeString(expectedType)); in checkFieldId()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SystemUpdatePolicyTest.java | 396 private void assertInstallationOption(int expectedType, long expectedTime, long now, in assertInstallationOption() argument 398 assertEquals(expectedType, p.getInstallationOptionAt(now).getType()); in assertInstallationOption()
|