Home
last modified time | relevance | path

Searched refs:wifiManager (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/
DPlatformAdapter.java183 WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in loadAllSps() local
184 List<WifiConfiguration> configs = wifiManager.getPrivilegedConfiguredNetworks(); in loadAllSps()
231 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in connect() local
255 int networkId = wifiManager.addNetwork(config); in connect()
259 if (wifiManager.enableNetwork(networkId, true)) { in connect()
459 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in addNetwork() local
460 int nwkId = wifiManager.addNetwork(config); in addNetwork()
463 saved = wifiManager.saveConfiguration(); in addNetwork()
492 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in updateNetwork() local
493 wifiManager.save(newConfig, null); in updateNetwork()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiSavedConfigUtils.java38 public static List<AccessPoint> getAllConfigs(Context context, WifiManager wifiManager) { in getAllConfigs() argument
40 List<WifiConfiguration> savedNetworks = wifiManager.getConfiguredNetworks(); in getAllConfigs()
57 wifiManager.getPasspointConfigurations(); in getAllConfigs()
DWifiStatusTracker.java37 public WifiStatusTracker(WifiManager wifiManager) { in WifiStatusTracker() argument
38 mWifiManager = wifiManager; in WifiStatusTracker()
DWifiTracker.java174 WifiManager wifiManager, ConnectivityManager connectivityManager, in WifiTracker() argument
187 mWifiManager = wifiManager; in WifiTracker()
DAccessPoint.java1089 IWifiManager wifiManager = IWifiManager.Stub.asInterface( in getSummary() local
1094 nc = cm.getNetworkCapabilities(wifiManager.getCurrentNetwork()); in getSummary()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/
DRemediationHandler.java97 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in newConnection() local
98 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in newConnection()
99 Network network = wifiManager.getCurrentNetwork(); in newConnection()
135 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in wnmReceived() local
136 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in wnmReceived()
145 update.remediate(wifiManager.getCurrentNetwork()); in wnmReceived()
187 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in getActivePasspointConfig() local
188 mActiveWifiInfo = wifiManager.getConnectionInfo(); in getActivePasspointConfig()
205 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in calculateTimeout() local
206 Network network = wifiManager.getCurrentNetwork(); in calculateTimeout()
[all …]
/frameworks/base/packages/Osu/src/com/android/hotspot2/app/
DOSUService.java113 WifiManager wifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE); in handleIntent() local
122 mOsuManager.pushScanResults(wifiManager.getScanResults()); in handleIntent()
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DOMADMAdapter.java240 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in getMAC() local
241 return wifiManager != null ? in getMAC()
243 Utils.parseMac(wifiManager.getConnectionInfo().getMacAddress())) : in getMAC()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java255 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in dump() local
256 for (ScanResult scanResult : wifiManager.getScanResults()) { in dump()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUManager.java232 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in doIconQuery() local
233 wifiManager.queryPasspointIcon(bssid, fileName); in doIconQuery()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java389 WifiManager wifiManager = in onReceive() local
391 List<ScanResult> wifiScanResults = wifiManager.getScanResults(); in onReceive()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java518 WifiManager wifiManager = mContext.getSystemService(WifiManager.class); in get() local
519 if (wifiManager != null) { in get()
520 return wifiManager.getConnectionInfo(); in get()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java302 public final WifiManager wifiManager; field in DpmMockContext
405 wifiManager = mock(WifiManager.class); in DpmMockContext()
598 return wifiManager; in getSystemService()
DDevicePolicyManagerTest.java1914 when(mContext.wifiManager.getConnectionInfo()).thenReturn(new WifiInfo()); in testGetMacAddress()
1920 when(mContext.wifiManager.getConnectionInfo()).thenReturn(wi); in testGetMacAddress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java170 WifiManager wifiManager, in NetworkControllerImpl() argument
195 mWifiManager = wifiManager; in NetworkControllerImpl()