Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetServiceImplTest.java138 mEthernetServiceImpl.disableInterface("" /* iface */, null /* listener */); in testDisableInterfaceRejectsWhenEthNotStarted()
159 mEthernetServiceImpl.disableInterface(null /* iface */, NULL_LISTENER); in testDisableInterfaceRejectsNullIface()
249 mEthernetServiceImpl.disableInterface(TEST_IFACE, NULL_LISTENER); in testDisableInterfaceRejectsWithoutManageEthPermission()
280 mEthernetServiceImpl.disableInterface(TEST_IFACE, NULL_LISTENER); in testDisableInterfaceRejectsTestRequestWithoutTestPermission()
321 mEthernetServiceImpl.disableInterface(TEST_IFACE, NULL_LISTENER); in testDisableInterface()
398 mEthernetServiceImpl.disableInterface(TEST_IFACE, NULL_LISTENER); in testDisableInterfaceForTestRequestDoesNotRequireAutoOrNetPermission()
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/
DInterfaceEnabler.java42 public void disableInterface(String ifaceName) { in disableInterface() method in InterfaceEnabler
43 mEthernetManager.disableInterface(ifaceName, in disableInterface()
DMainActivity.java211 mInterfaceEnabler.disableInterface(getEnableDisableConnectIface()); in onDisableButtonClick()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DEthernetManagerTest.kt492 private fun disableInterface(iface: EthernetTestInterface) = EthernetOutcomeReceiver().also { in <lambda>() method
494 em.disableInterface(iface.name, handler::post, it) in <lambda>()
859 disableInterface(iface).expectResult(iface.name) in <lambda>()
872 disableInterface(iface).expectResult(iface.name) in <lambda>()
874 disableInterface(iface).expectResult(iface.name) in <lambda>()
883 disableInterface(iface).expectError() in <lambda>()
/packages/modules/Connectivity/framework-t/src/android/net/
DIEthernetManager.aidl47 void disableInterface(String iface, in INetworkInterfaceOutcomeReceiver listener); in disableInterface() method
DEthernetManager.java610 public void disableInterface( in disableInterface() method in EthernetManager
618 mService.disableInterface(iface, proxy); in disableInterface()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetServiceImpl.java296 public void disableInterface(@NonNull final String iface, in disableInterface() method in EthernetServiceImpl
/packages/modules/Connectivity/framework-t/api/
Dsystem-current.txt248 … android.Manifest.permission.MANAGE_ETHERNET_NETWORKS}) public void disableInterface(@NonNull Stri…