Home
last modified time | relevance | path

Searched refs:OsuProvider (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DOsuProviderTest.java58 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/
DOsuProvider.java43 public final class OsuProvider implements Parcelable { class
94 public OsuProvider(WifiSsid osuSsid, Map<String, String> friendlyNames, in OsuProvider() method in OsuProvider
116 public OsuProvider(OsuProvider source) { in OsuProvider() method in OsuProvider
227 if (!(thatObject instanceof OsuProvider)) { in equals()
230 OsuProvider that = (OsuProvider) thatObject; in equals()
262 public static final @android.annotation.NonNull Creator<OsuProvider> CREATOR =
263 new Creator<OsuProvider>() {
265 public OsuProvider createFromParcel(Parcel in) {
276 return new OsuProvider(osuSsid, friendlyNamesMap, serviceDescription,
281 public OsuProvider[] newArray(int size) {
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisioningTestUtil.java22 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()
DPasspointManagerTest.java67 import android.net.wifi.hotspot2.OsuProvider;
1144 Set<OsuProvider> expectedOsuProvidersForDomainId = new HashSet<>(); in getMatchingOsuProvidersWithMatch()
1149 Set<OsuProvider> expectedOsuProvidersForDomainId2 = new HashSet<>(); in getMatchingOsuProvidersWithMatch()
1172 expectedOsuProvidersForDomainId.add(new OsuProvider( in getMatchingOsuProvidersWithMatch()
1184 expectedOsuProvidersForDomainId2.add(new OsuProvider( in getMatchingOsuProvidersWithMatch()
1231 List<OsuProvider> osuProviders = new ArrayList<>(); in getMatchingPasspointConfigsForOsuProvidersWithMatch()
1243 Map<OsuProvider, PasspointConfiguration> results = in getMatchingPasspointConfigsForOsuProvidersWithMatch()
1259 List<OsuProvider> osuProviders = new ArrayList<>(); in getMatchingPasspointConfigsForOsuProvidersWitNoMatch()
1618 when(mPasspointProvisioner.startSubscriptionProvisioning(anyInt(), any(OsuProvider.class), in verifyPasspointProvisioner()
1620 OsuProvider osuProvider = PasspointProvisioningTestUtil.generateOsuProvider(true); in verifyPasspointProvisioner()
DPasspointProvisionerTest.java49 import android.net.wifi.hotspot2.OsuProvider;
166 private OsuProvider mOsuProvider;
511 mOsuProvider = new OsuProvider(null, info.getFriendlyNames(), in verifySelectBestOsuProviderForProvisioning()
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java36 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/
DIWifiManager.aidl21 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()
DWifiManager.java43 import android.net.wifi.hotspot2.OsuProvider;
1314 public Map<OsuProvider, List<ScanResult>> getMatchingOsuProviders( in getMatchingOsuProviders()
1344 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders()
1345 @NonNull Set<OsuProvider> osuProviders) { in getMatchingPasspointConfigsForOsuProviders()
4452 public void startSubscriptionProvisioning(@NonNull OsuProvider provider, in startSubscriptionProvisioning()
/frameworks/base/wifi/aidl-export/android/net/wifi/hotspot2/
DOsuProvider.aidl19 parcelable OsuProvider;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java27 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()
DPasspointManager.java44 import android.net.wifi.hotspot2.OsuProvider;
979 public Map<OsuProvider, List<ScanResult>> getMatchingOsuProviders( in getMatchingOsuProviders()
986 Map<OsuProvider, List<ScanResult>> osuProviders = new HashMap<>(); in getMatchingOsuProviders()
1002 OsuProvider provider = new OsuProvider(null, info.getFriendlyNames(), in getMatchingOsuProviders()
1025 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders()
1026 List<OsuProvider> osuProviders) { in getMatchingPasspointConfigsForOsuProviders()
1027 Map<OsuProvider, PasspointConfiguration> matchingPasspointConfigs = new HashMap<>(); in getMatchingPasspointConfigsForOsuProviders()
1031 for (OsuProvider osuProvider : osuProviders) { in getMatchingPasspointConfigsForOsuProviders()
1185 public boolean startSubscriptionProvisioning(int callingUid, OsuProvider provider, in startSubscriptionProvisioning()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java38 import android.net.wifi.hotspot2.OsuProvider;
701 Map<OsuProvider, List<ScanResult>> providersAndScans, in updateOsuAccessPoints() argument
705 Set<OsuProvider> alreadyProvisioned = mWifiManager in updateOsuAccessPoints()
708 for (OsuProvider provider : providersAndScans.keySet()) { in updateOsuAccessPoints()
748 OsuProvider provider, in getCachedOrCreateOsu()
DAccessPoint.java44 import android.net.wifi.hotspot2.OsuProvider;
256 private OsuProvider mOsuProvider;
380 public AccessPoint(@NonNull Context context, @NonNull OsuProvider provider, in AccessPoint()
695 public static String getKey(OsuProvider provider) { in getKey()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java52 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()
DAccessPointTest.java48 import android.net.wifi.hotspot2.OsuProvider;
121 private OsuProvider createOsuProvider() { in createOsuProvider()
124 return new OsuProvider(null, friendlyNames, null, null, null, null, null); in createOsuProvider()
1292 OsuProvider provider = createOsuProvider(); in testGetKey_matchesKeysCorrectly()
1506 OsuProvider provider = createOsuProvider(); in testOsuAccessPoint_connectsAfterProvisioning()
1512 Map<OsuProvider, PasspointConfiguration> osuProviderConfigMap = new HashMap<>(); in testOsuAccessPoint_connectsAfterProvisioning()
1540 OsuProvider provider = createOsuProvider(); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
1546 Map<OsuProvider, PasspointConfiguration> osuProviderConfigMap = new HashMap<>(); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java78 import android.net.wifi.hotspot2.OsuProvider;
1712 public Map<OsuProvider, List<ScanResult>> syncGetMatchingOsuProviders( in syncGetMatchingOsuProviders()
1718 Map<OsuProvider, List<ScanResult>> providers = in syncGetMatchingOsuProviders()
1719 (Map<OsuProvider, List<ScanResult>>) resultMsg.obj; in syncGetMatchingOsuProviders()
1732 public Map<OsuProvider, PasspointConfiguration> syncGetMatchingPasspointConfigsForOsuProviders( in syncGetMatchingPasspointConfigsForOsuProviders()
1733 List<OsuProvider> osuProviders, AsyncChannel channel) { in syncGetMatchingPasspointConfigsForOsuProviders()
1738 Map<OsuProvider, PasspointConfiguration> result = in syncGetMatchingPasspointConfigsForOsuProviders()
1739 (Map<OsuProvider, PasspointConfiguration>) resultMsg.obj; in syncGetMatchingPasspointConfigsForOsuProviders()
1831 public boolean syncStartSubscriptionProvisioning(int callingUid, OsuProvider provider, in syncStartSubscriptionProvisioning()
3639 new HashMap<OsuProvider, PasspointConfiguration>()); in processMessage()
[all …]
DWifiServiceImpl.java81 import android.net.wifi.hotspot2.OsuProvider;
1986 public Map<OsuProvider, List<ScanResult>> getMatchingOsuProviders( in getMatchingOsuProviders()
2007 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders()
2008 List<OsuProvider> osuProviders) { in getMatchingPasspointConfigsForOsuProviders()
3172 public void startSubscriptionProvisioning(OsuProvider provider, in startSubscriptionProvisioning()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java67 import android.net.wifi.hotspot2.OsuProvider;
348 OsuProvider mOsuProvider;
1995 any(OsuProvider.class), any(IProvisioningCallback.class))).thenReturn(true); in syncStartSubscriptionProvisioningInClientMode()
2015 anyInt(), any(OsuProvider.class), any(IProvisioningCallback.class)); in syncStartSubscriptionProvisioningBeforeSupplicantOrAPStart()
2029 anyInt(), any(OsuProvider.class), any(IProvisioningCallback.class)); in syncStartSubscriptionProvisioningNoOpWifiDisabled()
DWifiServiceImplTest.java107 import android.net.wifi.hotspot2.OsuProvider;
205 private OsuProvider mOsuProvider;
394 any(OsuProvider.class), any(IProvisioningCallback.class), any())).thenReturn(true); in setUp()
/frameworks/base/proto/src/
Dwifi.proto2751 // The reason code for provisioning failure when an {@link OsuProvider} is not found for
/frameworks/base/api/
Dsystem-current.txt5375 ….NETWORK_SETUP_WIZARD}) public java.util.Map<android.net.wifi.hotspot2.OsuProvider,java.util.List<…
5376OsuProvider,android.net.wifi.hotspot2.PasspointConfiguration> getMatchingPasspointConfigsForOsuPro…
5393 … void startSubscriptionProvisioning(@NonNull android.net.wifi.hotspot2.OsuProvider, @NonNull java.…
5635 public final class OsuProvider implements android.os.Parcelable {
5640 …l public static final android.os.Parcelable.Creator<android.net.wifi.hotspot2.OsuProvider> CREATOR;
/frameworks/base/non-updatable-api/
Dsystem-current.txt5281 ….NETWORK_SETUP_WIZARD}) public java.util.Map<android.net.wifi.hotspot2.OsuProvider,java.util.List<…
5282OsuProvider,android.net.wifi.hotspot2.PasspointConfiguration> getMatchingPasspointConfigsForOsuPro…
5299 … void startSubscriptionProvisioning(@NonNull android.net.wifi.hotspot2.OsuProvider, @NonNull java.…
5541 public final class OsuProvider implements android.os.Parcelable {
5546 …l public static final android.os.Parcelable.Creator<android.net.wifi.hotspot2.OsuProvider> CREATOR;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46095 Landroid/net/wifi/hotspot2/OsuProvider;-><init>(Landroid/net/wifi/hotspot2/OsuProvider;)V
46096 Landroid/net/wifi/hotspot2/OsuProvider;-><init>(Landroid/net/wifi/WifiSsid;Ljava/lang/String;Ljava/…
46097 Landroid/net/wifi/hotspot2/OsuProvider;->CREATOR:Landroid/os/Parcelable$Creator;
46098 Landroid/net/wifi/hotspot2/OsuProvider;->getFriendlyName()Ljava/lang/String;
46099 Landroid/net/wifi/hotspot2/OsuProvider;->getIcon()Landroid/graphics/drawable/Icon;
46100 Landroid/net/wifi/hotspot2/OsuProvider;->getMethodList()Ljava/util/List;
46101 Landroid/net/wifi/hotspot2/OsuProvider;->getNetworkAccessIdentifier()Ljava/lang/String;
46102 Landroid/net/wifi/hotspot2/OsuProvider;->getOsuSsid()Landroid/net/wifi/WifiSsid;
46103 Landroid/net/wifi/hotspot2/OsuProvider;->getServerUri()Landroid/net/Uri;
46104 Landroid/net/wifi/hotspot2/OsuProvider;->getServiceDescription()Ljava/lang/String;
[all …]
Dboot-image-profile.txt11028 HSPLandroid/net/wifi/hotspot2/OsuProvider$1;-><init>()V
35049 Landroid/net/wifi/hotspot2/OsuProvider;