Home
last modified time | relevance | path

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

/frameworks/support/compat/java/android/support/v4/util/
DPreconditions.java150 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument
151 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()
154 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java184 public static int checkFlagsArgument(final int requestedFlags, final int allowedFlags) { in checkFlagsArgument() argument
185 if ((requestedFlags & allowedFlags) != requestedFlags) { in checkFlagsArgument()
188 + Integer.toHexString(allowedFlags) + " are allowed"); in checkFlagsArgument()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java594 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_OFTEN | in isFlexibleConsumer() local
597 (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()
605 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_COMPOSER | in isPreviewConsumer() local
608 (usageFlags & allowedFlags) != 0); in isPreviewConsumer()
623 int allowedFlags = GRALLOC_USAGE_HW_VIDEO_ENCODER; in isVideoEncoderConsumer() local
625 (usageFlags & allowedFlags) != 0); in isVideoEncoderConsumer()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp784 int32_t allowedFlags = GraphicBuffer::USAGE_SW_READ_MASK | in createSurfaceFromGbp() local
788 (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()