Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapSocketTest.java162 ByteBuffer expectedBuffer = in disableTestSendIkePacket() local
165 expectedBuffer.put(IkeUdpEncapPortPacketHandler.NON_ESP_MARKER).put(mDataOne); in disableTestSendIkePacket()
167 assertArrayEquals(expectedBuffer.array(), receivedData); in disableTestSendIkePacket()
/packages/modules/NeuralNetworks/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()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java618 ByteBuffer expectedBuffer = in testReassembleAllFrags() local
622 expectedBuffer.put(FRAGMENT_ONE_UNENCRYPTED_DATA).put(FRAGMENT_TWO_UNENCRYPTED_DATA); in testReassembleAllFrags()
625 assertArrayEquals(expectedBuffer.array(), reassembledBytes); in testReassembleAllFrags()