Home
last modified time | relevance | path

Searched refs:mEthernetManager (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DEthernetConfig.java30 private final EthernetManager mEthernetManager; field in EthernetConfig
36 mEthernetManager = (EthernetManager) context.getSystemService(Context.ETHERNET_SERVICE); in EthernetConfig()
54 mEthernetManager.setConfiguration(mInterfaceName, mIpConfiguration); in save()
66 String[] ifaces = mEthernetManager.getAvailableInterfaces(); in load()
69 mIpConfiguration = mEthernetManager.getConfiguration(mInterfaceName); in load()
DConnectivityListener.java67 private final EthernetManager mEthernetManager; field in ConnectivityListener
104 mEthernetManager = mContext.getSystemService(EthernetManager.class); in ConnectivityListener()
285 && mEthernetManager.getAvailableInterfaces().length > 0; in isEthernetAvailable()
/packages/apps/Settings/src/com/android/settings/network/
DEthernetTetherPreferenceController.java38 private final EthernetManager mEthernetManager; field in EthernetTetherPreferenceController
46 mEthernetManager = (EthernetManager) context.getSystemService(Context.ETHERNET_SERVICE); in EthernetTetherPreferenceController()
57 mEthernetManager.addListener(mEthernetListener); in onStart()
62 mEthernetManager.removeListener(mEthernetListener); in onStop()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DEthernetTetherPreferenceControllerTest.java54 private EthernetManager mEthernetManager; field in EthernetTetherPreferenceControllerTest
70 when(mContext.getSystemService(Context.ETHERNET_SERVICE)).thenReturn(mEthernetManager); in setUp()
81 verify(mEthernetManager).addListener(eq(mController.mEthernetListener)); in lifecycle_shouldRegisterReceiverOnStart()
102 verify(mEthernetManager).removeListener(eq(listener)); in lifecycle_shouldUnregisterReceiverOnStop()