Home
last modified time | relevance | path

Searched refs:enableInterface (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetServiceImplTest.java130 mEthernetServiceImpl.enableInterface("" /* iface */, null /* listener */); in testEnableInterfaceRejectsWhenEthNotStarted()
152 mEthernetServiceImpl.enableInterface(null /* iface */, NULL_LISTENER); in testEnableInterfaceRejectsNullIface()
241 mEthernetServiceImpl.enableInterface(TEST_IFACE, NULL_LISTENER); in testEnableInterfaceRejectsWithoutManageEthPermission()
271 mEthernetServiceImpl.enableInterface(TEST_IFACE, NULL_LISTENER); in testEnableInterfaceRejectsTestRequestWithoutTestPermission()
314 mEthernetServiceImpl.enableInterface(TEST_IFACE, NULL_LISTENER); in testEnableInterface()
387 mEthernetServiceImpl.enableInterface(TEST_IFACE, NULL_LISTENER); in testEnableInterfaceForTestRequestDoesNotRequireNetPermission()
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/
DInterfaceEnabler.java36 public void enableInterface(String ifaceName) { in enableInterface() method in InterfaceEnabler
37 mEthernetManager.enableInterface(ifaceName, in enableInterface()
DMainActivity.java199 mInterfaceEnabler.enableInterface(getEnableDisableConnectIface()); in onEnableButtonClick()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DEthernetManagerTest.kt498 private fun enableInterface(iface: EthernetTestInterface) = EthernetOutcomeReceiver().also { in <lambda>() method
500 em.enableInterface(iface.name, handler::post, it) in <lambda>()
862 enableInterface(iface).expectResult(iface.name) in <lambda>()
870 enableInterface(iface).expectResult(iface.name) in <lambda>()
882 enableInterface(iface).expectError() in <lambda>()
/packages/modules/Connectivity/framework-t/src/android/net/
DIEthernetManager.aidl46 void enableInterface(String iface, in INetworkInterfaceOutcomeReceiver listener); in enableInterface() method
DEthernetManager.java574 public void enableInterface( in enableInterface() method in EthernetManager
582 mService.enableInterface(iface, proxy); in enableInterface()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetServiceImpl.java284 public void enableInterface(@NonNull final String iface, in enableInterface() method in EthernetServiceImpl
/packages/modules/Connectivity/framework-t/api/
Dsystem-current.txt249 …, android.Manifest.permission.MANAGE_ETHERNET_NETWORKS}) public void enableInterface(@NonNull Stri…