Home
last modified time | relevance | path

Searched refs:mEthernetServiceImpl (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetServiceImplTest.java81 private EthernetServiceImpl mEthernetServiceImpl; field in EthernetServiceImplTest
94 mEthernetServiceImpl = new EthernetServiceImpl(mContext, mHandler, mEthernetTracker); in setup()
95 mEthernetServiceImpl.mStarted.set(true); in setup()
111 mEthernetServiceImpl.mStarted.set(false); in testSetConfigurationRejectsWhenEthNotStarted()
113 mEthernetServiceImpl.setConfiguration("" /* iface */, new IpConfiguration()); in testSetConfigurationRejectsWhenEthNotStarted()
119 mEthernetServiceImpl.mStarted.set(false); in testUpdateConfigurationRejectsWhenEthNotStarted()
121 mEthernetServiceImpl.updateConfiguration( in testUpdateConfigurationRejectsWhenEthNotStarted()
128 mEthernetServiceImpl.mStarted.set(false); in testEnableInterfaceRejectsWhenEthNotStarted()
130 mEthernetServiceImpl.enableInterface("" /* iface */, null /* listener */); in testEnableInterfaceRejectsWhenEthNotStarted()
136 mEthernetServiceImpl.mStarted.set(false); in testDisableInterfaceRejectsWhenEthNotStarted()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/
DConnectivityServiceInitializer.java44 private final EthernetServiceImpl mEthernetServiceImpl; field in ConnectivityServiceInitializer
51 mEthernetServiceImpl = createEthernetService(context); in ConnectivityServiceInitializer()
62 if (mEthernetServiceImpl != null) { in onStart()
64 publishBinderService(Context.ETHERNET_SERVICE, mEthernetServiceImpl, in onStart()
107 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY && mEthernetServiceImpl != null) { in onBootPhase()
108 mEthernetServiceImpl.start(); in onBootPhase()