Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthPskPayloadTest.java98 byte[] expectedPayload = TestUtils.hexStringToByteArray(PSK_AUTH_PAYLOAD_HEX_STRING); in testBuildOutboundIkeAuthPskPayload()
99 assertEquals(expectedPayload.length, payloadLength); in testBuildOutboundIkeAuthPskPayload()
104 assertArrayEquals(expectedPayload, byteBuffer.array()); in testBuildOutboundIkeAuthPskPayload()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java491 boolean isIpv4, @NonNull final ByteBuffer expectedPayload) { in isExpectedUdpPacket() argument
493 if (p.remaining() != expectedPayload.limit()) return false; in isExpectedUdpPacket()
496 expectedPayload.asReadOnlyBuffer())); in isExpectedUdpPacket()
503 boolean isIpv4, @NonNull final ByteBuffer expectedPayload) { in isExpectedUdpDnsPacket() argument
505 return hasExpectedDnsMessage(p, expectedPayload); in isExpectedUdpDnsPacket()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2ETest.java624 JSONObject expectedPayload = expected.getJSONObject(TestFormatJsonMapping.PAYLOAD_KEY); in areEqualEventReportJsons() local
626 if (expectedPayload.getDouble(EventReportPayloadKeys.DOUBLE) in areEqualEventReportJsons()
632 expectedPayload.get(EventReportPayloadKeys.STRING_OR_ARRAY), in areEqualEventReportJsons()
638 expectedPayload.optJSONArray(EventReportPayloadKeys.ARRAY), in areEqualEventReportJsons()
644 if (!expectedPayload.optString(key, "").equals(actualPayload.optString(key, ""))) { in areEqualEventReportJsons()