Home
last modified time | relevance | path

Searched refs:getComponentType (Results 1 – 22 of 22) sorted by relevance

/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraUtilsTypeReferenceTest.java197 assertNull(intToken.getComponentType()); in testComponentType()
200 assertNull(listToken.getComponentType()); in testComponentType()
204 assertNull(listListToken.getComponentType()); in testComponentType()
208 assertTypeReferenceEquals(intArrayToken.getComponentType(), int.class); in testComponentType()
211 assertTypeReferenceEquals(integerArrayToken.getComponentType(), Integer.class); in testComponentType()
213 assertEquals(new IntArrayToken1().getComponentType(), in testComponentType()
214 new IntArrayToken2().getComponentType()); in testComponentType()
216 assertEquals(new IntListArrayToken1().getComponentType(), in testComponentType()
217 new IntListArrayToken2().getComponentType()); in testComponentType()
221 assertEquals(listToken, listArrayToken.getComponentType()); in testComponentType()
H A DByteArrayHelpers.java119 Class<?> componentClass = klass.getComponentType(); in toByteArray()
/aosp14/frameworks/base/core/java/android/os/
H A DHidlSupport.java60 Class<?> lftElementType = lftClazz.getComponentType(); in deepEquals()
61 if (lftElementType != rgtClazz.getComponentType()) { in deepEquals()
124 Class<?> elementType = clazz.getComponentType(); in deepHashCode()
160 Class<?> elementType = o.getClass().getComponentType(); in primitiveArrayHashCode()
H A DParcel.java4050 Class<?> componentType = val.getClass().getComponentType(); in readFixedArray()
4143 cls = cls.getComponentType(); in ensureClassHasExpectedDimensions()
4180 final Class<?> componentType = cls.getComponentType(); in createFixedArray()
4208 Class<?> innermost = componentType.getComponentType(); in createFixedArray()
4210 innermost = innermost.getComponentType(); in createFixedArray()
4249 final Class<?> componentType = cls.getComponentType(); in createFixedArray()
4264 Class<?> innermost = componentType.getComponentType(); in createFixedArray()
4266 innermost = innermost.getComponentType(); in createFixedArray()
4305 final Class<?> componentType = cls.getComponentType(); in createFixedArray()
4319 Class<?> innermost = componentType.getComponentType(); in createFixedArray()
[all …]
H A DBundleMerger.java354 final Class<?> clazz = first.getClass().getComponentType(); in arrayAppend()
/aosp14/frameworks/base/core/java/android/hardware/camera2/utils/
H A DTypeReference.java213 public TypeReference<?> getComponentType() { in getComponentType() method in TypeReference
214 Type componentType = getComponentType(mType); in getComponentType()
221 private static Type getComponentType(Type type) { in getComponentType() method in TypeReference
225 return ((Class<?>) type).getComponentType(); in getComponentType()
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DMediaButtonReceiverHolder.java102 : getComponentType(context, componentName); in unflattenFromString()
123 int componentType = getComponentType(pendingIntent); in create()
283 private static int getComponentType(PendingIntent pendingIntent) { in getComponentType() method in MediaButtonReceiverHolder
302 private static int getComponentType(Context context, ComponentName componentName) { in getComponentType() method in MediaButtonReceiverHolder
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DGrowingArrayUtils.java50 (Class<T>) array.getClass().getComponentType(), growSize(currentSize)); in append()
140 T[] newArray = ArrayUtils.newUnpaddedArray((Class<T>)array.getClass().getComponentType(), in insert()
H A DRingBuffer.java81 return (T) mBuffer.getClass().getComponentType().newInstance(); in createNewItem()
H A DArrayUtils.java129 if (cache == null || cache.getClass().getComponentType() != kind) { in emptyArray()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationVisitUrisTest.java297 Object arrayValue = Array.newInstance(clazz.getComponentType(), NUM_ELEMENTS_IN_ARRAY); in generateObject()
300 generateObject(clazz.getComponentType(), where, excludingClasses, in generateObject()
545 && param1.getComponentType().equals(param2); in getAllSetters()
638 return getParameterScore(parameterClazz.getComponentType()); in getParameterScore()
/aosp14/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableArray.java114 TypeReference<?> componentToken = typeReference.getComponentType();
/aosp14/frameworks/base/core/java/android/util/
H A DMapCollections.java503 = (T[]) Array.newInstance(array.getClass().getComponentType(), N); in toArrayHelper()
H A DArraySet.java780 (T[]) Array.newInstance(array.getClass().getComponentType(), mSize); in toArray()
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/
H A DRawBatteryStats.java732 final Object array = Array.newInstance(mField.getType().getComponentType(), in setArray()
1136 ? fieldType.getComponentType()
/aosp14/frameworks/base/core/java/android/widget/
H A DGridLayout.java659 T[] result = (T[]) Array.newInstance(a.getClass().getComponentType(), a.length + b.length); in append()
2376 Class<?> componentType = a.getClass().getComponentType(); in compact()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DPackageParserTest.java1131 } else if (fieldType.getComponentType() != null) { in assertAllFieldsExist()
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java100 final Class cmp = c.getComponentType(); in validateObjectIsPrimitiveArray()
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt8182 HSPLandroid/hardware/camera2/utils/TypeReference;->getComponentType()Landroid/hardware/camera2/util…
8183 HSPLandroid/hardware/camera2/utils/TypeReference;->getComponentType(Ljava/lang/reflect/Type;)Ljava/…
24731 HSPLjava/lang/Class;->getComponentType()Ljava/lang/Class;
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt8179 HSPLandroid/hardware/camera2/utils/TypeReference;->getComponentType()Landroid/hardware/camera2/util…
8180 HSPLandroid/hardware/camera2/utils/TypeReference;->getComponentType(Ljava/lang/reflect/Type;)Ljava/…
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt19577 Landroid/hardware/camera2/utils/TypeReference;->getComponentType()Landroid/hardware/camera2/utils/T…
19578 Landroid/hardware/camera2/utils/TypeReference;->getComponentType(Ljava/lang/reflect/Type;)Ljava/lan…