/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 94 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(true); in setUp() 189 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(false); in verifyNetworkConnectionWhenEnableNetworkFails()
|
D | PasspointNetworkNominateHelperTest.java | 239 verify(mWifiConfigManager).enableNetwork( in evaluateScansWithNetworkMatchingHomeProvider() 286 verify(mWifiConfigManager).enableNetwork( in evaluateScansWithNoInternetBit() 327 verify(mWifiConfigManager).enableNetwork( in evaluateScansWithNetworkMatchingRoamingProvider()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiAPITest.java | 145 mWifiManager.enableNetwork(netid, false); in onPreferenceClick()
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsNetUtils.java | 324 assertTrue(mWifiManager.enableNetwork(networkId, false /* attemptConnect */)); in maybeConfigureVirtualNetwork() 337 assertTrue(mWifiManager.enableNetwork(cfg.networkId, false /* attemptConnect */)); in clearWifiBlacklist()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ConnectionFailureNotifier.java | 123 mWifiConfigManager.enableNetwork(updatedConfig.networkId, true, in onClick()
|
D | BaseWifiService.java | 175 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() method in BaseWifiService
|
D | WifiConfigManager.java | 1900 public boolean enableNetwork(int networkId, boolean disableOthers, int uid, in enableNetwork() method in WifiConfigManager 3629 if (!enableNetwork(networkId, true, callingUid, null) 3643 if (!enableNetwork(result.getNetworkId(), false, callingUid, null)) {
|
D | WifiServiceImpl.java | 2897 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() method in WifiServiceImpl 2919 () -> mWifiConfigManager.enableNetwork( in enableNetwork() 4202 mWifiConfigManager.enableNetwork(networkId, false, callingUid, null);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTask.java | 137 mWifiManager.enableNetwork(netId, true); in connectToProvidedNetwork()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 220 if (!mWifiManager.enableNetwork(mNetworkId, true)) { in connect()
|
D | PasspointNetworkNominateHelper.java | 221 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID, null); in createWifiConfigForProvider()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 199 if (!wifiMan.enableNetwork(networkId, false)) { in saveConfiguration()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | IWifiManager.aidl | 96 boolean enableNetwork(int netId, boolean disableOthers, String packageName); in enableNetwork() method
|
D | WifiManager.java | 2502 public boolean enableNetwork(int netId, boolean attemptConnect) { in enableNetwork() method in WifiManager 2504 return mService.enableNetwork(netId, attemptConnect, mContext.getOpPackageName()); in enableNetwork()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 188 wifiManager.enableNetwork(id, /* attemptConnect */ false);
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 1482 assertTrue(mWifiConfigManager.enableNetwork( in testEnableDisableNetwork() 1518 assertFalse(mWifiConfigManager.enableNetwork( in testEnableNetworkFailedDueToPermissionDenied() 1541 assertTrue(mWifiConfigManager.enableNetwork( in testDisableNetworkFailedDueToPermissionDenied() 1659 assertFalse(mWifiConfigManager.enableNetwork( in testChangeConfigurationWithInvalidNetworkId() 3909 assertTrue(mWifiConfigManager.enableNetwork( in testLastSelectedNetwork() 3921 assertTrue(mWifiConfigManager.enableNetwork( in testLastSelectedNetwork()
|
D | WifiServiceImplTest.java | 5932 assertTrue(mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME)); in testEnableNetworkWithDisableOthersAllowedForPrivilegedApps() 5962 assertTrue(mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME)); in testEnabledNetworkWithDisableOthersAllowedForAppsTargetingBelowQSdk() 5983 when(mWifiConfigManager.enableNetwork(anyInt(), anyBoolean(), anyInt(), anyString())) in testEnabledNetworkWithoutDisableOthersAllowedForAppsTargetingBelowQSdk() 5986 assertTrue(mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, false, TEST_PACKAGE_NAME)); in testEnabledNetworkWithoutDisableOthersAllowedForAppsTargetingBelowQSdk() 5988 verify(mWifiConfigManager).enableNetwork(eq(TEST_NETWORK_ID), eq(false), in testEnabledNetworkWithoutDisableOthersAllowedForAppsTargetingBelowQSdk() 6002 mWifiServiceImpl.enableNetwork(TEST_NETWORK_ID, true, TEST_PACKAGE_NAME); in testEnableNetworkNotAllowedForAppsTargetingQ()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 2505 when(mWifiService.enableNetwork(anyInt(), anyBoolean(), anyString())) in testEnableNetwork() 2507 assertTrue(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)); in testEnableNetwork() 2508 verify(mWifiService).enableNetwork(TEST_NETWORK_ID, true, mContext.getOpPackageName()); in testEnableNetwork()
|
/packages/modules/Wifi/framework/api/ |
D | current.txt | 360 method @Deprecated public boolean enableNetwork(int, boolean);
|
/packages/modules/Wifi/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 852 Landroid/net/wifi/IWifiManager$Stub$Proxy;->enableNetwork(IZLjava/lang/String;)Z 984 Landroid/net/wifi/IWifiManager;->enableNetwork(IZLjava/lang/String;)Z
|
/packages/modules/Wifi/service/proto/src/ |
D | metrics.proto | 542 // Number of times WifiManager#enableNetwork is called.
|