/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/ |
D | AdbQrCodeTest.java | 32 assertThat(config.getSecurity()).isEqualTo("ADB"); in testZxParsing_validCode() 37 assertThat(config.getSecurity()).isEqualTo("ADB"); in testZxParsing_validCode() 42 assertThat(config.getSecurity()).isEqualTo("ADB"); in testZxParsing_validCode() 51 assertThat(config.getSecurity()).isEqualTo("ADB"); in testZxParsing_invalidCodeButShouldWork() 56 assertThat(config.getSecurity()).isEqualTo("ADB"); in testZxParsing_invalidCodeButShouldWork() 61 assertThat(config.getSecurity()).isEqualTo("ADB"); in testZxParsing_invalidCodeButShouldWork()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | AccessPoint.java | 131 return getKey(result.SSID, result.BSSID, getSecurity(result)); in getKey() 150 return getKey(getSsidStr(), mWifiEntry.getMacAddress(), getSecurity()); in getKey() 176 public static int getSecurity(WifiEntry wifiEntry) { in getSecurity() method in AccessPoint 214 public int getSecurity() { in getSecurity() method in AccessPoint 215 return getSecurity(mWifiEntry); in getSecurity() 261 private static int getSecurity(ScanResult result) { in getSecurity() method in AccessPoint
|
D | WifiDetailsState.java | 163 && mAccessPoint.getSecurity() == accessPoint.getSecurity()) { in onWifiListChanged()
|
D | AccessPointPreferenceController.java | 86 .putExtra(EXTRA_WIFI_SECURITY_NAME, mAccessPoint.getSecurity()); in init()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | WifiEntryListPreferenceControllerTest.java | 115 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp() 117 when(mMockWifiEntry2.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp() 178 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in performClick_noSecurityNotConnectedWifiEntry_connect() 191 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in performClick_shouldEditBeforeConnect_launchDialog() 250 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in performButtonClick_savedWifiEntry_forgetsNetwork() 271 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in callChangeListener_newSecureWifiEntry_wifiConnected() 290 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in fetchWifiEntries_getSavedWifiEntries() 317 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in fetchWifiEntries_getAllWifiEntries() 340 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in fetchWifiEntries_restrictionByDpm_returnsNoEntries()
|
D | LimitedWifiEntryListPreferenceControllerTest.java | 95 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp() 97 when(mMockWifiEntry2.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp() 99 when(mMockWifiEntry3.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp() 101 when(mMockWifiEntry4.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | NetworkRequestDialogFragmentTest.java | 95 when(mWifiEntry.getSecurity()).thenReturn(SECURITY_PSK); in setUp() 206 when(wifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_WEP); in createWifiEntryList() 211 when(wifiEntry2.getSecurity()).thenReturn(WifiEntry.SECURITY_WEP); in createWifiEntryList() 216 when(wifiEntry3.getSecurity()).thenReturn(WifiEntry.SECURITY_WEP); in createWifiEntryList() 221 when(wifiEntry4.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in createWifiEntryList() 226 when(wifiEntry5.getSecurity()).thenReturn(WifiEntry.SECURITY_WEP); in createWifiEntryList() 231 when(wifiEntry6.getSecurity()).thenReturn(WifiEntry.SECURITY_WEP); in createWifiEntryList()
|
D | WifiConfigControllerTest.java | 104 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in setUp() 235 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_EAP); in isSubmittable_caCertWithoutDomain_shouldReturnFalse() 249 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_EAP); in isSubmittable_caCertWithDomain_shouldReturnTrue() 569 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_EAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 630 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_EAP); in loadSims_noSim_simSpinnerDefaultNoSim() 646 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_EAP); in loadSims_oneSim_simSpinnerDefaultSubscription()
|
D | WifiConfigController2Test.java | 144 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in setUp() 288 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in isSubmittable_caCertWithoutDomain_shouldReturnFalse() 301 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in isSubmittable_caCertWithDomain_shouldReturnTrue() 870 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in setUpModifyingSavedPeapConfigController() 883 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in loadSims_noSim_simSpinnerDefaultNoSim() 895 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in loadSims_oneSim_simSpinnerDefaultSubscription() 919 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in loadSims_twoSimsWithDifferentCarrierId_showTwoSims() 935 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in loadSims_twoSimsWithSameCarrierId_showOneDefaultDataSim() 1059 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in setUpModifyingSavedCertificateConfigController()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/ |
D | WifiNetworkListFragmentTest.java | 96 when(wifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in onSavedWifiEntriesChanged_openSavedWifiEntry_onlyAddNetworkPreference() 109 when(wifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in onSavedWifiEntriesChanged_pskSavedWifiEntry_add2Preferences() 121 when(wifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_SAE); in onSavedWifiEntriesChanged_saeSavedWifiEntry_add2Preferences()
|
D | WifiDppUtilsTest.java | 72 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | TvAccessPointPreference.java | 78 if ((mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) in onBindViewHolder() 79 && (mAccessPoint.getSecurity() != AccessPoint.SECURITY_OWE)) { in onBindViewHolder()
|
D | AccessPointPreference.java | 185 if ((mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) in bindFrictionImage() 186 && (mAccessPoint.getSecurity() != AccessPoint.SECURITY_OWE)) { in bindFrictionImage() 262 ap.getSecurity() == AccessPoint.SECURITY_NONE in buildContentDescription()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | WifiSecurityUtil.java | 36 public static int getSecurity(ScanResult result) { in getSecurity() method in WifiSecurityUtil 53 public static int getSecurity(WifiConfiguration config) { in getSecurity() method in WifiSecurityUtil
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiSliceItem.java | 62 mSecurity = wifiEntry.getSecurity(); in WifiSliceItem() 114 public int getSecurity() { in getSecurity() method in WifiSliceItem
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiEntryPreference.java | 262 if ((mWifiEntry.getSecurity() != WifiEntry.SECURITY_NONE) in bindFrictionImage() 263 && (mWifiEntry.getSecurity() != WifiEntry.SECURITY_OWE)) { in bindFrictionImage() 287 mWifiEntry.getSecurity() == WifiEntry.SECURITY_NONE in buildContentDescription()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/ |
D | WifiSecurityHelper.java | 77 public static Integer getSecurity(FragmentActivity context) { in getSecurity() method in WifiSecurityHelper 102 switch (getSecurity(context)) { in getConfig()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConnectionActivity.java | 182 AccessPoint.getSecurity(wifiEntry))); in onCreate() 183 userChoiceInfo.setWifiSecurity(AccessPoint.getSecurity(wifiEntry)); in onCreate()
|
D | WifiDetailsFragment.java | 140 && mAccessPoint.getSecurity() == accessPoint.getSecurity()) { in onWifiListChanged()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 129 mIconResource = AccessPoint.SECURITY_NONE == WifiSecurityUtil.getSecurity(scanResult) in ListItem() 213 && WifiSecurityUtil.getSecurity(mScanResult) in equals() 214 == WifiSecurityUtil.getSecurity(li.mScanResult)); in equals()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiDetailsHeaderPreferenceController.java | 89 WifiUtil.isOpenNetwork(getWifiEntry().getSecurity()) in getWifiEntryIcon()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiEntryPreference.java | 99 WifiUtil.isOpenNetwork(mWifiEntry.getSecurity()) in getWifiEntryIcon()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtils.java | 196 final int security = wifiEntry.getSecurity(); in getSecurityString() 487 return isSupportZxing(context, accessPoint.getSecurity()); in isSupportConfiguratorQrCodeGenerator()
|
D | AdbQrCode.java | 88 if (!SECURITY_ADB.equals(mAdbConfig.getSecurity())) { in AdbQrCode()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 1650 when(mMockWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in refreshEapSimSubscription_nonEapSecurity_invisibleEapSimSubscriptionPref() 1656 when(mMockWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_OWE); in refreshEapSimSubscription_nonEapSecurity_invisibleEapSimSubscriptionPref() 1662 when(mMockWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in refreshEapSimSubscription_nonEapSecurity_invisibleEapSimSubscriptionPref() 1668 when(mMockWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_SAE); in refreshEapSimSubscription_nonEapSecurity_invisibleEapSimSubscriptionPref() 1679 when(mMockWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in refreshEapSimSubscription_nonSimEapMethod_invisibleEapSimSubscriptionPref() 1694 when(mMockWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in refreshEapSimSubscription_simEapMethod_visibleEapSimSubscriptionPref() 1709 when(mMockWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_EAP); in refreshEapSimSubscription_unknownCarrierId_noSimEapSimSubscriptionPref()
|