/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | EthernetManagerCompat.java | 20 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/ |
D | InterfaceEnabler.java | 20 import android.net.EthernetManager; 26 private final EthernetManager mEthernetManager; 32 mEthernetManager = applicationContext.getSystemService(EthernetManager.class); in InterfaceEnabler()
|
D | ConfigurationUpdater.java | 21 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/ |
D | EthernetConfig.java | 20 import android.net.EthernetManager; 31 private final EthernetManager mEthernetManager; 37 mEthernetManager = (EthernetManager) context.getSystemService(Context.ETHERNET_SERVICE); in EthernetConfig()
|
D | ConnectivityListener.java | 26 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/ |
D | EthernetManagerPermissionTest.java | 25 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/ |
D | EthernetManagerTest.kt | 23 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 …]
|
D | NetworkValidationTest.kt | 24 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/ |
D | TetherEnabler.java | 34 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/ |
D | module-lib-lint-baseline.txt | 16 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…
|
D | module-lib-current.txt | 44 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 {
|
D | system-lint-baseline.txt | 14 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…
|
D | system-current.txt | 253 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/ |
D | EthernetTracker.java | 19 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 …]
|
D | EthernetNetworkFactory.java | 23 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/ |
D | ConnectivityListener.java | 25 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/ |
D | TetherSettings.java | 37 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/ |
D | ConnectivityFrameworkInitializerTiramisu.java | 81 EthernetManager.class, in registerServiceWrappers() 84 return new EthernetManager(context, service); in registerServiceWrappers()
|
D | EthernetManager.java | 52 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/ |
D | EthernetTetheringTestBase.java | 53 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/ |
D | hiddenapi-max-target-o-low-priority-tiramisu.txt | 80 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/ |
D | Tethering.java | 84 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/ |
D | TetheringTest.java | 128 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/ |
D | ConnectivityServiceTest.java | 290 import android.net.EthernetManager; 637 @Mock EthernetManager mEthernetManager;
|