Home
last modified time | relevance | path

Searched refs:disableInterface (Results 1 – 11 of 11) 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.kt481 private fun disableInterface(iface: EthernetTestInterface) = EthernetOutcomeReceiver().also { in <lambda>() method
483 em.disableInterface(iface.name, handler::post, it) in <lambda>()
864 disableInterface(iface).expectResult(iface.name) in <lambda>()
877 disableInterface(iface).expectResult(iface.name) in <lambda>()
879 disableInterface(iface).expectResult(iface.name) in <lambda>()
888 disableInterface(iface).expectError() in <lambda>()
899 disableInterface(iface).expectResult(iface.name) in <lambda>()
905 disableInterface(iface).expectResult(iface.name) in <lambda>()
/packages/modules/Connectivity/framework-t/api/
Dmodule-lib-lint-baseline.txt16 RequiresPermission: android.net.EthernetManager#disableInterface(String, java.util.concurrent.Execu…
17 …Method 'disableInterface' documentation mentions permissions already declared by @RequiresPermissi…
Dsystem-lint-baseline.txt14 RequiresPermission: android.net.EthernetManager#disableInterface(String, java.util.concurrent.Execu…
15 …Method 'disableInterface' documentation mentions permissions already declared by @RequiresPermissi…
Dsystem-current.txt254 … android.Manifest.permission.MANAGE_ETHERNET_NETWORKS}) public void disableInterface(@NonNull Stri…
/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/Permission/tests/cts/permission/src/android/permission/cts/
DEthernetManagerPermissionTest.java111 () -> mEthernetManager.disableInterface(TEST_IFACE, null, null)); in testDisableInterface()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetServiceImpl.java298 public void disableInterface(@NonNull final String iface, in disableInterface() method in EthernetServiceImpl