Searched refs:TetheringInterface (Results 1 – 12 of 12) sorted by relevance
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringInterface.java | 33 public final class TetheringInterface implements Parcelable { class 37 public TetheringInterface(@TetheringType int type, @NonNull String iface) { in TetheringInterface() method in TetheringInterface 43 private TetheringInterface(@NonNull Parcel in) { in TetheringInterface() method in TetheringInterface 71 if (!(obj instanceof TetheringInterface)) return false; in equals() 72 final TetheringInterface other = (TetheringInterface) obj; in equals() 82 public static final Creator<TetheringInterface> CREATOR = new Creator<TetheringInterface>() { 85 public TetheringInterface createFromParcel(@NonNull Parcel in) { 86 return new TetheringInterface(in); 91 public TetheringInterface[] newArray(int size) { 92 return new TetheringInterface[size];
|
D | TetherStatesParcel.aidl | 19 import android.net.TetheringInterface; 26 TetheringInterface[] availableList; 27 TetheringInterface[] tetheredList; 28 TetheringInterface[] localOnlyList; 29 TetheringInterface[] erroredIfaceList;
|
D | TetheringManager.java | 1014 default void onTetherableInterfacesChanged(@NonNull Set<TetheringInterface> interfaces) { 1037 default void onTetheredInterfacesChanged(@NonNull Set<TetheringInterface> interfaces) { 1060 default void onLocalOnlyInterfacesChanged(@NonNull Set<TetheringInterface> interfaces) { 1084 default void onError(@NonNull TetheringInterface iface, @TetheringIfaceError int error) { 1117 public static ArrayList<String> toIfaces(Collection<TetheringInterface> tetherIfaces) { 1119 for (TetheringInterface tether : tetherIfaces) { 1126 private static String[] toIfaces(TetheringInterface[] tetherIfaces) { 1211 private final HashMap<TetheringInterface, Integer> mErrorStates = new HashMap<>(); 1212 private TetheringInterface[] mLastTetherableInterfaces = null; 1213 private TetheringInterface[] mLastTetheredInterfaces = null; [all …]
|
D | TetheringInterface.aidl | 18 @JavaOnlyStableParcelable parcelable TetheringInterface;
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsTetheringUtils.java | 38 import android.net.TetheringInterface; 141 private static TetheringInterface getFirstMatchingTetheringInterface(final List<String> regexs, in getFirstMatchingTetheringInterface() 142 final int type, final Set<TetheringInterface> ifaces) { in getFirstMatchingTetheringInterface() 146 for (TetheringInterface iface : ifaces) { in getFirstMatchingTetheringInterface() 219 public void onTetherableInterfacesChanged(Set<TetheringInterface> interfaces) { in onTetherableInterfacesChanged() 231 public void onTetheredInterfacesChanged(Set<TetheringInterface> interfaces) { in onTetheredInterfacesChanged() 244 public void onError(TetheringInterface ifName, int error) { in onError() 261 private void assertHasAllTetheringInterfaces(Set<TetheringInterface> tetheringIfaces, in assertHasAllTetheringInterfaces() 266 for (TetheringInterface tether : tetheringIfaces) { in assertHasAllTetheringInterfaces() 278 final Set<TetheringInterface> interfaces = in expectTetherableInterfacesChanged() [all …]
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | system-current.txt | 22 public final class TetheringInterface implements android.os.Parcelable { 23 ctor public TetheringInterface(int, @NonNull String); 28 …field @NonNull public static final android.os.Parcelable.Creator<android.net.TetheringInterface> C… 86 method public default void onError(@NonNull android.net.TetheringInterface, int); 88 … default void onLocalOnlyInterfacesChanged(@NonNull java.util.Set<android.net.TetheringInterface>); 91 …default void onTetherableInterfacesChanged(@NonNull java.util.Set<android.net.TetheringInterface>); 93 …c default void onTetheredInterfacesChanged(@NonNull java.util.Set<android.net.TetheringInterface>);
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 98 import android.net.TetheringInterface; 914 final ArrayList<TetheringInterface> available = new ArrayList<>(); in sendTetherStateChangedBroadcast() 915 final ArrayList<TetheringInterface> tethered = new ArrayList<>(); in sendTetherStateChangedBroadcast() 916 final ArrayList<TetheringInterface> localOnly = new ArrayList<>(); in sendTetherStateChangedBroadcast() 917 final ArrayList<TetheringInterface> errored = new ArrayList<>(); in sendTetherStateChangedBroadcast() 927 final TetheringInterface tetheringIface = new TetheringInterface(type, iface); in sendTetherStateChangedBroadcast() 968 final ArrayList<TetheringInterface> available, in buildTetherStatesParcel() 969 final ArrayList<TetheringInterface> localOnly, in buildTetherStatesParcel() 970 final ArrayList<TetheringInterface> tethered, in buildTetherStatesParcel() 971 final ArrayList<TetheringInterface> errored, in buildTetherStatesParcel() [all …]
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/ |
D | Android.bp | 60 "src/android/net/TetheringInterface.aidl", 61 "src/android/net/TetheringInterface.java",
|
/packages/modules/Connectivity/Tethering/tests/mts/src/android/tethering/mts/ |
D | TetheringModuleTest.java | 38 import android.net.TetheringInterface; 107 final TetheringInterface tetheredIface = in addressConflictTest()
|
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 353 private final TetheringInterface mIface; 362 mIface = new TetheringInterface(TETHERING_ETHERNET, iface); in MyTetheringEventCallback() 375 public void onTetheredInterfacesChanged(Set<TetheringInterface> interfaces) { in onTetheredInterfacesChanged() 396 public void onLocalOnlyInterfacesChanged(Set<TetheringInterface> interfaces) { in onLocalOnlyInterfacesChanged()
|
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 50 import android.net.TetheringInterface; 261 final TetheringInterface tetheredIface = in testRegisterTetheringEventCallback() 277 new TetheringInterface(TETHERING_WIFI, wifiTetheringIface)); in testRegisterTetheringEventCallback()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 141 import android.net.TetheringInterface; 1826 final TetheringInterface wifiIface = new TetheringInterface( in testRegisterTetheringEventCallback() 1846 assertArrayEquals(tetherState.availableList, new TetheringInterface[] {wifiIface}); in testRegisterTetheringEventCallback() 1851 assertArrayEquals(tetherState.tetheredList, new TetheringInterface[] {wifiIface}); in testRegisterTetheringEventCallback() 1863 assertEquals(tetherState.tetheredList, new TetheringInterface[] {wifiIface}); in testRegisterTetheringEventCallback() 1872 assertArrayEquals(tetherState.availableList, new TetheringInterface[] {wifiIface}); in testRegisterTetheringEventCallback()
|