summaryrefslogtreecommitdiff
path: root/common/networkstackclient/src
diff options
context:
space:
mode:
authorXiao Ma <xiaom@google.com>2020-04-03 08:38:50 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-03 08:38:50 +0000
commit7d3fbd8b33327f9d12ea48b3b4f88332e0b5f379 (patch)
tree6b9f2fb6d13940f2bb8bc50aacfafad652c9247d /common/networkstackclient/src
parent87f896aa4ba047370585ab7705167e84b98de6ef (diff)
parentef0aa6f9e5718942a93c69bbe6be21bf6c0fa532 (diff)
Merge "Add new method to update Layer2 information when L2 roaming happens." into rvc-dev
Diffstat (limited to 'common/networkstackclient/src')
-rw-r--r--common/networkstackclient/src/android/net/Layer2InformationParcelable.aidl25
-rw-r--r--common/networkstackclient/src/android/net/ip/IIpClient.aidl2
2 files changed, 27 insertions, 0 deletions
diff --git a/common/networkstackclient/src/android/net/Layer2InformationParcelable.aidl b/common/networkstackclient/src/android/net/Layer2InformationParcelable.aidl
new file mode 100644
index 0000000..496d291
--- /dev/null
+++ b/common/networkstackclient/src/android/net/Layer2InformationParcelable.aidl
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2020 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package android.net;
+
+import android.net.MacAddress;
+
+parcelable Layer2InformationParcelable {
+ String l2Key;
+ String groupHint;
+ MacAddress bssid;
+}
diff --git a/common/networkstackclient/src/android/net/ip/IIpClient.aidl b/common/networkstackclient/src/android/net/ip/IIpClient.aidl
index ad94aee..0027949 100644
--- a/common/networkstackclient/src/android/net/ip/IIpClient.aidl
+++ b/common/networkstackclient/src/android/net/ip/IIpClient.aidl
@@ -15,6 +15,7 @@
*/
package android.net.ip;
+import android.net.Layer2InformationParcelable;
import android.net.ProxyInfo;
import android.net.ProvisioningConfigurationParcelable;
import android.net.NattKeepalivePacketDataParcelable;
@@ -36,4 +37,5 @@ oneway interface IIpClient {
void setL2KeyAndGroupHint(in String l2Key, in String groupHint);
void addNattKeepalivePacketFilter(int slot, in NattKeepalivePacketDataParcelable pkt);
void notifyPreconnectionComplete(boolean success);
+ void updateLayer2Information(in Layer2InformationParcelable info);
}