Home
last modified time | relevance | path

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

12

/aosp12/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()
/aosp12/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()
/aosp12/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()
/aosp12/packages/services/Car/service/src/com/android/car/watchdog/
H A DPackageInfoHandler.java178 public @ComponentType int getComponentType(int uid, String genericPackageName) { in getComponentType() method in PackageInfoHandler
223 packageInfo.componentType = getComponentType(uid, genericPackageName); in getPackageInfo()
252 int type = getComponentType(applicationInfos.get(i)); in getSharedComponentType()
277 return getComponentType(info); in getUserPackageComponentType()
301 public int getComponentType(ApplicationInfo applicationInfo) { in getComponentType() method in PackageInfoHandler
H A DWatchdogPerfHandler.java662 int componentType = mPackageInfoHandler.getComponentType( in getPackageKillableStatesForUserId()
1709 @ComponentType int componentType = mPackageInfoHandler.getComponentType( in constructCarWatchdogIoOveruseStatsLocked()
2039 internalConfig.componentType = config.getComponentType(); in toInternalResourceOveruseConfiguration()
2067 toResourceSpecificConfiguration(config.getComponentType(), in toInternalResourceOveruseConfiguration()
2243 if (seenComponentTypes.contains(config.getComponentType())) { in checkResourceOveruseConfigs()
2248 seenComponentTypes.add(config.getComponentType()); in checkResourceOveruseConfigs()
2254 int componentType = config.getComponentType(); in checkResourceOveruseConfig()
/aosp12/frameworks/base/services/core/java/com/android/server/media/
H A DMediaButtonReceiverHolder.java100 : getComponentType(context, componentName); in unflattenFromString()
117 int componentType = getComponentType(pendingIntent); in create()
270 private static int getComponentType(PendingIntent pendingIntent) { in getComponentType() method in MediaButtonReceiverHolder
289 private static int getComponentType(Context context, ComponentName componentName) { in getComponentType() method in MediaButtonReceiverHolder
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
H A DResourceOveruseConfigurationSubject.java69 return actual.getComponentType() == expected.getComponentType() in isEquals()
/aosp12/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()
/aosp12/art/test/1979-threaded-structural-transformation/src/art/
H A DTest1979.java46 if (oc.isArray() && oc.getComponentType() == Byte.TYPE) { in printGeneric()
/aosp12/art/test/1982-no-virtuals-structural-redefinition/src/art/
H A DTest1982.java44 if (oc.isArray() && oc.getComponentType() == Byte.TYPE) { in printGeneric()
/aosp12/art/test/944-transform-classloaders/src/art/
H A DTest944.java204 elementArrayValue.getClass().getComponentType() != dexPathListElementClass) { in checkDexFileInClassLoader()
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
H A DTestDelegates.java204 theClass = theClass.getComponentType(); in getMethodName()
/aosp12/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableArray.java114 TypeReference<?> componentToken = typeReference.getComponentType();
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DLayoutLibTestCallback.java89 } else if (!(type.isArray() && type.getComponentType() == int.class)) { in initResources()
/aosp12/art/test/1975-hello-structural-transformation/src/art/
H A DTest1975.java46 if (oc.isArray() && oc.getComponentType() == Byte.TYPE) { in printGeneric()
/aosp12/art/test/1980-obsolete-object-cleared/src/
H A DMain.java220 return "new " + x.getClass().getComponentType().getName() + "[0]";
/aosp12/art/test/1981-structural-redef-private-method-handles/src/art/
H A DTest1981.java74 if (oc.isArray() && oc.getComponentType() == Byte.TYPE) { in printGeneric()
/aosp12/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
H A DParcelableForToString.java206 if (_clazz.isArray() && _clazz.getComponentType() == Object.class) { in describeContents()
/aosp12/packages/services/Car/car-lib/src/android/car/watchdog/
H A DResourceOveruseConfiguration.java203 public @ComponentType int getComponentType() { in getComponentType() method in ResourceOveruseConfiguration
/aosp12/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()
/aosp12/frameworks/base/core/java/android/util/
H A DMapCollections.java503 = (T[]) Array.newInstance(array.getClass().getComponentType(), N); in toArrayHelper()
H A DArraySet.java761 (T[]) Array.newInstance(array.getClass().getComponentType(), mSize); in toArray()
/aosp12/packages/services/Car/service/src/com/android/car/hal/
H A DCarPropertyUtils.java361 return class1 == class2 || class1.getComponentType() == class2; in classMatched()

12