Home
last modified time | relevance | path

Searched refs:EthernetManager (Results 1 – 24 of 24) sorted by relevance

/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DEthernetManagerCompat.java20 import android.net.EthernetManager;
28 public static final int STATE_LINK_UP = EthernetManager.STATE_LINK_UP;
29 private final EthernetManager mEthernetManager;
30 private EthernetManager.InterfaceStateListener mInterfaceStateListener;
50 mEthernetManager = context.getSystemService(EthernetManager.class); in EthernetManagerCompat()
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/
DInterfaceEnabler.java20 import android.net.EthernetManager;
26 private final EthernetManager mEthernetManager;
32 mEthernetManager = applicationContext.getSystemService(EthernetManager.class); in InterfaceEnabler()
DConfigurationUpdater.java21 import android.net.EthernetManager;
40 private final EthernetManager mEthernetManager;
46 mEthernetManager = applicationContext.getSystemService(EthernetManager.class); in ConfigurationUpdater()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DEthernetConfig.java20 import android.net.EthernetManager;
31 private final EthernetManager mEthernetManager;
37 mEthernetManager = (EthernetManager) context.getSystemService(Context.ETHERNET_SERVICE); in EthernetConfig()
DConnectivityListener.java26 import android.net.EthernetManager;
27 import android.net.EthernetManager.InterfaceStateListener;
71 private final EthernetManager mEthernetManager;
104 mEthernetManager = mContext.getSystemService(EthernetManager.class); in ConnectivityListener()
123 if (state == EthernetManager.STATE_LINK_UP) { in ConnectivityListener()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DEthernetManagerPermissionTest.java25 import android.net.EthernetManager;
46 private EthernetManager mEthernetManager;
52 mEthernetManager = mContext.getSystemService(EthernetManager.class); in setUp()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DEthernetManagerTest.kt23 import android.net.EthernetManager in <lambda>()
24 import android.net.EthernetManager.ETHERNET_STATE_DISABLED in <lambda>()
25 import android.net.EthernetManager.ETHERNET_STATE_ENABLED in <lambda>()
26 import android.net.EthernetManager.InterfaceStateListener in <lambda>()
27 import android.net.EthernetManager.ROLE_CLIENT in <lambda>()
28 import android.net.EthernetManager.ROLE_NONE in <lambda>()
29 import android.net.EthernetManager.ROLE_SERVER in <lambda>()
30 import android.net.EthernetManager.STATE_ABSENT in <lambda>()
31 import android.net.EthernetManager.STATE_LINK_DOWN in <lambda>()
32 import android.net.EthernetManager.STATE_LINK_UP in <lambda>()
[all …]
DNetworkValidationTest.kt24 import android.net.EthernetManager
88 private val eth by lazy { context.assertHasService(EthernetManager::class.java) } in <lambda>()
112 context.getSystemService(EthernetManager::class.java) == null in setUp()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java34 import android.net.EthernetManager;
88 private final class EthernetListener implements EthernetManager.InterfaceStateListener {
91 if (state == EthernetManager.STATE_LINK_UP) { in onInterfaceStateChanged()
137 private final EthernetManager mEthernetManager;
138 private final EthernetManager.InterfaceStateListener mEthernetListener = new EthernetListener();
157 mEthernetManager = context.getSystemService(EthernetManager.class); in TetherEnabler()
/packages/modules/Connectivity/framework-t/api/
Dmodule-lib-lint-baseline.txt16 RequiresPermission: android.net.EthernetManager#disableInterface(String, java.util.concurrent.Execu…
18 RequiresPermission: android.net.EthernetManager#enableInterface(String, java.util.concurrent.Execut…
20 RequiresPermission: android.net.EthernetManager#updateConfiguration(String, android.net.EthernetNet…
Dmodule-lib-current.txt44 public class EthernetManager {
46 …istener(@NonNull java.util.concurrent.Executor, @NonNull android.net.EthernetManager.InterfaceStat…
49 …method public void removeInterfaceStateListener(@NonNull android.net.EthernetManager.InterfaceStat…
62 public static interface EthernetManager.InterfaceStateListener {
Dsystem-lint-baseline.txt14 RequiresPermission: android.net.EthernetManager#disableInterface(String, java.util.concurrent.Execu…
16 RequiresPermission: android.net.EthernetManager#enableInterface(String, java.util.concurrent.Execut…
18 RequiresPermission: android.net.EthernetManager#updateConfiguration(String, android.net.EthernetNet…
Dsystem-current.txt253 public class EthernetManager {
256 ….net.EthernetManager.TetheredInterfaceRequest requestTetheredInterface(@NonNull java.util.concurre…
260 public static interface EthernetManager.TetheredInterfaceCallback {
265 public static class EthernetManager.TetheredInterfaceRequest {
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetTracker.java19 import static android.net.EthernetManager.ETHERNET_STATE_DISABLED;
20 import static android.net.EthernetManager.ETHERNET_STATE_ENABLED;
28 import android.net.EthernetManager;
301 return (state == EthernetManager.STATE_ABSENT) ? null : getOrCreateIpConfiguration(iface); in getIpConfigurationForCallback()
557 return EthernetManager.STATE_LINK_UP; in getInterfaceState()
559 return EthernetManager.STATE_ABSENT; in getInterfaceState()
565 return EthernetManager.ROLE_CLIENT; in getInterfaceRole()
568 return EthernetManager.ROLE_SERVER; in getInterfaceRole()
570 return EthernetManager.ROLE_NONE; in getInterfaceRole()
652 if (getInterfaceState(iface) == EthernetManager.STATE_ABSENT) { in setInterfaceAdministrativeState()
[all …]
DEthernetNetworkFactory.java23 import android.net.EthernetManager;
172 return EthernetManager.STATE_ABSENT; in getInterfaceState()
174 return EthernetManager.STATE_LINK_DOWN; in getInterfaceState()
176 return EthernetManager.STATE_LINK_UP; in getInterfaceState()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DConnectivityListener.java25 import android.net.EthernetManager;
26 import android.net.EthernetManager.InterfaceStateListener;
71 private final EthernetManager mEthernetManager;
110 mEthernetManager = mContext.getSystemService(EthernetManager.class); in ConnectivityListener()
117 if (state == EthernetManager.STATE_LINK_UP) { in ConnectivityListener()
/packages/apps/Settings/src/com/android/settings/network/tether/
DTetherSettings.java37 import android.net.EthernetManager;
113 private EthernetManager mEm;
184 mEm = mContext.getSystemService(EthernetManager.class); in onCreate()
656 final EthernetManager em =
657 context.getSystemService(EthernetManager.class);
699 private static final class EthernetListener implements EthernetManager.InterfaceStateListener {
719 if (state == EthernetManager.STATE_LINK_UP) { in onInterfaceStateChanged()
/packages/modules/Connectivity/framework-t/src/android/net/
DConnectivityFrameworkInitializerTiramisu.java81 EthernetManager.class, in registerServiceWrappers()
84 return new EthernetManager(context, service); in registerServiceWrappers()
DEthernetManager.java52 public class EthernetManager { class
183 public EthernetManager(Context context, IEthernetManager service) { in EthernetManager() method in EthernetManager
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DEthernetTetheringTestBase.java53 import android.net.EthernetManager.TetheredInterfaceCallback;
54 import android.net.EthernetManager.TetheredInterfaceRequest;
146 protected static final EthernetManager sEm = sContext.getSystemService(EthernetManager.class);
/packages/modules/Connectivity/framework-t/hiddenapi/
Dhiddenapi-max-target-o-low-priority-tiramisu.txt80 Landroid/net/EthernetManager;-><init>(Landroid/content/Context;Landroid/net/IEthernetManager;)V
81 Landroid/net/EthernetManager;->mContext:Landroid/content/Context;
82 Landroid/net/EthernetManager;->mHandler:Landroid/os/Handler;
83 Landroid/net/EthernetManager;->mListeners:Ljava/util/ArrayList;
84 Landroid/net/EthernetManager;->mService:Landroid/net/IEthernetManager;
85 Landroid/net/EthernetManager;->mServiceListener:Landroid/net/IEthernetServiceListener$Stub;
86 Landroid/net/EthernetManager;->MSG_AVAILABILITY_CHANGED:I
87 Landroid/net/EthernetManager;->TAG:Ljava/lang/String;
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java84 import android.net.EthernetManager;
277 private EthernetManager.TetheredInterfaceRequest mEthernetIfaceRequest;
926 final EthernetManager em = (EthernetManager) mContext.getSystemService( in setEthernetTethering()
954 private class EthernetCallback implements EthernetManager.TetheredInterfaceCallback {
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java128 import android.net.EthernetManager;
129 import android.net.EthernetManager.TetheredInterfaceCallback;
130 import android.net.EthernetManager.TetheredInterfaceRequest;
286 @Mock private EthernetManager mEm;
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java290 import android.net.EthernetManager;
637 @Mock EthernetManager mEthernetManager;