Lines Matching refs:uint64_t
29 static ::testing::AssertionResult BuildHexFailureMessage(uint64_t expected, in BuildHexFailureMessage()
30 uint64_t actual, const char* type) { in BuildHexFailureMessage()
39 uint64_t grallocUsage, uint64_t hardwareBufferUsage) { in TestUsageConversion()
40 uint64_t convertedGrallocUsage = AHardwareBuffer_convertToGrallocUsageBits(hardwareBufferUsage); in TestUsageConversion()
44 … uint64_t convertedHArdwareBufferUsage = AHardwareBuffer_convertFromGrallocUsageBits(grallocUsage); in TestUsageConversion()
54 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::CPU_READ_RARELY, in TEST()
56 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::CPU_READ_OFTEN, in TEST()
58 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::CPU_WRITE_RARELY, in TEST()
60 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::CPU_WRITE_OFTEN, in TEST()
63 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::GPU_TEXTURE, in TEST()
65 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::GPU_RENDER_TARGET, in TEST()
67 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::GPU_DATA_BUFFER, in TEST()
69 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::PROTECTED, in TEST()
71 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::SENSOR_DIRECT_DATA, in TEST()
73 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::VIDEO_ENCODER, in TEST()
99 (uint64_t)BufferUsage::CPU_READ_RARELY | in TEST()
100 (uint64_t)BufferUsage::CPU_WRITE_RARELY, in TEST()
104 (uint64_t)BufferUsage::GPU_RENDER_TARGET | (uint64_t)BufferUsage::GPU_TEXTURE | in TEST()