From 9e095e02f48d7640b5a31defc9fce18c8f108fdf Mon Sep 17 00:00:00 2001 From: Yuyang Huang Date: Tue, 28 May 2024 20:15:04 +0900 Subject: [PATCH] Add configurable payload size to sendPing() in ApfIntegrationTest Modified the sendPing() method in ApfIntegrationTest to allow setting the payload size for flexibility in testing scenarios. Test: TH Change-Id: Ie87a1defc7589ae3ce2f6d9ac182f790d59d0b3b --- .../src/android/net/cts/ApfIntegrationTest.kt | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt b/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt index a074b6759b..ea6256a928 100644 --- a/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt +++ b/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt @@ -192,8 +192,8 @@ class ApfIntegrationTest { futureReply!!.complete(recvbuf.sliceArray(8..