Searched refs:mEm (Results 1 – 3 of 3) sorted by relevance
113 private EthernetManager mEm; field in TetherSettings184 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()
286 @Mock private EthernetManager mEm; field in TetheringTest364 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 …]
14572 z�Z��~�"��V]����n7���u�mEm&G