/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowWifiManager.java | 42 int networkId = mNetworkIdToConfiguredNetworks.size(); in addNetwork() local 43 config.networkId = -1; in addNetwork() 44 mNetworkIdToConfiguredNetworks.put(networkId, makeCopy(config, networkId)); in addNetwork() 45 return networkId; in addNetwork() 79 private WifiConfiguration makeCopy(WifiConfiguration config, int networkId) { in makeCopy() argument 81 copy.networkId = networkId; in makeCopy()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 143 public static WifiConfiguration getWifiConfiguration(WifiManager wifiManager, int networkId) { in getWifiConfiguration() argument 147 if (configuredNetwork.networkId == networkId) { in getWifiConfiguration() 159 return config != null && config.networkId > -1; in isNetworkSaved() 186 int networkId = wifiMan.addNetwork(config); in saveConfiguration() local 187 if (networkId == -1) { in saveConfiguration() 192 if (!wifiMan.enableNetwork(networkId, false)) { in saveConfiguration() 193 if (DEBUG) Log.e(TAG, "enable network failed: " + networkId + "; " + config.toString()); in saveConfiguration()
|
D | EditProxySettingsActivity.java | 46 public static Intent createIntent(Context context, int networkId) { in createIntent() argument 48 .putExtra(EXTRA_NETWORK_ID, networkId); in createIntent() 69 int networkId = getIntent().getIntExtra(EXTRA_NETWORK_ID, NETWORK_ID_ETHERNET); in onCreate() local 71 if (networkId == NETWORK_ID_ETHERNET) { in onCreate() 76 ((WifiConfig) netConfig).load(networkId); in onCreate()
|
D | EditIpSettingsActivity.java | 45 public static Intent createIntent(Context context, int networkId) { in createIntent() argument 47 .putExtra(EXTRA_NETWORK_ID, networkId); in createIntent() 68 int networkId = getIntent().getIntExtra(EXTRA_NETWORK_ID, NETWORK_ID_ETHERNET); in onCreate() local 70 if (networkId == NETWORK_ID_ETHERNET) { in onCreate() 75 ((WifiConfig) netConfig).load(networkId); in onCreate()
|
D | WifiDetailsFragment.java | 158 final int networkId = wifiConfiguration.networkId; in update() local 163 networkId)); in update() local 168 mIpSettingsPref.setIntent(EditIpSettingsActivity.createIntent(getContext(), networkId)); in update() local 229 wifiManager.forget(mAccessPoint.getConfig().networkId, null); in onGuidedActionClicked()
|
D | WifiConfig.java | 54 public void load(int networkId) { in load() argument 55 mWifiConfiguration = WifiConfigHelper.getWifiConfiguration(mWifiManager, networkId); in load()
|
D | WifiUtils.java | 80 config.networkId = accessPoint.getConfig().networkId; in getWifiConfig()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiNetworkConfig.java | 61 boolean hiddenSsid, int networkId, boolean isHotspot) { in WifiNetworkConfig() argument 66 mNetworkId = networkId; in WifiNetworkConfig() 99 final int networkId = intent.getIntExtra(WifiDppUtils.EXTRA_WIFI_NETWORK_ID, in getValidConfigOrNull() local 103 return getValidConfigOrNull(security, ssid, preSharedKey, hiddenSsid, networkId, isHotspot); in getValidConfigOrNull() 107 String preSharedKey, boolean hiddenSsid, int networkId, boolean isHotspot) { in getValidConfigOrNull() argument 112 return new WifiNetworkConfig(security, ssid, preSharedKey, hiddenSsid, networkId, in getValidConfigOrNull() 307 wifiConfiguration.networkId = mNetworkId; in getBasicWifiConfiguration()
|
D | WifiDppConfiguratorActivity.java | 112 final int networkId = savedInstanceState.getInt(KEY_WIFI_NETWORK_ID); in onCreate() local 116 preSharedKey, hiddenSsid, networkId, isHotspot); in onCreate() 388 if (wifiConfiguration.networkId == connectionNetworkId) { in getConnectedWifiNetworkConfigOrNull() 394 wifiConfiguration.networkId, in getConnectedWifiNetworkConfigOrNull()
|
D | WifiDppUtils.java | 137 if (privilegedWifiConfiguration.networkId == wifiConfiguration.networkId) { in getPresharedKey() 237 if (wifiConfiguration.networkId == WifiConfiguration.INVALID_NETWORK_ID) { in getConfiguratorQrCodeScannerIntentOrNull() 240 intent.putExtra(EXTRA_WIFI_NETWORK_ID, wifiConfiguration.networkId); in getConfiguratorQrCodeScannerIntentOrNull()
|
D | WifiDppInitiatorViewModel.java | 55 public void startEasyConnectAsConfiguratorInitiator(String qrCode, int networkId) { in startEasyConnectAsConfiguratorInitiator() argument 59 wifiManager.startEasyConnectAsConfiguratorInitiator(qrCode, networkId, in startEasyConnectAsConfiguratorInitiator()
|
D | WifiDppQrCodeScannerFragment.java | 252 model.getEnrolleeSuccessNetworkId().observe(this, networkId -> { in onCreate() 259 new EasyConnectEnrolleeStatusCallback().onEnrolleeSuccess(networkId.intValue()); in onCreate() 566 if (wifiConfig.networkId == newNetworkId) { in onEnrolleeSuccess()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/ |
D | WifiNetworkConfig.java | 61 boolean hiddenSsid, int networkId, boolean isHotspot) { in WifiNetworkConfig() argument 66 mNetworkId = networkId; in WifiNetworkConfig() 99 final int networkId = intent.getIntExtra(WifiDppUtils.EXTRA_WIFI_NETWORK_ID, in getValidConfigOrNull() local 103 return getValidConfigOrNull(security, ssid, preSharedKey, hiddenSsid, networkId, isHotspot); in getValidConfigOrNull() 107 String preSharedKey, boolean hiddenSsid, int networkId, boolean isHotspot) { in getValidConfigOrNull() argument 112 return new WifiNetworkConfig(security, ssid, preSharedKey, hiddenSsid, networkId, in getValidConfigOrNull() 307 wifiConfiguration.networkId = mNetworkId; in getBasicWifiConfiguration()
|
D | WifiDppUtils.java | 136 if (wifiConfig.networkId == config.networkId) { in getPresharedKey() 224 if (wifiConfiguration.networkId == WifiConfiguration.INVALID_NETWORK_ID) { in getConfiguratorQrCodeScannerIntentOrNull() 227 intent.putExtra(EXTRA_WIFI_NETWORK_ID, wifiConfiguration.networkId); in getConfiguratorQrCodeScannerIntentOrNull()
|
D | WifiDppConfiguratorActivity.java | 112 final int networkId = savedInstanceState.getInt(KEY_WIFI_NETWORK_ID); in onCreate() local 116 preSharedKey, hiddenSsid, networkId, isHotspot); in onCreate() 393 if (wifiConfiguration.networkId == connectionNetworkId) { in getConnectedWifiNetworkConfigOrNull() 399 wifiConfiguration.networkId, in getConnectedWifiNetworkConfigOrNull()
|
D | WifiDppInitiatorViewModel.java | 55 public void startEasyConnectAsConfiguratorInitiator(String qrCode, int networkId) { in startEasyConnectAsConfiguratorInitiator() argument 59 wifiManager.startEasyConnectAsConfiguratorInitiator(qrCode, networkId, in startEasyConnectAsConfiguratorInitiator()
|
D | WifiDppQrCodeScannerFragment.java | 242 model.getEnrolleeSuccessNetworkId().observe(this, networkId -> { in onCreate() 249 new EasyConnectEnrolleeStatusCallback().onEnrolleeSuccess(networkId.intValue()); in onCreate() 556 if (wifiConfig.networkId == newNetworkId) { in onEnrolleeSuccess()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | WifiDataUsageSummaryPreferenceController.java | 36 Lifecycle lifecycle, PreferenceFragmentCompat fragment, CharSequence networkId) { in WifiDataUsageSummaryPreferenceController() argument 39 if (networkId == null) { in WifiDataUsageSummaryPreferenceController() 42 mNetworkId = String.valueOf(networkId); in WifiDataUsageSummaryPreferenceController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | WifiDataUsageSummaryPreferenceController.java | 37 Lifecycle lifecycle, PreferenceFragmentCompat fragment, CharSequence networkId) { in WifiDataUsageSummaryPreferenceController() argument 40 if (networkId == null) { in WifiDataUsageSummaryPreferenceController() 43 mNetworkId = String.valueOf(networkId); in WifiDataUsageSummaryPreferenceController()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | KnownNetworkState.java | 121 int networkId = mUserChoiceInfo.getWifiConfiguration().networkId; in onGuidedActionClicked() local 123 Context.WIFI_SERVICE)).forget(networkId, null); in onGuidedActionClicked()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ConfirmConnectToWifiNetworkActivity.java | 97 int networkId = wifiManager.addNetwork(mCurrentWifiConfiguration); in doConnect() local 99 if (networkId < 0) { in doConnect() 103 wifiManager.connect(networkId, in doConnect()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiUtils.java | 152 config.networkId = accessPoint.getConfig().networkId; in getWifiConfig()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiUtils.java | 152 config.networkId = accessPoint.getConfig().networkId; in getWifiConfig()
|
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/ |
D | ChannelScanFragment.java | 228 private Channel createFakeChannel(String name, String number, int networkId) { in createFakeChannel() argument 234 .setOriginalNetworkId(networkId) in createFakeChannel()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | ServiceStateProviderTest.java | 176 final int networkId = ss.getCdmaNetworkId(); in verifyServiceStateForSubId() local 199 assertEquals(networkId, cursor.getInt(12)); in verifyServiceStateForSubId()
|