Searched refs:bytesPerStride (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 332 int32_t bytesPerStride = std::numeric_limits<int32_t>::min(); in TEST() local 335 …int err = AHardwareBuffer_lockAndGetInfo(NULL, 0, -1, NULL, NULL, &bytesPerPixel, &bytesPerStride); in TEST() 343 …SK | AHARDWAREBUFFER_USAGE_CPU_READ_MASK), -1, NULL, &bufferData, &bytesPerPixel, &bytesPerStride); in TEST() 346 …er, AHARDWAREBUFFER_USAGE_CPU_READ_RARELY, -1, NULL, &bufferData, &bytesPerPixel, &bytesPerStride); in TEST() 348 if (bytesPerPixel == -1 || bytesPerStride == -1) { in TEST() 353 EXPECT_LE(0, bytesPerStride); in TEST()
|