/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 771 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 …]
|
D | WifiConfigManagerTest.java | 1428 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()
|
D | WifiServiceImplTest.java | 4422 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/ |
D | ConnectionFailureNotifier.java | 123 mWifiConfigManager.enableNetwork(updatedConfig.networkId, true, in onClick()
|
D | BaseWifiService.java | 170 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() method in BaseWifiService
|
D | WifiServiceImpl.java | 2486 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);
|
D | WifiConfigManager.java | 1847 public boolean enableNetwork(int networkId, boolean disableOthers, int uid, in enableNetwork() method in WifiConfigManager
|
D | ClientModeImpl.java | 6188 if (!mWifiConfigManager.enableNetwork(networkId, true, callingUid, null) 6226 if (!mWifiConfigManager.enableNetwork(
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 96 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(true); in setUp() 191 when(mWifiManager.enableNetwork(TEST_NETWORK_ID, true)).thenReturn(false); in verifyNetworkConnectionWhenEnableNetworkFails()
|
D | PasspointNetworkNominateHelperTest.java | 238 verify(mWifiConfigManager).enableNetwork( in evaluateScansWithNetworkMatchingHomeProvider() 279 verify(mWifiConfigManager).enableNetwork( in evaluateScansWithNetworkMatchingRoamingProvider()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 221 if (!mWifiManager.enableNetwork(mNetworkId, true)) { in connect()
|
D | PasspointNetworkNominateHelper.java | 212 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID, null); in createWifiConfigForProvider()
|
/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/android/net/wifi/ |
D | IWifiManager.aidl | 87 boolean enableNetwork(int netId, boolean disableOthers, String packageName); in enableNetwork() method
|
D | WifiManager.java | 2214 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/ |
D | WifiManagerTest.java | 1751 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/ |
D | current.txt | 316 method @Deprecated public boolean enableNetwork(int, boolean);
|
/frameworks/opt/net/wifi/service/proto/src/ |
D | metrics.proto | 542 // 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/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 18038 method public boolean enableNetwork(int, boolean);
|
/frameworks/base/api/ |
D | current.txt | 31396 method @Deprecated public boolean enableNetwork(int, boolean);
|