/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 744 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 …]
|
D | WifiConfigManagerTest.java | 1201 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 …]
|
D | CarrierNetworkEvaluatorTest.java | 145 when(mWifiConfigManager.enableNetwork(networkId, false, Process.WIFI_UID)).thenReturn(true); in configureNewSsid()
|
D | WifiServiceImplTest.java | 3877 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/ |
D | OsuNetworkConnectionTest.java | 94 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(true); in setUp() 199 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(false); in verifyNetworkConnectionWhenEnableNetworkFails()
|
D | PasspointNetworkEvaluatorTest.java | 237 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/ |
D | ConnectionFailureNotifier.java | 125 mWifiConfigManager.enableNetwork(updatedConfig.networkId, true, in onClick()
|
D | CarrierNetworkEvaluator.java | 144 if (!mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID)) { in evaluateNetworks()
|
D | ClientModeImpl.java | 1179 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()
|
D | WifiConfigManager.java | 1803 public boolean enableNetwork(int networkId, boolean disableOthers, int uid) { in enableNetwork() method in WifiConfigManager
|
D | WifiServiceImpl.java | 2175 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/ |
D | OsuNetworkConnection.java | 217 if (!mWifiManager.enableNetwork(mNetworkId, true)) { in connect()
|
D | PasspointNetworkEvaluator.java | 249 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID); in createWifiConfigForProvider()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 90 boolean enableNetwork(int netId, boolean disableOthers, String packageName); in enableNetwork() method
|
D | WifiManager.java | 1934 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/ |
D | WifiClientTest.java | 162 boolean ret = mWifiManager.enableNetwork(netId, true); in testEnableDisableNetwork()
|
/frameworks/base/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 157 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() method in BaseWifiService
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 1487 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/ |
D | wifi.proto | 543 // Number of times WifiManager#enableNetwork is called.
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 18038 method public boolean enableNetwork(int, boolean);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 46367 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/ |
D | current.txt | 30074 method @Deprecated public boolean enableNetwork(int, boolean);
|
/frameworks/base/api/ |
D | current.txt | 30218 method @Deprecated public boolean enableNetwork(int, boolean);
|