Searched refs:enableInterface (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/ |
D | EthernetServiceImplTest.java | 130 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/ |
D | InterfaceEnabler.java | 36 public void enableInterface(String ifaceName) { in enableInterface() method in InterfaceEnabler 37 mEthernetManager.enableInterface(ifaceName, in enableInterface()
|
D | MainActivity.java | 199 mInterfaceEnabler.enableInterface(getEnableDisableConnectIface()); in onEnableButtonClick()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | EthernetManagerTest.kt | 498 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/ |
D | IEthernetManager.aidl | 46 void enableInterface(String iface, in INetworkInterfaceOutcomeReceiver listener); in enableInterface() method
|
D | EthernetManager.java | 574 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/ |
D | EthernetServiceImpl.java | 284 public void enableInterface(@NonNull final String iface, in enableInterface() method in EthernetServiceImpl
|
/packages/modules/Connectivity/framework-t/api/ |
D | system-current.txt | 249 …, android.Manifest.permission.MANAGE_ETHERNET_NETWORKS}) public void enableInterface(@NonNull Stri…
|