Searched refs:allowedFlags (Results 1 – 4 of 4) sorted by relevance
147 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument148 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()151 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
596 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_OFTEN | in isFlexibleConsumer() local599 (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()607 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_COMPOSER | in isPreviewConsumer() local610 (usageFlags & allowedFlags) != 0); in isPreviewConsumer()625 int allowedFlags = GRALLOC_USAGE_HW_VIDEO_ENCODER; in isVideoEncoderConsumer() local627 (usageFlags & allowedFlags) != 0); in isVideoEncoderConsumer()
460 int32_t allowedFlags = GraphicBuffer::USAGE_SW_READ_MASK | in createStream() local464 (consumerUsage & allowedFlags) != 0; in createStream()
1664 int allowedFlags = getAllowedIfdFlagsFromInfo(tagInfo); in setTagDefinition() local1665 if ((ifdFlags & allowedFlags) != 0) { in setTagDefinition()