Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java744 when(mWifiConfigManager.enableNetwork(eq(networkId), eq(false), anyInt())) in canSaveNetworkConfig()
753 verify(mWifiConfigManager).enableNetwork(eq(networkId), eq(false), anyInt()); in canSaveNetworkConfig()
786 .enableNetwork(anyInt(), anyBoolean(), anyInt()); in saveNetworkConfigFailsWithNullConfig()
806 .enableNetwork(anyInt(), anyBoolean(), anyInt()); in saveNetworkConfigFailsWithConfigAddFailure()
819 when(mWifiConfigManager.enableNetwork(eq(networkId), eq(false), anyInt())) in saveNetworkConfigFailsWithConfigEnableFailure()
828 verify(mWifiConfigManager).enableNetwork(eq(networkId), eq(false), anyInt()); in saveNetworkConfigFailsWithConfigEnableFailure()
904 when(mWifiConfigManager.enableNetwork(eq(config.networkId), eq(true), anyInt())) in setupAndStartConnectSequence()
921 verify(mWifiConfigManager).enableNetwork(eq(config.networkId), eq(true), anyInt()); in validateSuccessfulConnectSequence()
929 verify(mWifiConfigManager).enableNetwork(eq(config.networkId), eq(true), anyInt()); in validateFailureConnectSequence()
970 verify(mWifiConfigManager).enableNetwork(eq(config.networkId), eq(true), anyInt()); in triggerConnectFromNonSettingsApp()
[all …]
DWifiConfigManagerTest.java1201 assertTrue(mWifiConfigManager.enableNetwork( in testEnableDisableNetwork()
1236 assertFalse(mWifiConfigManager.enableNetwork( in testEnableNetworkFailedDueToPermissionDenied()
1259 assertTrue(mWifiConfigManager.enableNetwork( in testDisableNetworkFailedDueToPermissionDenied()
1349 assertFalse(mWifiConfigManager.enableNetwork( in testChangeConfigurationWithInvalidNetworkId()
2087 assertTrue(mWifiConfigManager.enableNetwork(network1.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList()
2088 assertTrue(mWifiConfigManager.enableNetwork(network2.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList()
2089 assertTrue(mWifiConfigManager.enableNetwork(network3.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList()
2137 assertTrue(mWifiConfigManager.enableNetwork(network1.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoListFrequencies()
2138 assertTrue(mWifiConfigManager.enableNetwork(network2.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoListFrequencies()
2197 assertTrue(mWifiConfigManager.enableNetwork(network1.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoListFrequenciesFlagDisabled()
[all …]
DCarrierNetworkEvaluatorTest.java145 when(mWifiConfigManager.enableNetwork(networkId, false, Process.WIFI_UID)).thenReturn(true); in configureNewSsid()
DWifiServiceImplTest.java3877 mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME); in testEnableNetworkAllowedForPrivilegedApps()
3895 mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME); in testEnabledNetworkAllowedForAppsTargetingLessThanQ()
3911 mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME); in testEnableNetworkNotAllowedForAppsTargetingQ()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java94 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(true); in setUp()
199 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(false); in verifyNetworkConnectionWhenEnableNetworkFails()
DPasspointNetworkEvaluatorTest.java237 verify(mWifiConfigManager).enableNetwork(eq(TEST_NETWORK_ID), eq(false), anyInt()); in evaluateScansWithNetworkMatchingHomeProvider()
280 verify(mWifiConfigManager).enableNetwork(eq(TEST_NETWORK_ID), eq(false), anyInt()); in evaluateScansWithNetworkMatchingRoamingProvider()
325 verify(mWifiConfigManager).enableNetwork(eq(TEST_NETWORK_ID), eq(false), anyInt()); in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConnectionFailureNotifier.java125 mWifiConfigManager.enableNetwork(updatedConfig.networkId, true, in onClick()
DCarrierNetworkEvaluator.java144 if (!mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID)) { in evaluateNetworks()
DClientModeImpl.java1179 if (!mWifiConfigManager.enableNetwork(netId, true, uid) in connectToUserSelectNetwork()
3502 boolean ok = mWifiConfigManager.enableNetwork( in processMessage()
4139 ok = mWifiConfigManager.enableNetwork(netId, false, message.sendingUid); in processMessage()
6300 if (!mWifiConfigManager.enableNetwork( in saveNetworkConfigAndSendReply()
DWifiConfigManager.java1803 public boolean enableNetwork(int networkId, boolean disableOthers, int uid) { in enableNetwork() method in WifiConfigManager
DWifiServiceImpl.java2175 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() method in WifiServiceImpl
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java217 if (!mWifiManager.enableNetwork(mNetworkId, true)) { in connect()
DPasspointNetworkEvaluator.java249 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID); in createWifiConfigForProvider()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl90 boolean enableNetwork(int netId, boolean disableOthers, String packageName); in enableNetwork() method
DWifiManager.java1934 public boolean enableNetwork(int netId, boolean attemptConnect) { in enableNetwork() method in WifiManager
1947 success = mService.enableNetwork(netId, attemptConnect, mContext.getOpPackageName()); in enableNetwork()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java162 boolean ret = mWifiManager.enableNetwork(netId, true); in testEnableDisableNetwork()
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java157 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() method in BaseWifiService
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1487 when(mWifiService.enableNetwork(anyInt(), anyBoolean(), anyString())) in testEnableNetwork()
1489 assertTrue(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)); in testEnableNetwork()
1490 verify(mWifiService).enableNetwork(TEST_NETWORK_ID, true, mContext.getOpPackageName()); in testEnableNetwork()
/frameworks/base/proto/src/
Dwifi.proto543 // Number of times WifiManager#enableNetwork is called.
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18038 method public boolean enableNetwork(int, boolean);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46367 Landroid/net/wifi/IWifiManager$Stub$Proxy;->enableNetwork(IZLjava/lang/String;)Z
46499 Landroid/net/wifi/IWifiManager;->enableNetwork(IZLjava/lang/String;)Z
/frameworks/base/non-updatable-api/
Dcurrent.txt30074 method @Deprecated public boolean enableNetwork(int, boolean);
/frameworks/base/api/
Dcurrent.txt30218 method @Deprecated public boolean enableNetwork(int, boolean);