Searched refs:mEthernetManager (Results 1 – 4 of 4) sorted by relevance
30 private final EthernetManager mEthernetManager; field in EthernetConfig36 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()
67 private final EthernetManager mEthernetManager; field in ConnectivityListener104 mEthernetManager = mContext.getSystemService(EthernetManager.class); in ConnectivityListener()285 && mEthernetManager.getAvailableInterfaces().length > 0; in isEthernetAvailable()
38 private final EthernetManager mEthernetManager; field in EthernetTetherPreferenceController46 mEthernetManager = (EthernetManager) context.getSystemService(Context.ETHERNET_SERVICE); in EthernetTetherPreferenceController()57 mEthernetManager.addListener(mEthernetListener); in onStart()62 mEthernetManager.removeListener(mEthernetListener); in onStop()
54 private EthernetManager mEthernetManager; field in EthernetTetherPreferenceControllerTest70 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()