Home
last modified time | relevance | path

Searched refs:wifiConfig (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
DAccessPointTest.java42 WifiConfiguration wifiConfig = new WifiConfiguration(); in setUp() local
43 wifiConfig.networkId = NETWORK_ID; in setUp()
44 wifiConfig.SSID = TEST_SSID; in setUp()
46 mAccessPoint = new AccessPoint(mContext, wifiConfig); in setUp()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl126 void setWifiApEnabled(in WifiConfiguration wifiConfig, boolean enable); in setWifiApEnabled() argument
134 void setWifiApConfiguration(in WifiConfiguration wifiConfig); in setWifiApConfiguration() argument
DWifiManager.java1528 public boolean setWifiApEnabled(WifiConfiguration wifiConfig, boolean enabled) {
1530 mService.setWifiApEnabled(wifiConfig, enabled);
1603 public boolean setWifiApConfiguration(WifiConfiguration wifiConfig) {
1605 mService.setWifiApConfiguration(wifiConfig);
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl228 void startAccessPoint(in WifiConfiguration wifiConfig, String iface); in startAccessPoint() argument
238 void setAccessPoint(in WifiConfiguration wifiConfig, String iface); in setAccessPoint() argument
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java377 for (WifiConfiguration wifiConfig: wifiConfigList) { in disconnectAP()
378 logv("remove wifi configuration: " + wifiConfig.networkId); in disconnectAP()
379 int netId = wifiConfig.networkId; in disconnectAP()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1484 public void startAccessPoint(WifiConfiguration wifiConfig, String wlanIface) { in startAccessPoint() argument
1489 if (wifiConfig == null) { in startAccessPoint()
1492 args = new Object[] {"set", wlanIface, wifiConfig.SSID, in startAccessPoint()
1493 "broadcast", Integer.toString(wifiConfig.apChannel), in startAccessPoint()
1494 getSecurityType(wifiConfig), new SensitiveArg(wifiConfig.preSharedKey)}; in startAccessPoint()
1508 private static String getSecurityType(WifiConfiguration wifiConfig) { in getSecurityType() argument
1509 switch (wifiConfig.getAuthType()) { in getSecurityType()
1555 public void setAccessPoint(WifiConfiguration wifiConfig, String wlanIface) { in setAccessPoint() argument
1560 if (wifiConfig == null) { in setAccessPoint()
1566 args = new Object[] {"set", wlanIface, wifiConfig.SSID, in setAccessPoint()
[all …]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java626 for (WifiConfiguration wifiConfig: wifiConfigList) { in disconnectAP()
627 Log.v(LOG_TAG, "Remove wifi configuration: " + wifiConfig.networkId); in disconnectAP()
628 int netId = wifiConfig.networkId; in disconnectAP()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java595 public void setWifiApEnabled(WifiConfiguration wifiConfig, boolean enabled) { in setWifiApEnabled() argument
602 if (wifiConfig == null || isValid(wifiConfig)) { in setWifiApEnabled()
603 … mWifiController.obtainMessage(CMD_SET_AP, enabled ? 1 : 0, 0, wifiConfig).sendToTarget(); in setWifiApEnabled()
654 public void setWifiApConfiguration(WifiConfiguration wifiConfig) { in setWifiApConfiguration() argument
656 if (wifiConfig == null) in setWifiApConfiguration()
658 if (isValid(wifiConfig)) { in setWifiApConfiguration()
659 mWifiStateMachine.setWifiApConfiguration(wifiConfig); in setWifiApConfiguration()
DWifiStateMachine.java1731 public void setHostApRunning(WifiConfiguration wifiConfig, boolean enable) { in setHostApRunning() argument
1733 sendMessage(CMD_START_AP, wifiConfig); in setHostApRunning()