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

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

Completed in 362 milliseconds