diff options
| author | Xiao Ma <xiaom@google.com> | 2021-12-16 15:14:34 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-12-16 15:14:34 +0000 |
| commit | 5266f9e9d667f23b65b51dfcebaef210ef3c5ff7 (patch) | |
| tree | cd48da0a7f24eae9684440aa2846145e5da6ea34 /framework-t/src/android/net/IEthernetManager.aidl | |
| parent | b1b2a5ebd3c99a655005e1213a533d8b37731fc1 (diff) | |
| parent | 9a735b3dd095ec3e496d23b98855a3ff17eafca8 (diff) | |
Merge "Move Ethernet related files to f/b/packages/ConnectivityT." am: 84f212ded1 am: 3190e7cc92 am: 9a735b3dd0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922218
Change-Id: I36c9dea2d0026357c2292cf67d1a45424adeaf12
Diffstat (limited to 'framework-t/src/android/net/IEthernetManager.aidl')
| -rw-r--r-- | framework-t/src/android/net/IEthernetManager.aidl | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/framework-t/src/android/net/IEthernetManager.aidl b/framework-t/src/android/net/IEthernetManager.aidl new file mode 100644 index 0000000000..e058e5a70c --- /dev/null +++ b/framework-t/src/android/net/IEthernetManager.aidl @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2014 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.IpConfiguration; +import android.net.IEthernetServiceListener; +import android.net.ITetheredInterfaceCallback; + +/** + * Interface that answers queries about, and allows changing + * ethernet configuration. + */ +/** {@hide} */ +interface IEthernetManager +{ + String[] getAvailableInterfaces(); + IpConfiguration getConfiguration(String iface); + void setConfiguration(String iface, in IpConfiguration config); + boolean isAvailable(String iface); + void addListener(in IEthernetServiceListener listener); + void removeListener(in IEthernetServiceListener listener); + void setIncludeTestInterfaces(boolean include); + void requestTetheredInterface(in ITetheredInterfaceCallback callback); + void releaseTetheredInterface(in ITetheredInterfaceCallback callback); +} |
