Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26b78bc9 authored by Manoj Boopathi Raj's avatar Manoj Boopathi Raj Committed by android-build-merger
Browse files

Merge "Fixed NullPointerException in IpSecService-Netd binder layer" am: bf74a93e am: a096e8d1

am: 45e45558

Change-Id: I8c51bfa708622dfb47ae55438f08b98f04c1d6c6
parents 57b4c6b7 45e45558
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -944,13 +944,13 @@ public class IpSecService extends IIpSecService.Stub {
                                (c.getNetwork() != null) ? c.getNetwork().getNetworkHandle() : 0,
                                spi,
                                (auth != null) ? auth.getName() : "",
                                (auth != null) ? auth.getKey() : null,
                                (auth != null) ? auth.getKey() : new byte[] {},
                                (auth != null) ? auth.getTruncationLengthBits() : 0,
                                (crypt != null) ? crypt.getName() : "",
                                (crypt != null) ? crypt.getKey() : null,
                                (crypt != null) ? crypt.getKey() : new byte[] {},
                                (crypt != null) ? crypt.getTruncationLengthBits() : 0,
                                (authCrypt != null) ? authCrypt.getName() : "",
                                (authCrypt != null) ? authCrypt.getKey() : null,
                                (authCrypt != null) ? authCrypt.getKey() : new byte[] {},
                                (authCrypt != null) ? authCrypt.getTruncationLengthBits() : 0,
                                encapType,
                                encapLocalPort,
+6 −6
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ public class IpSecServiceParameterizedTest {
                        eq(CRYPT_KEY),
                        anyInt(),
                        eq(""),
                        isNull(),
                        eq(new byte[] {}),
                        eq(0),
                        anyInt(),
                        anyInt(),
@@ -227,7 +227,7 @@ public class IpSecServiceParameterizedTest {
                        eq(CRYPT_KEY),
                        anyInt(),
                        eq(""),
                        isNull(),
                        eq(new byte[] {}),
                        eq(0),
                        anyInt(),
                        anyInt(),
@@ -256,10 +256,10 @@ public class IpSecServiceParameterizedTest {
                        anyLong(),
                        eq(TEST_SPI_OUT),
                        eq(""),
                        isNull(),
                        eq(new byte[] {}),
                        eq(0),
                        eq(""),
                        isNull(),
                        eq(new byte[] {}),
                        eq(0),
                        eq(IpSecAlgorithm.AUTH_CRYPT_AES_GCM),
                        eq(CRYPT_KEY),
@@ -277,10 +277,10 @@ public class IpSecServiceParameterizedTest {
                        anyLong(),
                        eq(TEST_SPI_IN),
                        eq(""),
                        isNull(),
                        eq(new byte[] {}),
                        eq(0),
                        eq(""),
                        isNull(),
                        eq(new byte[] {}),
                        eq(0),
                        eq(IpSecAlgorithm.AUTH_CRYPT_AES_GCM),
                        eq(CRYPT_KEY),