/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | CameraUtilsTypeReferenceTest.java | 197 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 D | ByteArrayHelpers.java | 119 Class<?> componentClass = klass.getComponentType(); in toByteArray()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | HidlSupport.java | 60 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 D | TypeReference.java | 213 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 D | PackageInfoHandler.java | 178 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 D | WatchdogPerfHandler.java | 662 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 D | MediaButtonReceiverHolder.java | 100 : 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 D | ResourceOveruseConfigurationSubject.java | 69 return actual.getComponentType() == expected.getComponentType() in isEquals()
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | GrowingArrayUtils.java | 50 (Class<T>) array.getClass().getComponentType(), growSize(currentSize)); in append() 140 T[] newArray = ArrayUtils.newUnpaddedArray((Class<T>)array.getClass().getComponentType(), in insert()
|
H A D | RingBuffer.java | 81 return (T) mBuffer.getClass().getComponentType().newInstance(); in createNewItem()
|
/aosp12/art/test/1979-threaded-structural-transformation/src/art/ |
H A D | Test1979.java | 46 if (oc.isArray() && oc.getComponentType() == Byte.TYPE) { in printGeneric()
|
/aosp12/art/test/1982-no-virtuals-structural-redefinition/src/art/ |
H A D | Test1982.java | 44 if (oc.isArray() && oc.getComponentType() == Byte.TYPE) { in printGeneric()
|
/aosp12/art/test/944-transform-classloaders/src/art/ |
H A D | Test944.java | 204 elementArrayValue.getClass().getComponentType() != dexPathListElementClass) { in checkDexFileInClassLoader()
|
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
H A D | TestDelegates.java | 204 theClass = theClass.getComponentType(); in getMethodName()
|
/aosp12/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableArray.java | 114 TypeReference<?> componentToken = typeReference.getComponentType();
|
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
H A D | LayoutLibTestCallback.java | 89 } else if (!(type.isArray() && type.getComponentType() == int.class)) { in initResources()
|
/aosp12/art/test/1975-hello-structural-transformation/src/art/ |
H A D | Test1975.java | 46 if (oc.isArray() && oc.getComponentType() == Byte.TYPE) { in printGeneric()
|
/aosp12/art/test/1980-obsolete-object-cleared/src/ |
H A D | Main.java | 220 return "new " + x.getClass().getComponentType().getName() + "[0]";
|
/aosp12/art/test/1981-structural-redef-private-method-handles/src/art/ |
H A D | Test1981.java | 74 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 D | ParcelableForToString.java | 206 if (_clazz.isArray() && _clazz.getComponentType() == Object.class) { in describeContents()
|
/aosp12/packages/services/Car/car-lib/src/android/car/watchdog/ |
H A D | ResourceOveruseConfiguration.java | 203 public @ComponentType int getComponentType() { in getComponentType() method in ResourceOveruseConfiguration
|
/aosp12/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
H A D | RawBatteryStats.java | 732 final Object array = Array.newInstance(mField.getType().getComponentType(), in setArray() 1136 ? fieldType.getComponentType()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | MapCollections.java | 503 = (T[]) Array.newInstance(array.getClass().getComponentType(), N); in toArrayHelper()
|
H A D | ArraySet.java | 761 (T[]) Array.newInstance(array.getClass().getComponentType(), mSize); in toArray()
|
/aosp12/packages/services/Car/service/src/com/android/car/hal/ |
H A D | CarPropertyUtils.java | 361 return class1 == class2 || class1.getComponentType() == class2; in classMatched()
|