Home
last modified time | relevance | path

Searched refs:validUsageBits (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/ui/
DGralloc2.cpp103 uint64_t validUsageBits = getValid10UsageBits(); in validateBufferDescriptorInfo() local
105 validUsageBits = validUsageBits | getValid11UsageBits(); in validateBufferDescriptorInfo()
108 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
110 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()
DGralloc3.cpp44 static const uint64_t validUsageBits = []() -> uint64_t { in getValidUsageBits() local
52 return validUsageBits; in getValidUsageBits()
97 uint64_t validUsageBits = getValidUsageBits(); in validateBufferDescriptorInfo() local
99 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
101 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()
DGralloc4.cpp52 static const uint64_t validUsageBits = []() -> uint64_t { in getValidUsageBits() local
60 return validUsageBits; in getValidUsageBits()
106 uint64_t validUsageBits = getValidUsageBits(); in validateBufferDescriptorInfo() local
108 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
110 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()