Searched refs:allowedFlags (Results 1 – 4 of 4) sorted by relevance
82 public static void checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument83 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()86 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
551 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_OFTEN | in isFlexibleConsumer() local554 (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()562 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_COMPOSER | in isPreviewConsumer() local565 (usageFlags & allowedFlags) != 0); in isPreviewConsumer()580 int allowedFlags = GRALLOC_USAGE_HW_VIDEO_ENCODER; in isVideoEncoderConsumer() local582 (usageFlags & allowedFlags) != 0); in isVideoEncoderConsumer()
407 int32_t allowedFlags = GraphicBuffer::USAGE_SW_READ_MASK | in createStream() local411 (consumerUsage & allowedFlags) != 0; in createStream()
1664 int allowedFlags = getAllowedIfdFlagsFromInfo(tagInfo); in setTagDefinition() local1665 if ((ifdFlags & allowedFlags) != 0) { in setTagDefinition()