Home
last modified time | relevance | path

Searched refs:enableInterface (Results 1 – 11 of 11) 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/framework-t/api/
Dmodule-lib-lint-baseline.txt18 RequiresPermission: android.net.EthernetManager#enableInterface(String, java.util.concurrent.Execut…
19 …Method 'enableInterface' documentation mentions permissions already declared by @RequiresPermission
Dsystem-lint-baseline.txt16 RequiresPermission: android.net.EthernetManager#enableInterface(String, java.util.concurrent.Execut…
17 …Method 'enableInterface' documentation mentions permissions already declared by @RequiresPermission
Dsystem-current.txt255 …, android.Manifest.permission.MANAGE_ETHERNET_NETWORKS}) public void enableInterface(@NonNull Stri…
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DEthernetManagerTest.kt487 private fun enableInterface(iface: EthernetTestInterface) = EthernetOutcomeReceiver().also { in <lambda>() method
489 em.enableInterface(iface.name, handler::post, it) in <lambda>()
867 enableInterface(iface).expectResult(iface.name) in <lambda>()
875 enableInterface(iface).expectResult(iface.name) in <lambda>()
887 enableInterface(iface).expectError() in <lambda>()
902 enableInterface(iface).expectResult(iface.name) 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/Permission/tests/cts/permission/src/android/permission/cts/
DEthernetManagerPermissionTest.java96 () -> mEthernetManager.enableInterface(TEST_IFACE, null, null)); in testEnableInterface()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetServiceImpl.java286 public void enableInterface(@NonNull final String iface, in enableInterface() method in EthernetServiceImpl