/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 733 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 …]
|
D | WifiConfigManagerTest.java | 1144 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 …]
|
D | CarrierNetworkEvaluatorTest.java | 145 when(mWifiConfigManager.enableNetwork(networkId, false, Process.WIFI_UID)).thenReturn(true); in configureNewSsid()
|
D | WifiServiceImplTest.java | 3721 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/ |
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 | CarrierNetworkEvaluator.java | 144 if (!mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID)) { in evaluateNetworks()
|
D | ClientModeImpl.java | 1162 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()
|
D | WifiConfigManager.java | 1721 public boolean enableNetwork(int networkId, boolean disableOthers, int uid) { in enableNetwork() method in WifiConfigManager
|
D | WifiServiceImpl.java | 2128 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 | 253 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 | 1901 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/ |
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 | 1492 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/ |
D | wifi.proto | 543 // Number of times WifiManager#enableNetwork is called.
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |