Home
last modified time | relevance | path

Searched refs:allowedFlags (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java62 long allowedFlags = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | USAGE_HW_COMPOSER in isSurfaceForPreview() local
65 && (usageFlags & allowedFlags) != 0); in isSurfaceForPreview()
83 long allowedFlags = HardwareBuffer.USAGE_VIDEO_ENCODE; in isSurfaceForHwVideoEncoder() local
85 && (usageFlags & allowedFlags) != 0); in isSurfaceForHwVideoEncoder()
206 long allowedFlags = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE in isFlexibleConsumer() local
210 && (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DPreconditions.java185 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument
186 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()
189 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
/frameworks/libs/modules-utils/java/com/android/internal/util/
DPreconditions.java310 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument
311 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()
314 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.cpp464 uint64_t allowedFlags = GraphicBuffer::USAGE_SW_READ_MASK | in createSurfaceFromGbp() local
468 (consumerUsage & allowedFlags) != 0; in createSurfaceFromGbp()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java1664 int allowedFlags = getAllowedIfdFlagsFromInfo(tagInfo); in setTagDefinition() local
1665 if ((ifdFlags & allowedFlags) != 0) { in setTagDefinition()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java14917 int allowedFlags = LOCK_TASK_FEATURE_SYSTEM_INFO | LOCK_TASK_FEATURE_KEYGUARD in enforceCanSetLockTaskFeaturesOnFinancedDevice() local
14925 if ((flags & ~(allowedFlags)) != 0) { in enforceCanSetLockTaskFeaturesOnFinancedDevice()