Searched refs:hexStringToInt (Results 1 – 5 of 5) sorted by relevance
88 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()
19 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()
19 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()
19 import static com.android.internal.net.TestUtils.hexStringToInt;79 AtVersionList atVersionList = new AtVersionList(EXPECTED_LENGTH, hexStringToInt(VERSION)); in testEncode()
48 public static int hexStringToInt(String hexString) { in hexStringToInt() method in TestUtils