/frameworks/layoutlib/delegates/src/dalvik/system/ |
D | VMRuntimeCommonHelper.java | 25 /*package*/ static Object newUnpaddedArray(VMRuntime runtime, Class<?> componentType, in newUnpaddedArray() argument 29 if (!componentType.isPrimitive()) { in newUnpaddedArray() 31 return java.lang.reflect.Array.newInstance(componentType, size); in newUnpaddedArray() 32 } else if (componentType == char.class) { in newUnpaddedArray() 38 } else if (componentType == int.class) { in newUnpaddedArray() 41 } else if (componentType == byte.class) { in newUnpaddedArray() 47 } else if (componentType == boolean.class) { in newUnpaddedArray() 53 } else if (componentType == short.class) { in newUnpaddedArray() 59 } else if (componentType == float.class) { in newUnpaddedArray() 62 } else if (componentType == long.class) { in newUnpaddedArray() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaButtonReceiverHolder.java | 100 int componentType = (tokens.length == 3) in unflattenFromString() local 103 return new MediaButtonReceiverHolder(userId, null, componentName, componentType); in unflattenFromString() 123 int componentType = getComponentType(pendingIntent); in create() local 124 ComponentName componentName = getComponentName(pendingIntent, componentType); in create() 127 componentType); in create() 143 ComponentName componentName, @ComponentType int componentType) { in MediaButtonReceiverHolder() argument 148 mComponentType = componentType; in MediaButtonReceiverHolder() 320 private static ComponentName getComponentName(PendingIntent pendingIntent, int componentType) { in getComponentName() argument 322 switch (componentType) { in getComponentName()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 53 static PrimitiveArrayFiller getPrimitiveArrayFiller(Class<?> componentType) { in getPrimitiveArrayFiller() argument 54 if (componentType == int.class) { in getPrimitiveArrayFiller() 63 } else if (componentType == float.class) { in getPrimitiveArrayFiller() 72 } else if (componentType == long.class) { in getPrimitiveArrayFiller() 81 } else if (componentType == double.class) { in getPrimitiveArrayFiller() 90 } else if (componentType == byte.class) { in getPrimitiveArrayFiller() 99 + componentType.getName() + " not supported"); in getPrimitiveArrayFiller()
|
/frameworks/layoutlib/bridge/src/dalvik/system/ |
D | VMRuntime_Delegate.java | 30 /*package*/ static Object newUnpaddedArray(VMRuntime runtime, Class<?> componentType, in newUnpaddedArray() argument 32 return VMRuntimeCommonHelper.newUnpaddedArray(runtime, componentType, minLength); in newUnpaddedArray()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | TypeReference.java | 204 private static final Class<?> getArrayClass(Class<?> componentType) { in getArrayClass() argument 205 return Array.newInstance(componentType, 0).getClass(); in getArrayClass() 214 Type componentType = getComponentType(mType); in getComponentType() local 216 return (componentType != null) ? in getComponentType() 217 createSpecializedTypeReference(componentType) : in getComponentType()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 2223 final Class<?> componentType = val.getClass().getComponentType(); in writeFixedArrayInternal() local 2224 if (!componentType.isArray() && index + 1 != dimensions.length) { in writeFixedArrayInternal() 2228 if (componentType == boolean.class) { in writeFixedArrayInternal() 2230 } else if (componentType == byte.class) { in writeFixedArrayInternal() 2232 } else if (componentType == char.class) { in writeFixedArrayInternal() 2234 } else if (componentType == int.class) { in writeFixedArrayInternal() 2236 } else if (componentType == long.class) { in writeFixedArrayInternal() 2238 } else if (componentType == float.class) { in writeFixedArrayInternal() 2240 } else if (componentType == double.class) { in writeFixedArrayInternal() 2242 } else if (componentType == IBinder.class) { in writeFixedArrayInternal() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageProperty.java | 78 @PropertyLocation int componentType, Predicate<String> filter) { in queryProperty() argument 80 if (componentType == TYPE_APPLICATION) { in queryProperty() 82 } else if (componentType == TYPE_ACTIVITY) { in queryProperty() 84 } else if (componentType == TYPE_PROVIDER) { in queryProperty() 86 } else if (componentType == TYPE_RECEIVER) { in queryProperty() 88 } else if (componentType == TYPE_SERVICE) { in queryProperty()
|
D | Computer.java | 224 @Nullable ComponentName component, @PackageManager.ComponentType int componentType, in shouldFilterApplication() argument
|
D | ComputerEngine.java | 2697 @PackageManager.ComponentType int componentType, int userId) { in shouldFilterApplication() argument 2733 return !isComponentVisibleToInstantApp(component, componentType); in shouldFilterApplication()
|
D | PackageManagerService.java | 5315 String propertyName, @PackageManager.PropertyLocation int componentType) { in queryProperty() argument 5321 mPackageProperty.queryProperty(propertyName, componentType, packageName -> { in queryProperty()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_platform_entries.cpp | 579 EGLint componentType = EGL_COLOR_COMPONENT_TYPE_FIXED_EXT; in getNativePixelFormat() local 580 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_COLOR_COMPONENT_TYPE_EXT, &componentType); in getNativePixelFormat() 610 if (componentType == EGL_COLOR_COMPONENT_TYPE_FIXED_EXT) { in getNativePixelFormat() 621 if (componentType == EGL_COLOR_COMPONENT_TYPE_FIXED_EXT) { in getNativePixelFormat()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 801 ParceledListSlice queryProperty(String propertyName, int componentType); in queryProperty() argument
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 2376 Class<?> componentType = a.getClass().getComponentType(); 2377 K[] result = (K[]) Array.newInstance(componentType, max2(index, -1) + 1);
|