Home
last modified time | relevance | path

Searched refs:enableNetwork (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateMachineTest.java701 when(mWifiConfigManager.enableNetwork(eq(networkId), eq(false), anyInt())) in canSaveNetworkConfig()
710 verify(mWifiConfigManager).enableNetwork(eq(networkId), eq(false), anyInt()); in canSaveNetworkConfig()
743 .enableNetwork(anyInt(), anyBoolean(), anyInt()); in saveNetworkConfigFailsWithNullConfig()
763 .enableNetwork(anyInt(), anyBoolean(), anyInt()); in saveNetworkConfigFailsWithConfigAddFailure()
776 when(mWifiConfigManager.enableNetwork(eq(networkId), eq(false), anyInt())) in saveNetworkConfigFailsWithConfigEnableFailure()
785 verify(mWifiConfigManager).enableNetwork(eq(networkId), eq(false), anyInt()); in saveNetworkConfigFailsWithConfigEnableFailure()
859 when(mWifiConfigManager.enableNetwork(eq(config.networkId), eq(true), anyInt())) in setupAndStartConnectSequence()
877 verify(mWifiConfigManager).enableNetwork(eq(config.networkId), eq(true), anyInt()); in validateSuccessfulConnectSequence()
885 verify(mWifiConfigManager).enableNetwork(eq(config.networkId), eq(true), anyInt()); in validateFailureConnectSequence()
924 verify(mWifiConfigManager).enableNetwork(eq(config.networkId), eq(true), anyInt()); in triggerConnectFromNonSettingsApp()
[all …]
DWifiConfigManagerTest.java798 assertTrue(mWifiConfigManager.enableNetwork( in testEnableDisableNetwork()
827 assertTrue(mWifiConfigManager.enableNetwork( in testEnableDisableNetworkFailedDueToPermissionDenied()
918 assertFalse(mWifiConfigManager.enableNetwork( in testChangeConfigurationWithInvalidNetworkId()
1564 assertTrue(mWifiConfigManager.enableNetwork(network1.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList()
1565 assertTrue(mWifiConfigManager.enableNetwork(network2.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList()
1566 assertTrue(mWifiConfigManager.enableNetwork(network3.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList()
1612 assertTrue(mWifiConfigManager.enableNetwork( in testRetrievePnoListDoesNotContainEphemeralOrPasspointNetworks()
1614 assertTrue(mWifiConfigManager.enableNetwork( in testRetrievePnoListDoesNotContainEphemeralOrPasspointNetworks()
1616 assertTrue(mWifiConfigManager.enableNetwork( in testRetrievePnoListDoesNotContainEphemeralOrPasspointNetworks()
2851 assertTrue(mWifiConfigManager.enableNetwork( in testLastSelectedNetwork()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java90 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(true); in setUp()
193 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(false); in verifyNetworkConnectionWhenEnableNetworkFails()
DPasspointNetworkEvaluatorTest.java214 verify(mWifiConfigManager).enableNetwork(eq(TEST_NETWORK_ID), eq(false), anyInt()); in evaluateScansWithNetworkMatchingHomeProvider()
257 verify(mWifiConfigManager).enableNetwork(eq(TEST_NETWORK_ID), eq(false), anyInt()); in evaluateScansWithNetworkMatchingRoamingProvider()
302 verify(mWifiConfigManager).enableNetwork(eq(TEST_NETWORK_ID), eq(false), anyInt()); in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl84 boolean enableNetwork(int netId, boolean disableOthers, String packageName); in enableNetwork() method
DWifiManager.java1315 public boolean enableNetwork(int netId, boolean attemptConnect) { in enableNetwork() method in WifiManager
1328 success = mService.enableNetwork(netId, attemptConnect, mContext.getOpPackageName()); in enableNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java196 if (!mWifiManager.enableNetwork(mNetworkId, true)) { in connect()
DPasspointNetworkEvaluator.java158 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID); in createWifiConfigForProvider()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java162 boolean ret = mWifiManager.enableNetwork(netId, true); in testEnableDisableNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java1141 if (!mWifiConfigManager.enableNetwork(netId, true, uid) in connectToUserSelectNetwork()
3304 boolean ok = mWifiConfigManager.enableNetwork( in processMessage()
3999 ok = mWifiConfigManager.enableNetwork(netId, false, message.sendingUid); in processMessage()
5792 if (!mWifiConfigManager.enableNetwork( in saveNetworkConfigAndSendReply()
DWifiConfigManager.java1503 public boolean enableNetwork(int networkId, boolean disableOthers, int uid) { in enableNetwork() method in WifiConfigManager
DWifiServiceImpl.java1939 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() method in WifiServiceImpl
/frameworks/base/config/
Dboot-image-profile.txt3929 HPLandroid/net/wifi/IWifiManager$Stub$Proxy;->enableNetwork(IZLjava/lang/String;)Z
4031 HPLandroid/net/wifi/WifiManager;->enableNetwork(IZ)Z
26530 HSPLandroid/net/wifi/IWifiManager;->enableNetwork(IZLjava/lang/String;)Z
Dhiddenapi-public-dex.txt27042 Landroid/net/wifi/WifiManager;->enableNetwork(IZ)Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18038 method public boolean enableNetwork(int, boolean);
/frameworks/base/api/
Dcurrent.txt28143 method public boolean enableNetwork(int, boolean);