Home
last modified time | relevance | path

Searched refs:allowedFlags (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java147 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument
148 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()
151 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java596 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_OFTEN | in isFlexibleConsumer() local
599 (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()
607 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_COMPOSER | in isPreviewConsumer() local
610 (usageFlags & allowedFlags) != 0); in isPreviewConsumer()
625 int allowedFlags = GRALLOC_USAGE_HW_VIDEO_ENCODER; in isVideoEncoderConsumer() local
627 (usageFlags & allowedFlags) != 0); in isVideoEncoderConsumer()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp460 int32_t allowedFlags = GraphicBuffer::USAGE_SW_READ_MASK | in createStream() local
464 (consumerUsage & allowedFlags) != 0; in createStream()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java1664 int allowedFlags = getAllowedIfdFlagsFromInfo(tagInfo); in setTagDefinition() local
1665 if ((ifdFlags & allowedFlags) != 0) { in setTagDefinition()