/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | OsuProviderTest.java | 58 Arrays.asList(OsuProvider.METHOD_SOAP_XML_SPP); 67 private static void verifyParcel(OsuProvider writeInfo) throws Exception { in verifyParcel() 72 OsuProvider readInfo = OsuProvider.CREATOR.createFromParcel(parcel); in verifyParcel() 85 verifyParcel(new OsuProvider(null, null, null, null, null, null, null)); in verifyParcelWithEmptyProviderInfo() 95 verifyParcel(new OsuProvider(TEST_SSID, TEST_FRIENDLY_NAMES, in verifyParcelWithFullProviderInfo() 105 OsuProvider expected = new OsuProvider(null, null, null, null, null, null, null); in verifyCopyConstructorWithNullSource() 106 assertEquals(expected, new OsuProvider(null)); in verifyCopyConstructorWithNullSource() 116 OsuProvider source = new OsuProvider(TEST_SSID, TEST_FRIENDLY_NAMES, in verifyCopyConstructorWithValidSource() 118 assertEquals(source, new OsuProvider(source)); in verifyCopyConstructorWithValidSource() 128 OsuProvider provider = new OsuProvider(TEST_SSID, TEST_FRIENDLY_NAMES, in verifyGetters()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/ |
D | OsuProvider.java | 42 public final class OsuProvider implements Parcelable { class 93 public OsuProvider(WifiSsid osuSsid, Map<String, String> friendlyNames, in OsuProvider() method in OsuProvider 115 public OsuProvider(OsuProvider source) { in OsuProvider() method in OsuProvider 226 if (!(thatObject instanceof OsuProvider)) { in equals() 229 OsuProvider that = (OsuProvider) thatObject; in equals() 260 public static final @android.annotation.NonNull Creator<OsuProvider> CREATOR = 261 new Creator<OsuProvider>() { 263 public OsuProvider createFromParcel(Parcel in) { 274 return new OsuProvider(osuSsid, friendlyNamesMap, serviceDescription, 279 public OsuProvider[] newArray(int size) { [all …]
|
D | OsuProvider.aidl | 19 parcelable OsuProvider;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProvisioningTestUtil.java | 22 import android.net.wifi.hotspot2.OsuProvider; 56 Arrays.asList(OsuProvider.METHOD_SOAP_XML_SPP); 65 public static OsuProvider generateOsuProvider(boolean openOsuAP) { in generateOsuProvider() 78 public static OsuProvider generateOsuProviderWithFriendlyName(boolean openOsuAP, in generateOsuProviderWithFriendlyName() 81 return new OsuProvider(TEST_SSID, friendlyNames, in generateOsuProviderWithFriendlyName() 85 return new OsuProvider(TEST_SSID, friendlyNames, in generateOsuProviderWithFriendlyName() 95 public static OsuProvider generateInvalidServerUrlOsuProvider() { in generateInvalidServerUrlOsuProvider() 98 return new OsuProvider(TEST_SSID, friendlyNameMap, in generateInvalidServerUrlOsuProvider()
|
D | PasspointManagerTest.java | 67 import android.net.wifi.hotspot2.OsuProvider; 1142 Set<OsuProvider> expectedOsuProvidersForDomainId = new HashSet<>(); in getMatchingOsuProvidersWithMatch() 1147 Set<OsuProvider> expectedOsuProvidersForDomainId2 = new HashSet<>(); in getMatchingOsuProvidersWithMatch() 1170 expectedOsuProvidersForDomainId.add(new OsuProvider( in getMatchingOsuProvidersWithMatch() 1182 expectedOsuProvidersForDomainId2.add(new OsuProvider( in getMatchingOsuProvidersWithMatch() 1229 List<OsuProvider> osuProviders = new ArrayList<>(); in getMatchingPasspointConfigsForOsuProvidersWithMatch() 1241 Map<OsuProvider, PasspointConfiguration> results = in getMatchingPasspointConfigsForOsuProvidersWithMatch() 1257 List<OsuProvider> osuProviders = new ArrayList<>(); in getMatchingPasspointConfigsForOsuProvidersWitNoMatch() 1616 when(mPasspointProvisioner.startSubscriptionProvisioning(anyInt(), any(OsuProvider.class), in verifyPasspointProvisioner() 1618 OsuProvider osuProvider = PasspointProvisioningTestUtil.generateOsuProvider(true); in verifyPasspointProvisioner()
|
D | PasspointProvisionerTest.java | 49 import android.net.wifi.hotspot2.OsuProvider; 167 private OsuProvider mOsuProvider; 512 mOsuProvider = new OsuProvider(null, info.getFriendlyNames(), in verifySelectBestOsuProviderForProvisioning()
|
/frameworks/base/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 36 import android.net.wifi.hotspot2.OsuProvider; 99 public Map<OsuProvider, List<ScanResult>> getMatchingOsuProviders( in getMatchingOsuProviders() 105 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders() 106 List<OsuProvider> osuProviders) { in getMatchingPasspointConfigsForOsuProviders() 393 OsuProvider provider, IProvisioningCallback callback) { in startSubscriptionProvisioning()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 21 import android.net.wifi.hotspot2.OsuProvider; 70 Map getMatchingPasspointConfigsForOsuProviders(in List<OsuProvider> osuProviders); in getMatchingPasspointConfigsForOsuProviders() 187 void startSubscriptionProvisioning(in OsuProvider provider, in IProvisioningCallback callback); in startSubscriptionProvisioning()
|
D | WifiManager.java | 42 import android.net.wifi.hotspot2.OsuProvider; 1282 public Map<OsuProvider, List<ScanResult>> getMatchingOsuProviders( in getMatchingOsuProviders() 1312 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders() 1313 @NonNull Set<OsuProvider> osuProviders) { in getMatchingPasspointConfigsForOsuProviders() 4389 public void startSubscriptionProvisioning(@NonNull OsuProvider provider, in startSubscriptionProvisioning()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointManager.java | 44 import android.net.wifi.hotspot2.OsuProvider; 961 public Map<OsuProvider, List<ScanResult>> getMatchingOsuProviders( in getMatchingOsuProviders() 968 Map<OsuProvider, List<ScanResult>> osuProviders = new HashMap<>(); in getMatchingOsuProviders() 984 OsuProvider provider = new OsuProvider(null, info.getFriendlyNames(), in getMatchingOsuProviders() 1007 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders() 1008 List<OsuProvider> osuProviders) { in getMatchingPasspointConfigsForOsuProviders() 1009 Map<OsuProvider, PasspointConfiguration> matchingPasspointConfigs = new HashMap<>(); in getMatchingPasspointConfigsForOsuProviders() 1012 for (OsuProvider osuProvider : osuProviders) { in getMatchingPasspointConfigsForOsuProviders() 1165 public boolean startSubscriptionProvisioning(int callingUid, OsuProvider provider, in startSubscriptionProvisioning()
|
D | PasspointProvisioner.java | 27 import android.net.wifi.hotspot2.OsuProvider; 150 public boolean startSubscriptionProvisioning(int callingUid, OsuProvider provider, in startSubscriptionProvisioning() 178 private OsuProvider mOsuProvider; 219 public void startProvisioning(OsuProvider provider, IProvisioningCallback callback) { in startProvisioning() 986 private OsuProvider getBestMatchingOsuProvider( in getBestMatchingOsuProvider() 988 OsuProvider osuProvider) { in getBestMatchingOsuProvider() 1020 OsuProvider candidate = new OsuProvider(null, info.getFriendlyNames(), in getBestMatchingOsuProvider()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiTracker.java | 38 import android.net.wifi.hotspot2.OsuProvider; 683 Map<OsuProvider, List<ScanResult>> providersAndScans, in updateOsuAccessPoints() argument 687 Set<OsuProvider> alreadyProvisioned = mWifiManager in updateOsuAccessPoints() 690 for (OsuProvider provider : providersAndScans.keySet()) { in updateOsuAccessPoints() 729 OsuProvider provider, in getCachedOrCreateOsu()
|
D | AccessPoint.java | 44 import android.net.wifi.hotspot2.OsuProvider; 256 private OsuProvider mOsuProvider; 370 public AccessPoint(@NonNull Context context, @NonNull OsuProvider provider, in AccessPoint() 678 public static String getKey(OsuProvider provider) { in getKey()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 52 import android.net.wifi.hotspot2.OsuProvider; 336 private static OsuProvider buildOsuProvider(String friendlyName) { in buildOsuProvider() 339 return new OsuProvider(null, friendlyNames, null, null, null, null, null); in buildOsuProvider() 1130 Map<OsuProvider, List<ScanResult>> providersAndScans = new HashMap<>(); in updateOsuAccessPoints_returnedAccessPointsAreOsuProviders() 1154 Map<OsuProvider, List<ScanResult>> providersAndScans = new HashMap<>(); in updateOsuAccessPoints_doesNotReturnAlreadyProvisionedOsuAccessPoints() 1172 Map<OsuProvider, PasspointConfiguration> matchingPasspointConfigForOsuProvider = in updateOsuAccessPoints_doesNotReturnAlreadyProvisionedOsuAccessPoints() 1197 Map<OsuProvider, List<ScanResult>> providersAndScans = new HashMap<>(); in updateOsuAccessPoints_usesCachedAccessPoints()
|
D | AccessPointTest.java | 47 import android.net.wifi.hotspot2.OsuProvider; 120 private OsuProvider createOsuProvider() { in createOsuProvider() 123 return new OsuProvider(null, friendlyNames, null, null, null, null, null); in createOsuProvider() 1291 OsuProvider provider = createOsuProvider(); in testGetKey_matchesKeysCorrectly() 1467 OsuProvider provider = createOsuProvider(); in testOsuAccessPoint_connectsAfterProvisioning() 1473 Map<OsuProvider, PasspointConfiguration> osuProviderConfigMap = new HashMap<>(); in testOsuAccessPoint_connectsAfterProvisioning() 1501 OsuProvider provider = createOsuProvider(); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure() 1507 Map<OsuProvider, PasspointConfiguration> osuProviderConfigMap = new HashMap<>(); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 72 import android.net.wifi.hotspot2.OsuProvider; 1695 public Map<OsuProvider, List<ScanResult>> syncGetMatchingOsuProviders( in syncGetMatchingOsuProviders() 1701 Map<OsuProvider, List<ScanResult>> providers = in syncGetMatchingOsuProviders() 1702 (Map<OsuProvider, List<ScanResult>>) resultMsg.obj; in syncGetMatchingOsuProviders() 1715 public Map<OsuProvider, PasspointConfiguration> syncGetMatchingPasspointConfigsForOsuProviders( in syncGetMatchingPasspointConfigsForOsuProviders() 1716 List<OsuProvider> osuProviders, AsyncChannel channel) { in syncGetMatchingPasspointConfigsForOsuProviders() 1721 Map<OsuProvider, PasspointConfiguration> result = in syncGetMatchingPasspointConfigsForOsuProviders() 1722 (Map<OsuProvider, PasspointConfiguration>) resultMsg.obj; in syncGetMatchingPasspointConfigsForOsuProviders() 1809 public boolean syncStartSubscriptionProvisioning(int callingUid, OsuProvider provider, in syncStartSubscriptionProvisioning() 3613 new HashMap<OsuProvider, PasspointConfiguration>()); in processMessage() [all …]
|
D | WifiServiceImpl.java | 79 import android.net.wifi.hotspot2.OsuProvider; 1939 public Map<OsuProvider, List<ScanResult>> getMatchingOsuProviders( in getMatchingOsuProviders() 1960 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders() 1961 List<OsuProvider> osuProviders) { in getMatchingPasspointConfigsForOsuProviders() 3113 public void startSubscriptionProvisioning(OsuProvider provider, in startSubscriptionProvisioning()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 61 import android.net.wifi.hotspot2.OsuProvider; 341 OsuProvider mOsuProvider; 1874 any(OsuProvider.class), any(IProvisioningCallback.class))).thenReturn(true); in syncStartSubscriptionProvisioningInClientMode() 1894 anyInt(), any(OsuProvider.class), any(IProvisioningCallback.class)); in syncStartSubscriptionProvisioningBeforeSupplicantOrAPStart() 1908 anyInt(), any(OsuProvider.class), any(IProvisioningCallback.class)); in syncStartSubscriptionProvisioningNoOpWifiDisabled()
|
D | WifiServiceImplTest.java | 104 import android.net.wifi.hotspot2.OsuProvider; 200 private OsuProvider mOsuProvider; 387 any(OsuProvider.class), any(IProvisioningCallback.class), any())).thenReturn(true); in setUp()
|
/frameworks/base/proto/src/ |
D | wifi.proto | 2641 // The reason code for provisioning failure when an {@link OsuProvider} is not found for
|
/frameworks/base/api/ |
D | system-current.txt | 4683 ….NETWORK_SETUP_WIZARD}) public java.util.Map<android.net.wifi.hotspot2.OsuProvider,java.util.List<… 4684 …OsuProvider,android.net.wifi.hotspot2.PasspointConfiguration> getMatchingPasspointConfigsForOsuPro… 4699 … void startSubscriptionProvisioning(@NonNull android.net.wifi.hotspot2.OsuProvider, @NonNull java.… 4928 public final class OsuProvider implements android.os.Parcelable { 4933 …l public static final android.os.Parcelable.Creator<android.net.wifi.hotspot2.OsuProvider> CREATOR;
|