Lines Matching refs:res

83     int res = AHardwareBuffer_allocate(&desc, NULL);  in testAHardwareBuffer_allocate_FailsWithNullInput()  local
84 ASSERT_EQ(BAD_VALUE, res); in testAHardwareBuffer_allocate_FailsWithNullInput()
85 res = AHardwareBuffer_allocate(NULL, &buffer); in testAHardwareBuffer_allocate_FailsWithNullInput()
86 ASSERT_EQ(BAD_VALUE, res); in testAHardwareBuffer_allocate_FailsWithNullInput()
87 res = AHardwareBuffer_allocate(NULL, NULL); in testAHardwareBuffer_allocate_FailsWithNullInput()
88 ASSERT_EQ(BAD_VALUE, res); in testAHardwareBuffer_allocate_FailsWithNullInput()
101 int res = AHardwareBuffer_allocate(&desc, &buffer); in testAHardwareBuffer_allocate_BlobFormatRequiresHeight1() local
102 ASSERT_EQ(BAD_VALUE, res); in testAHardwareBuffer_allocate_BlobFormatRequiresHeight1()
105 res = AHardwareBuffer_allocate(&desc, &buffer); in testAHardwareBuffer_allocate_BlobFormatRequiresHeight1()
106 ASSERT_EQ(NO_ERROR, res); in testAHardwareBuffer_allocate_BlobFormatRequiresHeight1()
122 int res = AHardwareBuffer_allocate(&desc, &buffer); in testAHardwareBuffer_allocate_Succeeds() local
123 ASSERT_EQ(NO_ERROR, res); in testAHardwareBuffer_allocate_Succeeds()
133 res = AHardwareBuffer_allocate(&desc, &buffer); in testAHardwareBuffer_allocate_Succeeds()
134 ASSERT_EQ(NO_ERROR, res); in testAHardwareBuffer_allocate_Succeeds()
148 int res = AHardwareBuffer_allocate(&desc, &buffer); in testAHardwareBuffer_describe_Succeeds() local
149 ASSERT_EQ(NO_ERROR, res); in testAHardwareBuffer_describe_Succeeds()
267 int res = AHardwareBuffer_allocate(&desc, &buffer); in testAHardwareBufferSupportsLayeredBuffersForVr() local
268 ASSERT_EQ(NO_ERROR, res); in testAHardwareBufferSupportsLayeredBuffersForVr()
278 res = AHardwareBuffer_allocate(&desc, &buffer); in testAHardwareBufferSupportsLayeredBuffersForVr()
279 ASSERT_EQ(NO_ERROR, res); in testAHardwareBufferSupportsLayeredBuffersForVr()