Loading Android.bp +4 −1 Original line number Diff line number Diff line Loading @@ -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 { Loading common/moduleutils/src/android/net/shared/Layer2Information.java +8 −8 Original line number Diff line number Diff line Loading @@ -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; } Loading @@ -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(); } Loading @@ -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; } Loading @@ -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 Loading @@ -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); } } common/moduleutils/src/android/net/shared/ProvisioningConfiguration.java +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading common/networkstackclient/Android.bp +4 −1 Original line number Diff line number Diff line Loading @@ -43,6 +43,8 @@ aidl_interface { "3", "4", "5", "6", "7", ], visibility: [ "//system/tools/aidl/build", Loading Loading @@ -105,6 +107,7 @@ aidl_interface { "4", "5", "6", "7", ], // TODO: have tethering depend on networkstack-client and set visibility to private visibility: [ Loading @@ -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: [ Loading common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/6/.hash 0 → 100644 +1 −0 Original line number Diff line number Diff line 995043fb16c363208cbdb99c48bb775040d1f169 Loading
Android.bp +4 −1 Original line number Diff line number Diff line Loading @@ -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 { Loading
common/moduleutils/src/android/net/shared/Layer2Information.java +8 −8 Original line number Diff line number Diff line Loading @@ -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; } Loading @@ -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(); } Loading @@ -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; } Loading @@ -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 Loading @@ -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); } }
common/moduleutils/src/android/net/shared/ProvisioningConfiguration.java +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading
common/networkstackclient/Android.bp +4 −1 Original line number Diff line number Diff line Loading @@ -43,6 +43,8 @@ aidl_interface { "3", "4", "5", "6", "7", ], visibility: [ "//system/tools/aidl/build", Loading Loading @@ -105,6 +107,7 @@ aidl_interface { "4", "5", "6", "7", ], // TODO: have tethering depend on networkstack-client and set visibility to private visibility: [ Loading @@ -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: [ Loading
common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/6/.hash 0 → 100644 +1 −0 Original line number Diff line number Diff line 995043fb16c363208cbdb99c48bb775040d1f169