Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DMacAddressTest.java39 int expectedType; field in MacAddressTest.AddrTypeTestCase
41 static AddrTypeTestCase of(int expectedType, int... addr) { in of() argument
43 t.expectedType = expectedType; in of()
66 Arrays.toString(t.addr), t.expectedType, got); in testMacAddrTypes()
67 assertEquals(msg, t.expectedType, got); in testMacAddrTypes()
/frameworks/base/core/java/android/transition/
DTransitionInflater.java199 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/
DMetadata.java543 private void checkType(final int key, final int expectedType) { in checkType() argument
549 if (type != expectedType) { in checkType()
550 throw new IllegalStateException("Wrong type " + expectedType + " but got " + type); in checkType()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTextViewBindingAdapterTest.java59 int expectedType = InputType.TYPE_CLASS_NUMBER; in getExpectedNumericType() local
61 expectedType |= InputType.TYPE_NUMBER_FLAG_SIGNED; in getExpectedNumericType()
64 expectedType |= InputType.TYPE_NUMBER_FLAG_DECIMAL; in getExpectedNumericType()
66 return expectedType; in getExpectedNumericType()
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/
DProGuardTester.kt110 fun getsRewrittenTo(vararg expectedType: String) { in getsRewrittenTo()
115 Truth.assertThat(result).containsExactlyElementsIn(expectedType.toSet()) in getsRewrittenTo()
/frameworks/support/transition/src/main/java/androidx/transition/
DTransitionInflater.java192 private Object createCustom(AttributeSet attrs, Class expectedType, String tag) { in createCustom() argument
205 .asSubclass(expectedType); in createCustom()
216 throw new InflateException("Could not instantiate " + expectedType + " class " in createCustom()
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/
Dinput_collector.kt121 expectedType: Class<*>, errorMsg: String): Boolean { in validateParam()
122 if (!MoreTypes.isTypeOf(expectedType, param.asType())) { in validateParam()
/frameworks/av/camera/include/camera/
DCameraMetadata.h230 status_t checkType(uint32_t tag, uint8_t expectedType);
/frameworks/av/camera/
DCameraMetadata.cpp172 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { in checkType() argument
178 if ( CC_UNLIKELY(tagType != expectedType) ) { in checkType()
183 camera_metadata_type_names[expectedType]); in checkType()
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java2292 final long expectedType = expectedFlags & FIELD_TYPE_MASK; in checkFieldId() local
2297 if (fieldType != expectedType in checkFieldId()
2305 if (expectedType == FIELD_TYPE_MESSAGE) { in checkFieldId()
2311 sb.append(getFieldTypeString(expectedType)); in checkFieldId()
2330 if (expectedType == FIELD_TYPE_MESSAGE) { in checkFieldId()
2336 sb.append(getFieldTypeString(expectedType)); in checkFieldId()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSystemUpdatePolicyTest.java396 private void assertInstallationOption(int expectedType, long expectedTime, long now, in assertInstallationOption() argument
398 assertEquals(expectedType, p.getInstallationOptionAt(now).getType()); in assertInstallationOption()