Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java771 when(mWifiConfigManager.enableNetwork(eq(networkId), eq(false), anyInt(), any())) in canSaveNetworkConfig()
780 verify(mWifiConfigManager).enableNetwork(eq(networkId), eq(false), anyInt(), any()); in canSaveNetworkConfig()
813 .enableNetwork(anyInt(), anyBoolean(), anyInt(), any()); in saveNetworkConfigFailsWithNullConfig()
833 .enableNetwork(anyInt(), anyBoolean(), anyInt(), any()); in saveNetworkConfigFailsWithConfigAddFailure()
846 when(mWifiConfigManager.enableNetwork(eq(networkId), eq(false), anyInt(), any())) in saveNetworkConfigFailsWithConfigEnableFailure()
855 verify(mWifiConfigManager).enableNetwork(eq(networkId), eq(false), anyInt(), any()); in saveNetworkConfigFailsWithConfigEnableFailure()
894 when(mWifiConfigManager.enableNetwork( in setupAndStartConnectSequence()
915 verify(mWifiConfigManager).enableNetwork( in validateSuccessfulConnectSequence()
924 verify(mWifiConfigManager).enableNetwork( in validateFailureConnectSequence()
966 verify(mWifiConfigManager).enableNetwork( in triggerConnectFromNonSettingsApp()
[all …]
DWifiConfigManagerTest.java1428 assertTrue(mWifiConfigManager.enableNetwork( in testEnableDisableNetwork()
1464 assertFalse(mWifiConfigManager.enableNetwork( in testEnableNetworkFailedDueToPermissionDenied()
1487 assertTrue(mWifiConfigManager.enableNetwork( in testDisableNetworkFailedDueToPermissionDenied()
1605 assertFalse(mWifiConfigManager.enableNetwork( in testChangeConfigurationWithInvalidNetworkId()
3534 assertTrue(mWifiConfigManager.enableNetwork( in testLastSelectedNetwork()
3546 assertTrue(mWifiConfigManager.enableNetwork( in testLastSelectedNetwork()
DWifiServiceImplTest.java4422 assertTrue(mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME)); in testEnableNetworkWithDisableOthersAllowedForPrivilegedApps()
4452 assertTrue(mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME)); in testEnabledNetworkWithDisableOthersAllowedForAppsTargetingBelowQSdk()
4472 when(mWifiConfigManager.enableNetwork(anyInt(), anyBoolean(), anyInt(), anyString())) in testEnabledNetworkWithoutDisableOthersAllowedForAppsTargetingBelowQSdk()
4475 assertTrue(mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, false, TEST_PACKAGE_NAME)); in testEnabledNetworkWithoutDisableOthersAllowedForAppsTargetingBelowQSdk()
4477 verify(mWifiConfigManager).enableNetwork(eq(TEST_NETWORK_ID), eq(false), in testEnabledNetworkWithoutDisableOthersAllowedForAppsTargetingBelowQSdk()
4490 mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME); in testEnableNetworkNotAllowedForAppsTargetingQ()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConnectionFailureNotifier.java123 mWifiConfigManager.enableNetwork(updatedConfig.networkId, true, in onClick()
DBaseWifiService.java170 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() method in BaseWifiService
DWifiServiceImpl.java2486 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() method in WifiServiceImpl
2507 () -> mWifiConfigManager.enableNetwork(netId, false, callingUid, packageName), in enableNetwork()
3560 mWifiConfigManager.enableNetwork(networkId, false, callingUid, null);
DWifiConfigManager.java1847 public boolean enableNetwork(int networkId, boolean disableOthers, int uid, in enableNetwork() method in WifiConfigManager
DClientModeImpl.java6188 if (!mWifiConfigManager.enableNetwork(networkId, true, callingUid, null)
6226 if (!mWifiConfigManager.enableNetwork(
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java96 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(true); in setUp()
191 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(false); in verifyNetworkConnectionWhenEnableNetworkFails()
DPasspointNetworkNominateHelperTest.java238 verify(mWifiConfigManager).enableNetwork( in evaluateScansWithNetworkMatchingHomeProvider()
279 verify(mWifiConfigManager).enableNetwork( in evaluateScansWithNetworkMatchingRoamingProvider()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java221 if (!mWifiManager.enableNetwork(mNetworkId, true)) { in connect()
DPasspointNetworkNominateHelper.java212 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID, null); in createWifiConfigForProvider()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java162 boolean ret = mWifiManager.enableNetwork(netId, true); in testEnableDisableNetwork()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl87 boolean enableNetwork(int netId, boolean disableOthers, String packageName); in enableNetwork() method
DWifiManager.java2214 public boolean enableNetwork(int netId, boolean attemptConnect) { in enableNetwork() method in WifiManager
2216 return mService.enableNetwork(netId, attemptConnect, mContext.getOpPackageName()); in enableNetwork()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1751 when(mWifiService.enableNetwork(anyInt(), anyBoolean(), anyString())) in testEnableNetwork()
1753 assertTrue(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)); in testEnableNetwork()
1754 verify(mWifiService).enableNetwork(TEST_NETWORK_ID, true, mContext.getOpPackageName()); in testEnableNetwork()
/frameworks/base/wifi/api/
Dcurrent.txt316 method @Deprecated public boolean enableNetwork(int, boolean);
/frameworks/opt/net/wifi/service/proto/src/
Dmetrics.proto542 // 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/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18038 method public boolean enableNetwork(int, boolean);
/frameworks/base/api/
Dcurrent.txt31396 method @Deprecated public boolean enableNetwork(int, boolean);