Home
last modified time | relevance | path

Searched refs:setNetworkVariable (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java612 if (config.SSID != null && !mWifiNative.setNetworkVariable( in saveNetwork()
625 if (!mWifiNative.setNetworkVariable(netId, WifiConfiguration.bssidVarName, bssid)) { in saveNetwork()
632 if (config.allowedKeyManagement.cardinality() != 0 && !mWifiNative.setNetworkVariable( in saveNetwork()
641 if (config.allowedProtocols.cardinality() != 0 && !mWifiNative.setNetworkVariable( in saveNetwork()
651 if (config.allowedAuthAlgorithms.cardinality() != 0 && !mWifiNative.setNetworkVariable( in saveNetwork()
660 if (config.allowedPairwiseCiphers.cardinality() != 0 && !mWifiNative.setNetworkVariable( in saveNetwork()
674 if (config.allowedGroupCiphers.cardinality() != 0 && !mWifiNative.setNetworkVariable( in saveNetwork()
684 && !mWifiNative.setNetworkVariable( in saveNetwork()
697 if (!mWifiNative.setNetworkVariable( in saveNetwork()
709 if (!mWifiNative.setNetworkVariable( in saveNetwork()
[all …]
DWifiNative.java420 return setNetworkVariable(netId, name, "\"" + encoded + "\""); in setNetworkExtra()
423 public boolean setNetworkVariable(int netId, String name, String value) { in setNetworkVariable() method in WifiNative
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java131 when(mWifiNative.setNetworkVariable(anyInt(), anyString(), anyString())).thenReturn(true); in testSetNetworkExtra()
134 verify(mWifiNative).setNetworkVariable(NETWORK_ID, NETWORK_EXTRAS_VARIABLE, in testSetNetworkExtra()
DWifiStateMachineTest.java488 when(mWifiNative.setNetworkVariable(anyInt(), anyString(), anyString())) in addNetworkAndVerifySuccess()
541 verify(mWifiNative).setNetworkVariable(0, "ssid", sHexSSID); in addNetworkAndVerifySuccess()
543 verify(mWifiNative).setNetworkVariable(0, "scan_ssid", Integer.toString(1)); in addNetworkAndVerifySuccess()
568 verify(mWifiNative, never()).setNetworkVariable(anyInt(), anyString(), anyString()); in addNetworkAndVerifyFailure()
DWifiConfigManagerTest.java228 when(mWifiNative.setNetworkVariable(anyInt(), anyString(), anyString())).thenReturn(true); in addNetwork()
458 when(mWifiNative.setNetworkVariable(eq(network), anyString(), anyString())) in verifySaveNetwork()
489 verify(mWifiNative, never()).setNetworkVariable(intThat(not(network)), anyString(), in verifySaveNetwork()
793 when(mWifiNative.setNetworkVariable(anyInt(), anyString(), anyString())).thenAnswer( in testSaveLoadSingleEapNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DSupplicantPnoScannerTest.java278 when(mWifiNative.setNetworkVariable(anyInt(), anyString(), anyString())).thenReturn(true); in startSuccessfulPnoScan()
308 order.verify(mWifiNative).setNetworkVariable(network.networkId, in expectSuccessfulHwDisconnectedPnoScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DSupplicantWifiScannerImpl.java662 if (!mWifiNative.setNetworkVariable(network.networkId, in setNetworkPriorities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2733 mWifiNative.setNetworkVariable(netId, in removeClientFromList()