diff options
author | Xiao Ma <xiaom@google.com> | 2020-02-13 02:35:21 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-02-13 02:35:21 +0000 |
commit | 90004bc5c50c666d531fb4c642d9968d5d923503 (patch) | |
tree | 5546371cba523adaa6bad4e7b53a81b60abf1366 /common/networkstackclient/src/android/net | |
parent | 67ab467166a0343a6dc27a7c9adb04d877d9f40b (diff) | |
parent | c3a28323623f0ff3b98ab15e61141437a0fee90b (diff) |
Merge "Add ScanResultInfo object in ProvisioningConfiguration parcel."
Diffstat (limited to 'common/networkstackclient/src/android/net')
3 files changed, 48 insertions, 0 deletions
diff --git a/common/networkstackclient/src/android/net/InformationElementParcelable.aidl b/common/networkstackclient/src/android/net/InformationElementParcelable.aidl new file mode 100644 index 0000000..c70bf6f --- /dev/null +++ b/common/networkstackclient/src/android/net/InformationElementParcelable.aidl @@ -0,0 +1,22 @@ +/* + * 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; + +parcelable InformationElementParcelable { + int id; + byte[] payload; +} diff --git a/common/networkstackclient/src/android/net/ProvisioningConfigurationParcelable.aidl b/common/networkstackclient/src/android/net/ProvisioningConfigurationParcelable.aidl index 0b6d7d5..9fcb036 100644 --- a/common/networkstackclient/src/android/net/ProvisioningConfigurationParcelable.aidl +++ b/common/networkstackclient/src/android/net/ProvisioningConfigurationParcelable.aidl @@ -19,6 +19,7 @@ package android.net; import android.net.InitialConfigurationParcelable; import android.net.Network; +import android.net.ScanResultInfoParcelable; import android.net.StaticIpConfiguration; import android.net.apf.ApfCapabilities; @@ -36,4 +37,5 @@ parcelable ProvisioningConfigurationParcelable { Network network; String displayName; boolean enablePreconnection; + ScanResultInfoParcelable scanResultInfo; } diff --git a/common/networkstackclient/src/android/net/ScanResultInfoParcelable.aidl b/common/networkstackclient/src/android/net/ScanResultInfoParcelable.aidl new file mode 100644 index 0000000..f5f101d --- /dev/null +++ b/common/networkstackclient/src/android/net/ScanResultInfoParcelable.aidl @@ -0,0 +1,24 @@ +/* + * 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.InformationElementParcelable; + +parcelable ScanResultInfoParcelable { + String ssid; + InformationElementParcelable[] informationElements; +} |