Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestPixelComparator.cpp42 android::sp<android::GraphicBuffer>& expectedBuffer) in CompareBuffers() argument
49 expectedBuffer->lock(static_cast<uint32_t>(BufferUsage::CPU_READ_OFTEN), in CompareBuffers()
59 uint32_t expected = getPixel(x, y, expectedBuffer->getStride(), in CompareBuffers()
72 expectedBuffer->unlock(); in CompareBuffers()
DHwc2TestPixelComparator.h34 android::sp<android::GraphicBuffer>& expectedBuffer);
/frameworks/ml/nn/tools/test_generator/test_harness/
DTestHarness.cpp72 const T* expectedBuffer = op.data.get<T>(); in expectNear() local
78 double expected = static_cast<double>(expectedBuffer[i]); in expectNear()
118 const bool8* expectedBuffer = op.data.get<bool8>(); in expectBooleanNearlyEqual() local
122 if (expectedBuffer[i] != actualBuffer[i]) { in expectBooleanNearlyEqual()
124 errorMsg << " Expected: " << expectedBuffer[i] << ", actual: " << actualBuffer[i] in expectBooleanNearlyEqual()