Searched refs:allowedFlags (Results 1 – 5 of 5) sorted by relevance
185 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument186 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()189 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
193 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument194 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()197 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
642 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_OFTEN | in isFlexibleConsumer() local645 (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()653 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_COMPOSER | in isPreviewConsumer() local656 (usageFlags & allowedFlags) != 0); in isPreviewConsumer()671 int allowedFlags = GRALLOC_USAGE_HW_VIDEO_ENCODER; in isVideoEncoderConsumer() local673 (usageFlags & allowedFlags) != 0); in isVideoEncoderConsumer()
1664 int allowedFlags = getAllowedIfdFlagsFromInfo(tagInfo); in setTagDefinition() local1665 if ((ifdFlags & allowedFlags) != 0) { in setTagDefinition()
1353 uint64_t allowedFlags = GraphicBuffer::USAGE_SW_READ_MASK | in createSurfaceFromGbp() local1357 (consumerUsage & allowedFlags) != 0; in createSurfaceFromGbp()