Searched refs:disallowedFlags (Results 1 – 2 of 2) sorted by relevance
60 long disallowedFlags = HardwareBuffer.USAGE_VIDEO_ENCODE | USAGE_RENDERSCRIPT in isSurfaceForPreview() local64 boolean previewConsumer = ((usageFlags & disallowedFlags) == 0 in isSurfaceForPreview()81 long disallowedFlags = USAGE_HW_COMPOSER in isSurfaceForHwVideoEncoder() local84 boolean videoEncoderConsumer = ((usageFlags & disallowedFlags) == 0 in isSurfaceForHwVideoEncoder()205 long disallowedFlags = HardwareBuffer.USAGE_VIDEO_ENCODE | USAGE_RENDERSCRIPT; in isFlexibleConsumer() local209 boolean flexibleConsumer = ((usageFlags & disallowedFlags) == 0 in isFlexibleConsumer()
462 uint64_t disallowedFlags = GraphicBuffer::USAGE_HW_VIDEO_ENCODER | in createSurfaceFromGbp() local467 bool flexibleConsumer = (consumerUsage & disallowedFlags) == 0 && in createSurfaceFromGbp()