Searched refs:allowedFlags (Results 1 – 6 of 6) sorted by relevance
62 long allowedFlags = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | USAGE_HW_COMPOSER in isSurfaceForPreview() local65 && (usageFlags & allowedFlags) != 0); in isSurfaceForPreview()83 long allowedFlags = HardwareBuffer.USAGE_VIDEO_ENCODE; in isSurfaceForHwVideoEncoder() local85 && (usageFlags & allowedFlags) != 0); in isSurfaceForHwVideoEncoder()206 long allowedFlags = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE in isFlexibleConsumer() local210 && (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()
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()
310 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument311 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()314 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
464 uint64_t allowedFlags = GraphicBuffer::USAGE_SW_READ_MASK | in createSurfaceFromGbp() local468 (consumerUsage & allowedFlags) != 0; in createSurfaceFromGbp()
1664 int allowedFlags = getAllowedIfdFlagsFromInfo(tagInfo); in setTagDefinition() local1665 if ((ifdFlags & allowedFlags) != 0) { in setTagDefinition()
14917 int allowedFlags = LOCK_TASK_FEATURE_SYSTEM_INFO | LOCK_TASK_FEATURE_KEYGUARD in enforceCanSetLockTaskFeaturesOnFinancedDevice() local14925 if ((flags & ~(allowedFlags)) != 0) { in enforceCanSetLockTaskFeaturesOnFinancedDevice()