Home
last modified time | relevance | path

Searched refs:EthernetCallback (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetServiceImplTest.java214 any(EthernetCallback.class)); in testUpdateConfigurationWithCapabilitiesWithAutomotiveFeature()
291 any(EthernetCallback.class)); in testUpdateConfiguration()
309 eq(ncWithSpecifier), any(EthernetCallback.class)); in testUpdateConfigurationAddsSpecifierWhenNotSet()
316 any(EthernetCallback.class)); in testEnableInterface()
323 any(EthernetCallback.class)); in testDisableInterface()
336 eq(request.getNetworkCapabilities()), any(EthernetCallback.class)); in testUpdateConfigurationAcceptsTestRequestWithNullCapabilities()
346 any(EthernetCallback.class)); in testUpdateConfigurationAcceptsRequestWithNullIpConfiguration()
378 eq(request.getNetworkCapabilities()), any(EthernetCallback.class)); in testUpdateConfigurationForTestRequestDoesNotRequireAutoOrEthernetPermission()
389 any(EthernetCallback.class)); in testEnableInterfaceForTestRequestDoesNotRequireNetPermission()
400 any(EthernetCallback.class)); in testDisableInterfaceForTestRequestDoesNotRequireAutoOrNetPermission()
DEthernetTrackerTest.java68 private static final EthernetCallback NULL_CB = new EthernetCallback(null);
337 final EthernetCallback listener = new EthernetCallback(null); in testUpdateConfiguration()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetCallback.java28 public class EthernetCallback { class
29 private static final String TAG = EthernetCallback.class.getSimpleName();
32 public EthernetCallback(INetworkInterfaceOutcomeReceiver receiver) { in EthernetCallback() method in EthernetCallback
DEthernetServiceImpl.java282 iface, request.getIpConfiguration(), nc, new EthernetCallback(cb)); in updateConfiguration()
294 mTracker.setInterfaceEnabled(iface, true /* enabled */, new EthernetCallback(cb)); in enableInterface()
306 mTracker.setInterfaceEnabled(iface, false /* enabled */, new EthernetCallback(cb)); in disableInterface()
DEthernetTracker.java358 @Nullable final EthernetCallback cb) { in updateConfiguration()
390 public void setInterfaceEnabled(String iface, boolean enabled, EthernetCallback cb) { in setInterfaceEnabled()
651 private void setInterfaceAdministrativeState(String iface, boolean up, EthernetCallback cb) { in setInterfaceAdministrativeState()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java281 private EthernetCallback mEthernetCallback;
934 mEthernetCallback = new EthernetCallback(); in setEthernetTethering()
954 private class EthernetCallback implements EthernetManager.TetheredInterfaceCallback { class in Tethering