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.java82 public static void checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument
83 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()
86 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java551 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_OFTEN | in isFlexibleConsumer() local
554 (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()
562 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_COMPOSER | in isPreviewConsumer() local
565 (usageFlags & allowedFlags) != 0); in isPreviewConsumer()
580 int allowedFlags = GRALLOC_USAGE_HW_VIDEO_ENCODER; in isVideoEncoderConsumer() local
582 (usageFlags & allowedFlags) != 0); in isVideoEncoderConsumer()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp407 int32_t allowedFlags = GraphicBuffer::USAGE_SW_READ_MASK | in createStream() local
411 (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()