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

Commit 62c19d7c authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6542686 from 1e2e7410 to rvc-release

Change-Id: I1ffe794b9cac7929a0a8a576d25958824860d0b4
parents 09f02e05 1e2e7410
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -214,7 +214,10 @@ android_library {
    defaults: ["NetworkStackAppDefaults", "NetworkStackReleaseApiLevel"],
    static_libs: ["NetworkStackApiStableLib"],
    manifest: "AndroidManifestBase.xml",
    visibility: ["//frameworks/base/tests/net/integration"],
    visibility: [
        "//frameworks/base/tests/net/integration",
        "//cts/tests/tests/net",
    ],
}

cc_library_shared {
+8 −8
Original line number Diff line number Diff line
@@ -27,17 +27,17 @@ public class Layer2Information {
    @Nullable
    public final String mL2Key;
    @Nullable
    public final String mGroupHint;
    public final String mCluster;
    @Nullable
    public final MacAddress mBssid;

    /**
     * Create a Layer2Information with the specified configuration.
     */
    public Layer2Information(@Nullable final String l2Key, @Nullable final String groupHint,
    public Layer2Information(@Nullable final String l2Key, @Nullable final String cluster,
            @Nullable final MacAddress bssid) {
        mL2Key = l2Key;
        mGroupHint = groupHint;
        mCluster = cluster;
        mBssid = bssid;
    }

@@ -45,7 +45,7 @@ public class Layer2Information {
    public String toString() {
        StringBuffer str = new StringBuffer();
        str.append("L2Key: ").append(mL2Key);
        str.append(", GroupHint: ").append(mGroupHint);
        str.append(", Cluster: ").append(mCluster);
        str.append(", bssid: ").append(mBssid);
        return str.toString();
    }
@@ -56,7 +56,7 @@ public class Layer2Information {
    public Layer2InformationParcelable toStableParcelable() {
        final Layer2InformationParcelable p = new Layer2InformationParcelable();
        p.l2Key = mL2Key;
        p.groupHint = mGroupHint;
        p.cluster = mCluster;
        p.bssid = mBssid;
        return p;
    }
@@ -67,7 +67,7 @@ public class Layer2Information {
     */
    public static Layer2Information fromStableParcelable(Layer2InformationParcelable p) {
        if (p == null) return null;
        return new Layer2Information(p.l2Key, p.groupHint, p.bssid);
        return new Layer2Information(p.l2Key, p.cluster, p.bssid);
    }

    @Override
@@ -75,12 +75,12 @@ public class Layer2Information {
        if (!(obj instanceof Layer2Information)) return false;
        final Layer2Information other = (Layer2Information) obj;
        return Objects.equals(mL2Key, other.mL2Key)
                && Objects.equals(mGroupHint, other.mGroupHint)
                && Objects.equals(mCluster, other.mCluster)
                && Objects.equals(mBssid, other.mBssid);
    }

    @Override
    public int hashCode() {
        return Objects.hash(mL2Key, mGroupHint, mBssid);
        return Objects.hash(mL2Key, mCluster, mBssid);
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ public class ProvisioningConfiguration {
        }

        /**
         * Specify the L2 information(bssid, l2key and groupHint) that the IpClient should use.
         * Specify the L2 information(bssid, l2key and cluster) that the IpClient should use.
         */
        public Builder withLayer2Information(Layer2Information layer2Info) {
            mConfig.mLayer2Info = layer2Info;
+4 −1
Original line number Diff line number Diff line
@@ -43,6 +43,8 @@ aidl_interface {
        "3",
        "4",
        "5",
        "6",
        "7",
    ],
    visibility: [
        "//system/tools/aidl/build",
@@ -105,6 +107,7 @@ aidl_interface {
        "4",
        "5",
        "6",
        "7",
    ],
    // TODO: have tethering depend on networkstack-client and set visibility to private
    visibility: [
@@ -123,7 +126,7 @@ java_library {
        "src/android/net/networkstack/**/*.java",
    ],
    static_libs: [
        "ipmemorystore-aidl-interfaces-V5-java",
        "ipmemorystore-aidl-interfaces-java",
        "networkstack-aidl-interfaces-java",
    ],
    visibility: [
+1 −0
Original line number Diff line number Diff line
995043fb16c363208cbdb99c48bb775040d1f169
Loading