Home
last modified time | relevance | path

Searched refs:expectedBuffer (Results 1 – 4 of 4) 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/opt/net/ike/tests/iketests/src/java/com/android/ike/ikev2/
DIkeSocketTest.java171 ByteBuffer expectedBuffer = in testSendIkePacket() local
173 expectedBuffer.put(IkeSocket.NON_ESP_MARKER).put(mDataOne); in testSendIkePacket()
175 assertArrayEquals(expectedBuffer.array(), receivedData); in testSendIkePacket()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGenerator.cpp282 const T* expectedBuffer = reinterpret_cast<const T*>(op.buffer.data()); in expectNear() local
291 double expected = static_cast<double>(expectedBuffer[i]); in expectNear()