/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 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 …]
|
D | EditIpSettingsActivity.java | 40 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()
|
D | EditProxySettingsActivity.java | 40 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()
|
D | WifiDetailsFragment.java | 163 final int networkId = wifiConfiguration.networkId; in update() local 168 networkId)); in update() local 173 mIpSettingsPref.setIntent(EditIpSettingsActivity.createIntent(getContext(), networkId)); in update() local 234 wifiManager.forget(mAccessPoint.getConfig().networkId, null); in onGuidedActionClicked()
|
D | ConnectToWifiFragment.java | 201 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()
|
D | WifiConfig.java | 55 public void load(int networkId) { in load() argument 56 mWifiConfiguration = WifiConfigHelper.getWifiConfiguration(mWifiManager, networkId); in load()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageMeteredSettings.java | 117 final String networkId = config.isPasspoint() ? in buildWifiPref() local 119 final NetworkTemplate template = NetworkTemplate.buildTemplateWifi(networkId); in buildWifiPref() 121 pref.setTitle(removeDoubleQuotes(networkId)); in buildWifiPref() 209 final String networkId = config.SSID; 212 data.title = removeDoubleQuotes(networkId);
|
D | DataUsageSummary.java | 408 final String networkId = config.isPasspoint() ? config.providerFriendlyName : config.SSID; in isMetered() local 410 mPolicyEditor.getPolicyMaybeUnquoted(NetworkTemplate.buildTemplateWifi(networkId)); in isMetered()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ConfirmConnectToWifiNetworkActivity.java | 86 int networkId = wifiManager.addNetwork(mCurrentWifiConfiguration); in doConnect() local 88 if (networkId < 0) { in doConnect() 92 wifiManager.connect(networkId, in doConnect()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | ServiceStateProviderTest.java | 202 final int networkId = ss.getNetworkId(); in verifyServiceStateForSubId() local 224 assertEquals(networkId, cursor.getInt(12)); in verifyServiceStateForSubId()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiSettings.java | 994 mWifiManager.forget(mSelectedAccessPoint.getConfig().networkId, mForgetListener); in forget() 1010 protected void connect(final int networkId, boolean isSavedNetwork) { in connect() argument 1014 mWifiManager.connect(networkId, mConnectListener); in connect()
|
D | WifiDialogActivity.java | 85 wifiManager.forget(accessPoint.getConfig().networkId, null /* listener */); in onForget()
|
D | SavedAccessPointsWifiSettings.java | 215 mWifiManager.forget(mSelectedAccessPoint.getConfig().networkId, mForgetListener); in onForget()
|
D | WifiConfigController.java | 497 config.networkId = mAccessPoint.getConfig().networkId; in getConfig()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceControllerTest.java | 606 mockWifiConfig.networkId = 5; in forgetNetwork_saved() 611 verify(mockWifiManager).forget(mockWifiConfig.networkId, null); in forgetNetwork_saved()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiDetailActivity.java | 131 mWifiManager.forget(mAccessPoint.getConfig().networkId, in forget()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
D | WifiSettingsUiTest.java | 108 config.networkId = TEST_NETWORK_ID; in setupConnectedAccessPoint()
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/ |
D | DefaultNetworkRecommendationProvider.java | 363 .append("ID=").append(config.networkId) in configToString()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 473 mWifiManager.forget(mWifiConfig.networkId, null /* action listener */); in forgetNetwork()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | WifiSetupActivity.java | 245 mConfiguration.networkId, null); in onPageComplete()
|