Home
last modified time | relevance | path

Searched refs:networkId (Results 1 – 18 of 18) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java132 public static WifiConfiguration getWifiConfiguration(WifiManager wifiManager, int networkId) { in getWifiConfiguration() argument
136 if (configuredNetwork.networkId == networkId) { in getWifiConfiguration()
148 return config != null && config.networkId > -1; in isNetworkSaved()
176 int networkId = wifiMan.addNetwork(config); in saveConfiguration() local
177 if (networkId == -1) { in saveConfiguration()
182 if (!wifiMan.enableNetwork(networkId, false)) { in saveConfiguration()
183 if (DEBUG) Log.e(TAG, "enable network failed: " + networkId + "; " + config.toString()); in saveConfiguration()
213 wifiMan.forget(wc.networkId, null); in forgetConfiguration()
227 int networkId = wifiInfo.getNetworkId(); in forgetWifiNetwork() local
228 if (networkId != -1) { in forgetWifiNetwork()
[all …]
DConnectivityListener.java228 int networkId = getWifiNetworkId(); in forgetWifiNetwork() local
229 if (networkId != -1) { in forgetWifiNetwork()
230 mWifiManager.forget(networkId, null); in forgetWifiNetwork()
246 int networkId = wifiInfo.getNetworkId(); in getWifiConfiguration() local
250 if (configuredNetwork.networkId == networkId) { in getWifiConfiguration()
274 int networkId = wifiInfo.getNetworkId(); in isSecureWifi() local
278 if (configuredNetwork.networkId == networkId) { in isSecureWifi()
DEditProxySettingsActivity.java40 public static Intent createIntent(Context context, int networkId) { in createIntent() argument
42 .putExtra(EXTRA_NETWORK_ID, networkId); in createIntent()
52 int networkId = getIntent().getIntExtra(EXTRA_NETWORK_ID, -1); in onCreate() local
53 if (networkId == NETWORK_ID_ETHERNET) { in onCreate()
60 ((WifiConfig) mConfiguration).load(networkId); in onCreate()
66 Log.e(TAG, "Could not find existing configuration for network id: " + networkId); in onCreate()
DEditIpSettingsActivity.java40 public static Intent createIntent(Context context, int networkId) { in createIntent() argument
42 .putExtra(EXTRA_NETWORK_ID, networkId); in createIntent()
52 int networkId = getIntent().getIntExtra(EXTRA_NETWORK_ID, NETWORK_ID_ETHERNET); in onCreate() local
53 if (networkId == NETWORK_ID_ETHERNET) { in onCreate()
60 ((WifiConfig) mConfiguration).load(networkId); in onCreate()
66 Log.e(TAG, "Could not find existing configuration for network id: " + networkId); in onCreate()
DWifiDetailsFragment.java155 final int networkId = wifiConfiguration.networkId; in update() local
160 networkId)); in update() local
165 mIpSettingsPref.setIntent(EditIpSettingsActivity.createIntent(getContext(), networkId)); in update() local
226 wifiManager.forget(mAccessPoint.getConfig().networkId, null); in onGuidedActionClicked()
DConnectToWifiFragment.java201 int networkId = mWifiManager.addNetwork(mWifiConfiguration); in onResume() local
202 if (networkId == -1) { in onResume()
207 } else if (!mWifiManager.enableNetwork(networkId, true)) { in onResume()
209 Log.d(TAG, "Failed to enable network id " + networkId + "!"); in onResume()
DWifiConfig.java55 public void load(int networkId) { in load() argument
56 mWifiConfiguration = WifiConfigHelper.getWifiConfiguration(mWifiManager, networkId); in load()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageMeteredSettings.java117 final String networkId = config.SSID; in buildWifiPref() local
118 final NetworkTemplate template = NetworkTemplate.buildTemplateWifi(networkId); in buildWifiPref()
120 pref.setTitle(removeDoubleQuotes(networkId)); in buildWifiPref()
208 final String networkId = config.SSID;
211 data.title = removeDoubleQuotes(networkId);
/packages/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java85 int networkId = wifiManager.addNetwork(mCurrentWifiConfiguration); in doConnect() local
87 if (networkId < 0) { in doConnect()
91 wifiManager.connect(networkId, in doConnect()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettingsForSetupWizard.java140 protected void connect(final int networkId) { in connect() argument
143 super.connect(networkId); in connect()
DWifiSettings.java580 getActivity(), mSelectedAccessPoint.getConfig().networkId, in onCreateDialog()
836 mWifiManager.forget(mSelectedAccessPoint.getConfig().networkId, mForgetListener); in forget()
850 protected void connect(final int networkId) { in connect() argument
852 mWifiManager.connect(networkId, mConnectListener); in connect()
DWriteWifiConfigToNfcDialog.java78 WriteWifiConfigToNfcDialog(Context context, int networkId, int security, in WriteWifiConfigToNfcDialog() argument
86 mNetworkId = networkId; in WriteWifiConfigToNfcDialog()
DWifiDialogActivity.java85 wifiManager.forget(accessPoint.getConfig().networkId, null /* listener */); in onForget()
DSavedAccessPointsWifiSettings.java171 mWifiManager.forget(mSelectedAccessPoint.getConfig().networkId, null); in onForget()
DWifiConfigController.java467 config.networkId = mAccessPoint.getConfig().networkId; in getConfig()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DWiFiInstaller.java140 mWifiManager.removeNetwork(config.networkId); in createMainDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DWifiSetupActivity.java221 mConfiguration.networkId, null); in onPageComplete()
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt81256 …or=-1, voiceRoamingType=0, data-operator-alpha-short=null, systemId=-1, networkId=-1, operator-alp…
81413 …or=-1, voiceRoamingType=0, data-operator-alpha-short=null, systemId=-1, networkId=-1, operator-alp…
81453 …or=-1, voiceRoamingType=0, data-operator-alpha-short=null, systemId=-1, networkId=-1, operator-alp…