Searched refs:allowedFlags (Results 1 – 5 of 5) sorted by relevance
150 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument151 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()154 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
184 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument185 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()188 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
594 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_OFTEN | in isFlexibleConsumer() local597 (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()605 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_COMPOSER | in isPreviewConsumer() local608 (usageFlags & allowedFlags) != 0); in isPreviewConsumer()623 int allowedFlags = GRALLOC_USAGE_HW_VIDEO_ENCODER; in isVideoEncoderConsumer() local625 (usageFlags & allowedFlags) != 0); in isVideoEncoderConsumer()
784 int32_t allowedFlags = GraphicBuffer::USAGE_SW_READ_MASK | in createSurfaceFromGbp() local788 (consumerUsage & allowedFlags) != 0; in createSurfaceFromGbp()
1664 int allowedFlags = getAllowedIfdFlagsFromInfo(tagInfo); in setTagDefinition() local1665 if ((ifdFlags & allowedFlags) != 0) { in setTagDefinition()