/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | WifiInfo.java | 119 public final String anonymousIdentity; field in WifiInfo 152 bundle.putString(EXTRA_PROVISIONING_WIFI_ANONYMOUS_IDENTITY, anonymousIdentity); in toPersistableBundle() 195 anonymousIdentity = builder.anonymousIdentity; in WifiInfo() 226 private String anonymousIdentity; field in WifiInfo.Builder 284 public Builder setAnonymousIdentity(String anonymousIdentity) { in setAnonymousIdentity() argument 285 this.anonymousIdentity = anonymousIdentity; in setAnonymousIdentity()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProviderTest.java | 370 String password, String identity, String anonymousIdentity, String domain, in buildTestWifiInfoForEAPWithCertificates() argument 377 .setAnonymousIdentity(anonymousIdentity) in buildTestWifiInfoForEAPWithCertificates() 391 String password, String identity, String anonymousIdentity, String domain, in assertEnterpriseConfig() argument 393 assertEnterpriseConfigBase(wifiConf, password, identity, anonymousIdentity, domain); in assertEnterpriseConfig() 398 String password, String identity, String anonymousIdentity, String domain) { in assertEnterpriseConfigWithoutCertificates() argument 399 assertEnterpriseConfigBase(wifiConf, password, identity, anonymousIdentity, domain); in assertEnterpriseConfigWithoutCertificates() 404 String identity, String anonymousIdentity, String domain) { in assertEnterpriseConfigBase() argument 408 assertEquals(anonymousIdentity, wifiConf.enterpriseConfig.getAnonymousIdentity()); in assertEnterpriseConfigBase()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 2845 String anonymousIdentity = mSupplicantStaIfaceHal 2848 if (TextUtils.isEmpty(anonymousIdentity)) { 2849 return anonymousIdentity; 2852 int indexOfDecoration = anonymousIdentity.lastIndexOf('!'); 2854 if (anonymousIdentity.substring(indexOfDecoration).length() < 2) { 2856 Log.e(TAG, "Unexpected anonymous identity: " + anonymousIdentity); 2861 anonymousIdentity = anonymousIdentity.substring(indexOfDecoration + 1); 2864 return anonymousIdentity; 5126 public boolean setEapAnonymousIdentity(@NonNull String ifaceName, String anonymousIdentity, 5128 if (null == anonymousIdentity) { [all …]
|
D | WifiNetworkSuggestionsManager.java | 314 public String anonymousIdentity = null; field in WifiNetworkSuggestionsManager.ExtendedWifiNetworkSuggestion 383 && anonymousIdentity != null) { in createInternalWifiConfiguration() 384 config.enterpriseConfig.setAnonymousIdentity(anonymousIdentity); in createInternalWifiConfiguration() 1001 ewns.anonymousIdentity = oldEwns.anonymousIdentity; in add() 2491 .forEach(ewns -> ewns.anonymousIdentity = null); in resetSimNetworkSuggestions() 2749 ewns.anonymousIdentity = config.enterpriseConfig.getAnonymousIdentity(); in setAnonymousIdentity()
|
D | ISupplicantStaIfaceHal.java | 828 default boolean setEapAnonymousIdentity(@NonNull String ifaceName, String anonymousIdentity, in setEapAnonymousIdentity() argument
|
D | SupplicantStaIfaceHal.java | 2363 public boolean setEapAnonymousIdentity(@NonNull String ifaceName, String anonymousIdentity, in setEapAnonymousIdentity() argument 2369 return mStaIfaceHal.setEapAnonymousIdentity(ifaceName, anonymousIdentity, in setEapAnonymousIdentity()
|
D | ClientModeImpl.java | 5780 String anonymousIdentity = in processMessageImpl() local 5782 if (!TextUtils.isEmpty(anonymousIdentity) in processMessageImpl() 5784 .isAnonymousAtRealmIdentity(anonymousIdentity)) { in processMessageImpl() 5787 anonymousIdentity); in processMessageImpl() 5790 && !decoratedPseudonym.equals(anonymousIdentity)) { in processMessageImpl() 5791 anonymousIdentity = decoratedPseudonym; in processMessageImpl() 5796 log("Update decorated pseudonym: " + anonymousIdentity); in processMessageImpl() 5806 anonymousIdentity, updateToNativeService); in processMessageImpl() 5809 log("EAP Pseudonym: " + anonymousIdentity); in processMessageImpl() 5812 config.enterpriseConfig.setAnonymousIdentity(anonymousIdentity); in processMessageImpl() [all …]
|
D | SupplicantStaIfaceHalAidlImpl.java | 3859 public boolean setEapAnonymousIdentity(@NonNull String ifaceName, String anonymousIdentity, in setEapAnonymousIdentity() argument 3865 if (anonymousIdentity == null) return false; in setEapAnonymousIdentity() 3871 if (!networkHandle.setEapAnonymousIdentity(anonymousIdentity.getBytes())) { in setEapAnonymousIdentity() 3878 currentConfig.enterpriseConfig.setAnonymousIdentity(anonymousIdentity); in setEapAnonymousIdentity()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNativeTest.java | 1497 final String anonymousIdentity = "abc@realm.com"; in testSetEapAnonymousIdentitySuccess() local 1498 assertTrue(mWifiNative.setEapAnonymousIdentity(WIFI_IFACE_NAME, anonymousIdentity, true)); in testSetEapAnonymousIdentitySuccess() 1500 eq(anonymousIdentity), eq(true)); in testSetEapAnonymousIdentitySuccess() 1510 final String anonymousIdentity = "abc@realm.com"; in testSetEapAnonymousIdentitySuccessWithNotUpdateToNativeService() local 1511 assertTrue(mWifiNative.setEapAnonymousIdentity(WIFI_IFACE_NAME, anonymousIdentity, false)); in testSetEapAnonymousIdentitySuccessWithNotUpdateToNativeService() 1513 eq(anonymousIdentity), eq(false)); in testSetEapAnonymousIdentitySuccessWithNotUpdateToNativeService()
|
D | SupplicantStaIfaceHalTest.java | 1213 final String anonymousIdentity = "abc@realm.net"; in verifySetEapAnonymousIdentity() local 1217 assertTrue(mDut.setEapAnonymousIdentity(IFACE_NAME, anonymousIdentity, in verifySetEapAnonymousIdentity() 1219 verify(mStaIfaceHalAidlMock).setEapAnonymousIdentity(eq(IFACE_NAME), eq(anonymousIdentity), in verifySetEapAnonymousIdentity()
|
D | SupplicantStaIfaceHalAidlImplTest.java | 751 String anonymousIdentity = "aaa@bbb.ccc"; in testGetCurrentNetworkEapAnonymousIdentity() local 753 .thenReturn(anonymousIdentity); in testGetCurrentNetworkEapAnonymousIdentity() 761 anonymousIdentity, mDut.getCurrentNetworkEapAnonymousIdentity(WLAN0_IFACE_NAME)); in testGetCurrentNetworkEapAnonymousIdentity() 2583 String anonymousIdentity = "abc@realm.org"; in verifySetEapAnonymousIdentity() local 2584 byte[] bytes = anonymousIdentity.getBytes(); in verifySetEapAnonymousIdentity() 2598 config.enterpriseConfig.setAnonymousIdentity(anonymousIdentity); in verifySetEapAnonymousIdentity() 2600 assertTrue(mDut.setEapAnonymousIdentity(WLAN0_IFACE_NAME, anonymousIdentity, in verifySetEapAnonymousIdentity()
|
D | SupplicantStaIfaceHalHidlImplTest.java | 911 String anonymousIdentity = "aaa@bbb.ccc"; in testGetCurrentNetworkEapAnonymousIdentity() local 913 .thenReturn(anonymousIdentity); in testGetCurrentNetworkEapAnonymousIdentity() 921 anonymousIdentity, mDut.getCurrentNetworkEapAnonymousIdentity(WLAN0_IFACE_NAME)); in testGetCurrentNetworkEapAnonymousIdentity()
|
D | WifiNetworkSuggestionsManagerTest.java | 821 assertEquals(TEST_ANONYMOUS_IDENTITY, matchedSuggestion.anonymousIdentity); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm() 5003 assertNull(ewns.anonymousIdentity); in testSetAnonymousIdentityOnSuggestionNetwork() 5015 assertEquals(TEST_ANONYMOUS_IDENTITY, ewns.anonymousIdentity); in testSetAnonymousIdentityOnSuggestionNetwork() 5024 assertEquals(null, ewns.anonymousIdentity); in testSetAnonymousIdentityOnSuggestionNetwork()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | WifiInfoTest.java | 74 assertEquals(TEST_ANONYMOUS_IDENTITY, wifiInfo.anonymousIdentity); in testBuilderWriteAndReadBack()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProvider.java | 175 wifiEnterpriseConfig.setAnonymousIdentity(wifiInfo.anonymousIdentity); in updateWifiEnterpriseConfigFromWifiInfo()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 234 public void setAnonymousIdentity(String anonymousIdentity) { in setAnonymousIdentity() argument 235 mAnonymousIdentity = anonymousIdentity; in setAnonymousIdentity()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 900 public void setAnonymousIdentity(String anonymousIdentity) { in setAnonymousIdentity() argument 901 setFieldValue(ANON_IDENTITY_KEY, anonymousIdentity); in setAnonymousIdentity()
|