Home
last modified time | relevance | path

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

/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/base/core/java/com/android/internal/util/
DPreconditions.java193 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument
194 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()
197 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java642 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_OFTEN | in isFlexibleConsumer() local
645 (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()
653 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_COMPOSER | in isPreviewConsumer() local
656 (usageFlags & allowedFlags) != 0); in isPreviewConsumer()
671 int allowedFlags = GRALLOC_USAGE_HW_VIDEO_ENCODER; in isVideoEncoderConsumer() local
673 (usageFlags & allowedFlags) != 0); in isVideoEncoderConsumer()
/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/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp1353 uint64_t allowedFlags = GraphicBuffer::USAGE_SW_READ_MASK | in createSurfaceFromGbp() local
1357 (consumerUsage & allowedFlags) != 0; in createSurfaceFromGbp()