Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java733 when(mWifiConfigManager.enableNetwork(eq(networkId), eq(false), anyInt())) in canSaveNetworkConfig()
742 verify(mWifiConfigManager).enableNetwork(eq(networkId), eq(false), anyInt()); in canSaveNetworkConfig()
775 .enableNetwork(anyInt(), anyBoolean(), anyInt()); in saveNetworkConfigFailsWithNullConfig()
795 .enableNetwork(anyInt(), anyBoolean(), anyInt()); in saveNetworkConfigFailsWithConfigAddFailure()
808 when(mWifiConfigManager.enableNetwork(eq(networkId), eq(false), anyInt())) in saveNetworkConfigFailsWithConfigEnableFailure()
817 verify(mWifiConfigManager).enableNetwork(eq(networkId), eq(false), anyInt()); in saveNetworkConfigFailsWithConfigEnableFailure()
893 when(mWifiConfigManager.enableNetwork(eq(config.networkId), eq(true), anyInt())) in setupAndStartConnectSequence()
910 verify(mWifiConfigManager).enableNetwork(eq(config.networkId), eq(true), anyInt()); in validateSuccessfulConnectSequence()
918 verify(mWifiConfigManager).enableNetwork(eq(config.networkId), eq(true), anyInt()); in validateFailureConnectSequence()
959 verify(mWifiConfigManager).enableNetwork(eq(config.networkId), eq(true), anyInt()); in triggerConnectFromNonSettingsApp()
[all …]
DWifiConfigManagerTest.java1144 assertTrue(mWifiConfigManager.enableNetwork( in testEnableDisableNetwork()
1179 assertFalse(mWifiConfigManager.enableNetwork( in testEnableNetworkFailedDueToPermissionDenied()
1202 assertTrue(mWifiConfigManager.enableNetwork( in testDisableNetworkFailedDueToPermissionDenied()
1292 assertFalse(mWifiConfigManager.enableNetwork( in testChangeConfigurationWithInvalidNetworkId()
1992 assertTrue(mWifiConfigManager.enableNetwork(network1.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList()
1993 assertTrue(mWifiConfigManager.enableNetwork(network2.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList()
1994 assertTrue(mWifiConfigManager.enableNetwork(network3.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList()
2042 assertTrue(mWifiConfigManager.enableNetwork(network1.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoListFrequencies()
2043 assertTrue(mWifiConfigManager.enableNetwork(network2.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoListFrequencies()
2102 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.java3721 mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME); in testEnableNetworkAllowedForPrivilegedApps()
3739 mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME); in testEnabledNetworkAllowedForAppsTargetingLessThanQ()
3755 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/
DCarrierNetworkEvaluator.java144 if (!mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID)) { in evaluateNetworks()
DClientModeImpl.java1162 if (!mWifiConfigManager.enableNetwork(netId, true, uid) in connectToUserSelectNetwork()
3476 boolean ok = mWifiConfigManager.enableNetwork( in processMessage()
4118 ok = mWifiConfigManager.enableNetwork(netId, false, message.sendingUid); in processMessage()
6208 if (!mWifiConfigManager.enableNetwork( in saveNetworkConfigAndSendReply()
DWifiConfigManager.java1721 public boolean enableNetwork(int networkId, boolean disableOthers, int uid) { in enableNetwork() method in WifiConfigManager
DWifiServiceImpl.java2128 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.java253 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.java1901 public boolean enableNetwork(int netId, boolean attemptConnect) { in enableNetwork() method in WifiManager
1914 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.java1492 when(mWifiService.enableNetwork(anyInt(), anyBoolean(), anyString())) in testEnableNetwork()
1494 assertTrue(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)); in testEnableNetwork()
1495 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/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...