Home
last modified time | relevance | path

Searched refs:hexStringToInt (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeDeletePayloadTest.java88 int expectedChildSpi = TestUtils.hexStringToInt(CHILD_SPI); in testDecodeDeleteChildPayload()
165 int[] childSpis = new int[] {TestUtils.hexStringToInt(CHILD_SPI)}; in testOutboundConstructorWithSingleChildSa()
207 int[] childSpis = new int[] {TestUtils.hexStringToInt(CHILD_SPI)}; in testEncodeWithSingleChildSa()
222 .mapToInt(val -> TestUtils.hexStringToInt(val)) in testEncodeWithMultipleChildSas()
244 int[] childSpis = new int[] {TestUtils.hexStringToInt(CHILD_SPI)}; in testPayloadLengthWithSingleChildSa()
256 .mapToInt(val -> TestUtils.hexStringToInt(val)) in testPayloadLengthWithMultipleChildSas()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtClientErrorCodeTest.java19 import static com.android.internal.net.TestUtils.hexStringToInt;
61 assertEquals(hexStringToInt(ERROR_CODE), atClientErrorCode.errorCode); in testDecode()
77 EXPECTED_LENGTH, hexStringToInt(ERROR_CODE)); in testEncode()
DAtNotificationTest.java19 import static com.android.internal.net.TestUtils.hexStringToInt;
68 assertEquals(hexStringToInt(NOTIFICATION_CODE), atNotification.notificationCode); in testDecode()
93 AtNotification atNotification = new AtNotification(hexStringToInt(NOTIFICATION_CODE)); in testEncode()
DAtVersionListTest.java19 import static com.android.internal.net.TestUtils.hexStringToInt;
79 AtVersionList atVersionList = new AtVersionList(EXPECTED_LENGTH, hexStringToInt(VERSION)); in testEncode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/
DTestUtils.java48 public static int hexStringToInt(String hexString) { in hexStringToInt() method in TestUtils