Home
last modified time | relevance | path

Searched refs:WifiSecurity (Results 1 – 8 of 8) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DScanResultComparator.java29 private final WifiSecurity mConnectedSecurity;
31 public ScanResultComparator(String connectedSSID, WifiSecurity connectedSecurity) { in ScanResultComparator()
38 mConnectedSecurity = WifiSecurity.NONE; in ScanResultComparator()
53 WifiSecurity security1 = WifiSecurity.getSecurity(result1); in compare()
54 WifiSecurity security2 = WifiSecurity.getSecurity(result2); in compare()
DWifiConnectionActivity.java40 public static Intent createIntent(Context context, AccessPoint result, WifiSecurity security) { in createIntent()
47 final WifiSecurity security = WifiSecurity.getSecurity(result); in createIntent()
52 final WifiSecurity security = WifiSecurity.getSecurity(configuration); in createIntent()
61 private WifiSecurity mWifiSecurity;
68 mWifiSecurity = WifiSecurity.valueOf(getIntent().getStringExtra(EXTRA_WIFI_SECURITY_NAME)); in onCreate()
217 if ((mWifiSecurity == WifiSecurity.WEP && TextUtils.isEmpty(mConfiguration.wepKeys[0])) in addStartPage()
DAddWifiNetworkActivity.java35 private WifiSecurity mWifiSecurity;
77 mWifiSecurity = WifiSecurity.NONE; in onPageComplete()
79 mWifiSecurity = WifiSecurity.WEP; in onPageComplete()
81 mWifiSecurity = WifiSecurity.PSK; in onPageComplete()
83 mWifiSecurity = WifiSecurity.EAP; in onPageComplete()
86 if (mWifiSecurity == WifiSecurity.NONE) { in onPageComplete()
DWifiSecurity.java30 public enum WifiSecurity { enum
36 public static WifiSecurity getSecurity(ScanResult result) { in getSecurity()
47 public static WifiSecurity getSecurity(WifiConfiguration config) { in getSecurity()
58 public static WifiSecurity getSecurity(AccessPoint accessPoint) { in getSecurity()
71 private WifiSecurity(int nameResourceId) { in WifiSecurity() method in WifiSecurity
DWifiConfigHelper.java74 WifiConfiguration config, WifiSecurity security) { in setConfigKeyManagementBySecurity()
155 WifiSecurity security) { in getConfiguration()
239 WifiSecurity security) { in getFromConfiguredNetworks()
251 WifiSecurity configuredSecurity = WifiSecurity.getSecurity(configuredNetwork); in getFromConfiguredNetworks()
DWifiMultiPagedFormActivity.java142 WifiConfiguration wifiConfiguration, WifiSecurity wifiSecurity, String password) { in setWifiConfigurationPassword()
143 if (wifiSecurity == WifiSecurity.WEP) { in setWifiConfigurationPassword()
153 if (wifiSecurity == WifiSecurity.PSK in setWifiConfigurationPassword()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DWifiSetupActivity.java49 import com.android.tv.settings.connectivity.WifiSecurity;
87 private WifiSecurity mWifiSecurity;
273 mWifiSecurity = WifiSecurity.NONE; in onPageComplete()
275 mWifiSecurity = WifiSecurity.WEP; in onPageComplete()
277 mWifiSecurity = WifiSecurity.PSK; in onPageComplete()
279 mWifiSecurity = WifiSecurity.EAP; in onPageComplete()
282 if (mWifiSecurity == WifiSecurity.NONE) { in onPageComplete()
479 final HashMap<Pair<String, WifiSecurity>, ScanResult> consolidatedScanResults = in getNetworks()
486 Pair<String, WifiSecurity> key = in getNetworks()
487 new Pair<>(result.SSID, WifiSecurity.getSecurity(result)); in getNetworks()
[all …]
DSelectFromListWizardFragment.java48 import com.android.tv.settings.connectivity.WifiSecurity;
128 mIconResource = WifiSecurity.NONE == WifiSecurity.getSecurity(scanResult) in ListItem()
211 && WifiSecurity.getSecurity(mScanResult) in equals()
212 == WifiSecurity.getSecurity(li.mScanResult)); in equals()