/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiStateMachineTest.java | 701 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 …]
|
D | WifiConfigManagerTest.java | 798 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/ |
D | OsuNetworkConnectionTest.java | 90 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(true); in setUp() 193 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(false); in verifyNetworkConnectionWhenEnableNetworkFails()
|
D | PasspointNetworkEvaluatorTest.java | 214 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/ |
D | IWifiManager.aidl | 84 boolean enableNetwork(int netId, boolean disableOthers, String packageName); in enableNetwork() method
|
D | WifiManager.java | 1315 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/ |
D | OsuNetworkConnection.java | 196 if (!mWifiManager.enableNetwork(mNetworkId, true)) { in connect()
|
D | PasspointNetworkEvaluator.java | 158 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID); in createWifiConfigForProvider()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 162 boolean ret = mWifiManager.enableNetwork(netId, true); in testEnableDisableNetwork()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateMachine.java | 1141 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()
|
D | WifiConfigManager.java | 1503 public boolean enableNetwork(int networkId, boolean disableOthers, int uid) { in enableNetwork() method in WifiConfigManager
|
D | WifiServiceImpl.java | 1939 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() method in WifiServiceImpl
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 3929 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
|
D | hiddenapi-public-dex.txt | 27042 Landroid/net/wifi/WifiManager;->enableNetwork(IZ)Z
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 18038 method public boolean enableNetwork(int, boolean);
|
/frameworks/base/api/ |
D | current.txt | 28143 method public boolean enableNetwork(int, boolean);
|