Home
last modified time | relevance | path

Searched refs:mEm (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/tether/
DTetherSettings.java113 private EthernetManager mEm; field in TetherSettings
184 mEm = mContext.getSystemService(EthernetManager.class); in onCreate()
191 final boolean ethernetAvailable = (mEm != null); in onCreate()
380 if (mEm != null) { in onStart()
381 mEm.addInterfaceStateListener(mContext.getApplicationContext().getMainExecutor(), in onStart()
397 if (mEm != null) { in onStop()
398 mEm.removeInterfaceStateListener(mEthernetListener); in onStop()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java286 @Mock private EthernetManager mEm; field in TetheringTest
364 return mEm; in getSystemService()
2432 when(mEm.requestTetheredInterface(any(), any())).thenReturn(mockRequest); in testNoDuplicatedEthernetRequest()
2436 verify(mEm, times(1)).requestTetheredInterface(any(), any()); in testNoDuplicatedEthernetRequest()
2440 verifyNoMoreInteractions(mEm); in testNoDuplicatedEthernetRequest()
2446 verifyNoMoreInteractions(mEm); in testNoDuplicatedEthernetRequest()
2954 when(mEm.requestTetheredInterface(any(), any())).thenReturn(mockRequest); in testNoAddressAvailable()
2960 verify(mEm).requestTetheredInterface(any(), callbackCaptor.capture()); in testNoAddressAvailable()
2964 reset(mUsbManager, mEm); in testNoAddressAvailable()
2984 verify(mEm).requestTetheredInterface(any(), callbackCaptor.capture()); in testNoAddressAvailable()
[all …]
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar14572 z�Z��~�"��V]�����n7���u�mEm &G