/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiDialogActivity.java | 71 final WifiManager wifiManager = getSystemService(WifiManager.class); in onForget() local 78 wifiManager.disableEphemeralNetwork( in onForget() 85 wifiManager.forget(accessPoint.getConfig().networkId, null /* listener */); in onForget() 103 final WifiManager wifiManager = getSystemService(WifiManager.class); in onSubmit() local 107 wifiManager.connect(accessPoint.getConfig(), null /* listener */); in onSubmit() 110 wifiManager.save(config, null /* listener */); in onSubmit() 115 wifiManager.connect(config, null /* listener */); in onSubmit()
|
D | ConfigureWifiSettings.java | 78 final WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE); in getPreferenceControllers() local 86 controllers.add(new WifiInfoPreferenceController(context, getLifecycle(), wifiManager)); in getPreferenceControllers() 88 controllers.add(new WifiP2pPreferenceController(context, getLifecycle(), wifiManager)); in getPreferenceControllers() 91 context, getLifecycle(), wifiManager, getFragmentManager())); in getPreferenceControllers()
|
D | WriteWifiConfigToNfcDialog.java | 76 WriteWifiConfigToNfcDialog(Context context, int security, WifiManagerWrapper wifiManager) { in WriteWifiConfigToNfcDialog() argument 84 mWifiManager = wifiManager; in WriteWifiConfigToNfcDialog() 87 WriteWifiConfigToNfcDialog(Context context, Bundle savedState, WifiManagerWrapper wifiManager) { in WriteWifiConfigToNfcDialog() argument 95 mWifiManager = wifiManager; in WriteWifiConfigToNfcDialog()
|
D | WifiManagerWrapper.java | 13 public WifiManagerWrapper(WifiManager wifiManager) { in WifiManagerWrapper() argument 14 mWifiManager = wifiManager; in WifiManagerWrapper()
|
D | WifiInfoPreferenceController.java | 53 WifiManager wifiManager) { in WifiInfoPreferenceController() argument 55 mWifiManager = wifiManager; in WifiInfoPreferenceController()
|
D | WpsPreferenceController.java | 65 WifiManager wifiManager, in WpsPreferenceController() argument 68 mWifiManager = wifiManager; in WpsPreferenceController()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ConfirmConnectToWifiNetworkActivity.java | 61 WifiManager wifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE); in onClick() local 63 if (!wifiManager.isWifiEnabled()) { in onClick() 64 wifiManager.setWifiEnabled(true); in onClick() 78 doConnect(wifiManager); in onClick() 84 private void doConnect(WifiManager wifiManager) { in doConnect() argument 86 int networkId = wifiManager.addNetwork(mCurrentWifiConfiguration); in doConnect() 92 wifiManager.connect(networkId, in doConnect()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 44 private WifiManager wifiManager; field in UtilsTest 55 when(mContext.getSystemService(WifiManager.class)).thenReturn(wifiManager); in setUp() 62 when(wifiManager.getCurrentNetwork()).thenReturn(network); in testGetWifiIpAddresses_succeeds() 73 when(wifiManager.getCurrentNetwork()).thenReturn(network); in testGetWifiIpAddresses_nullLinkProperties() 83 when(wifiManager.getCurrentNetwork()).thenReturn(null); in testGetWifiIpAddresses_nullNetwork()
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/ |
D | NetworkRecommendationService.java | 71 WifiManager wifiManager = getSystemService(WifiManager.class); in onCreate() local 78 wifiManager, notificationManager, userManager, new WifiNotificationHelper(this)); in onCreate() 82 notificationManager, wifiManager); in onCreate() 84 … new WifiWakeupController(this, getContentResolver(), mControllerHandler, wifiManager, in onCreate()
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/scoring/util/ |
D | NetworkUtil.java | 119 WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in getCurrentWifiSsid() local 120 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in getCurrentWifiSsid() 127 WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in getConfig() local 128 List<WifiConfiguration> configs = wifiManager.getConfiguredNetworks(); in getConfig()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SettingsAppWidgetProvider.java | 369 WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in getActualState() local 370 if (wifiManager != null) { in getActualState() 371 return wifiStateToFiveState(wifiManager.getWifiState()); in getActualState() 378 final WifiManager wifiManager = in requestStateChange() local 380 if (wifiManager == null) { in requestStateChange() 395 int wifiApState = wifiManager.getWifiApState(); in requestStateChange() 404 wifiManager.setWifiEnabled(desiredState); in requestStateChange()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ResetNetworkConfirm.java | 78 WifiManager wifiManager = (WifiManager) 80 if (wifiManager != null) { 81 wifiManager.factoryReset();
|
D | HotspotOffReceiver.java | 31 WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in onReceive() local 32 if (wifiManager.getWifiApState() == WifiManager.WIFI_AP_STATE_DISABLED) { in onReceive()
|
D | Utils.java | 247 WifiManager wifiManager = context.getSystemService(WifiManager.class); in getWifiIpAddresses() local 248 Network currentNetwork = wifiManager.getCurrentNetwork(); in getWifiIpAddresses()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryTest.java | 85 final WifiManager wifiManager = mock(WifiManager.class); in testUpdateNetworkRestrictionSummary_shouldSetSummary() local 87 ReflectionHelpers.setField(dataUsageSummary, "mWifiManager", wifiManager); in testUpdateNetworkRestrictionSummary_shouldSetSummary() 88 when(wifiManager.getConfiguredNetworks()).thenReturn(new ArrayList<WifiConfiguration>()); in testUpdateNetworkRestrictionSummary_shouldSetSummary()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageMeteredSettings.java | 204 final WifiManager wifiManager = 206 if (hasWifiRadio(context) && wifiManager.isWifiEnabled()) { 207 for (WifiConfiguration config : wifiManager.getConfiguredNetworks()) {
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/util/ |
D | RoboCompatUtil.java | 60 public void connectToWifi(WifiManager wifiManager, WifiConfiguration wifiConfiguration) { in connectToWifi() argument 61 wifiManager.connect(wifiConfiguration, null /* actionListener */); in connectToWifi()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pPreferenceController.java | 54 Context context, Lifecycle lifecycle, WifiManager wifiManager) { in WifiP2pPreferenceController() argument 56 mWifiManager = wifiManager; in WifiP2pPreferenceController()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | BuiltInPrintService.java | 83 WifiManager wifiManager = (WifiManager)getSystemService(Context.WIFI_SERVICE); in onCreate() local 84 mWifiLock = wifiManager.createWifiLock(WifiManager.WIFI_MODE_FULL, TAG); in onCreate()
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/ |
D | WifiWakeupHelper.java | 115 WifiManager wifiManager) { in WifiWakeupHelper() argument 120 mWifiManager = wifiManager; in WifiWakeupHelper()
|
D | WifiWakeupController.java | 93 WifiManager wifiManager, in WifiWakeupController() argument 103 mWifiManager = wifiManager; in WifiWakeupController()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 132 public static WifiConfiguration getWifiConfiguration(WifiManager wifiManager, int networkId) { in getWifiConfiguration() argument 133 List<WifiConfiguration> configuredNetworks = wifiManager.getConfiguredNetworks(); in getWifiConfiguration()
|
D | WifiDetailsFragment.java | 232 WifiManager wifiManager = in onGuidedActionClicked() local 234 wifiManager.forget(mAccessPoint.getConfig().networkId, null); in onGuidedActionClicked()
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/notify/ |
D | WifiNotificationController.java | 173 WifiManager wifiManager, in WifiNotificationController() argument 180 mWifiManager = wifiManager; in WifiNotificationController()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 207 WifiManager wifiManager, in WifiDetailPreferenceController() argument 218 mWifiManager = wifiManager; in WifiDetailPreferenceController()
|