/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/ |
SubscriptionTimer.java | 10 import com.android.hotspot2.pps.HomeSP; 23 private final Map<HomeSP, UpdateAction> mOutstanding = new HashMap<>(); 29 private UpdateAction(HomeSP homeSP, long now) { 30 mRemediation = homeSP.getSubscriptionUpdate() != null ? 31 now + homeSP.getSubscriptionUpdate().getInterval() : -1; 32 mPolicy = homeSP.getPolicy() != null ? 33 now + homeSP.getPolicy().getPolicyUpdate().getInterval() : -1; 35 Log.d(OSUManager.TAG, "Timer set for " + homeSP.getFQDN() + 79 Collection<HomeSP> homeSPs = mWifiNetworkAdapter.getLoadedSPs() [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
PasspointManagementObjectManagerTest.java | 34 import com.android.server.wifi.hotspot2.pps.HomeSP; 103 HomeSP newHomeSP = new HomeSP(Collections.<String, Long>emptyMap(), fqdn, 134 List<HomeSP> homeSPs = moMgr.loadAllSPs(); 138 HomeSP homeSP = moMgr.getHomeSP("twcwifi.com"); 139 assertNotNull(homeSP); 140 assertEquals("TWC-WiFi", homeSP.getFriendlyName()); 141 assertEquals("tushar4", homeSP.getCredential().getUserName()); 143 homeSP = moMgr.getHomeSP("wi-fi.org") [all...] |
/frameworks/base/packages/Osu/src/com/android/configparse/ |
ConfigBuilder.java | 16 import com.android.hotspot2.pps.HomeSP; 34 public static WifiConfiguration buildConfig(HomeSP homeSP, X509Certificate caCert, 38 Credential credential = homeSP.getCredential(); 48 config = buildTTLSConfig(homeSP); 51 config = buildTLSConfig(homeSP, clientChain, key); 60 config = buildSIMConfig(homeSP); 98 private static WifiConfiguration buildTTLSConfig(HomeSP homeSP) 100 Credential credential = homeSP.getCredential() [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
OSUManager.java | 23 import com.android.hotspot2.pps.HomeSP; 246 private final HomeSP mHomeSP; 269 private OSUThread(String osuURL, OSUManager osuManager, KeyManager km, HomeSP homeSP, 273 mHomeSP = homeSP; 274 mSpName = homeSP.getFriendlyName(); 519 HomeSP homeSP = mWifiConfigStore.getHomeSPForConfig(wifiConfiguration); 520 if (homeSP != null && homeSP.getSubscriptionUpdate() != null) [all...] |
ClientKeyManager.java | 5 import com.android.hotspot2.pps.HomeSP; 30 public ClientKeyManager(HomeSP homeSP, KeyStore keyStore) throws IOException { 33 mAliasMap.put(OSUCertType.AAA, OSUManager.CERT_CLT_CA_ALIAS + homeSP.getFQDN()); 34 mAliasMap.put(OSUCertType.Client, OSUManager.CERT_CLT_CERT_ALIAS + homeSP.getFQDN()); 35 mAliasMap.put(OSUCertType.PrivateKey, OSUManager.CERT_CLT_KEY_ALIAS + homeSP.getFQDN());
|
OSUClient.java | 26 import com.android.hotspot2.pps.HomeSP; 204 public void remediate(OSUManager osuManager, Network network, KeyManager km, HomeSP homeSP, 207 try (HTTPHandler httpHandler = createHandler(network, homeSP, km, flowType)) { 208 URL redirectURL = osuManager.prepareUserInput(homeSP.getFriendlyName()); 236 osuManager.getMOTree(homeSP)); 279 km, mKeyStore, homeSP, flowType)) { 350 osuManager.remediationComplete(homeSP, mods, certs, clientKey); 352 osuManager.provisioningFailed(homeSP.getFriendlyName(), e.getMessage(), homeSP, [all...] |
OSUSocketFactory.java | 8 import com.android.hotspot2.pps.HomeSP; 78 public static OSUSocketFactory getSocketFactory(KeyStore ks, HomeSP homeSP, int flowType, 86 return new OSUSocketFactory(ks, homeSP, flowType, network, url, km); 89 private OSUSocketFactory(KeyStore ks, HomeSP homeSP, int flowType, Network network, 93 mTrustManager = new WFATrustManager(ks, homeSP, flowType); 217 private final HomeSP mHomeSP; 221 private WFATrustManager(KeyStore ks, HomeSP homeSP, int flowType [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
WifiNetworkAdapter.java | 25 import com.android.hotspot2.pps.HomeSP; 48 private final HomeSP mHomeSP; 54 List<HomeSP> spList = MOManager.buildSPs(mMOTree); 56 throw new OMAException("Expected exactly one HomeSP, got " + spList.size()); 65 public HomeSP getHomeSP() { 102 public Collection<HomeSP> getLoadedSPs() { 103 List<HomeSP> homeSPs = new ArrayList<>(); 110 public MOTree getMOTree(HomeSP homeSP) { 111 PasspointConfig config = mPasspointConfigs.get(homeSP.getFQDN()) [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
MOManager.java | 16 import com.android.hotspot2.pps.HomeSP; 76 public static final String TAG_HomeSP = "HomeSP"; 142 "homesp", UpdateInfo.UpdateRestriction.HomeSP, 157 private final Map<String, HomeSP> mSPs; 177 public Map<String, HomeSP> getLoadedSPs() { 181 public List<HomeSP> loadAllSPs() throws IOException { 194 List<HomeSP> sps = buildSPs(moTree); 196 for (HomeSP sp : sps) { 206 throw new OMAException("Failed to build HomeSP"); [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
ConfigBuilder.java | 18 import com.android.server.wifi.hotspot2.pps.HomeSP; 167 HomeSP homeSP = PasspointManagementObjectManager.buildSP(moText); 169 return buildConfig(homeSP, caCert, clientChain, clientKey); 172 private static WifiConfiguration buildConfig(HomeSP homeSP, X509Certificate caCert, 178 EAP.EAPMethodID eapMethodID = homeSP.getCredential().getEAPMethod().getEAPMethodID(); 185 config = buildTTLSConfig(homeSP, caCert); 188 config = buildTLSConfig(homeSP, clientChain, key, caCert); 197 config = buildSIMConfig(homeSP); [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
PasspointManagementObjectManager.java | 15 import com.android.server.wifi.hotspot2.pps.HomeSP; 75 public static final String TAG_HomeSP = "HomeSP"; 141 "homesp", UpdateInfo.UpdateRestriction.HomeSP, 156 private final Map<String, HomeSP> mSPs; 172 public Map<String, HomeSP> getLoadedSPs() { 176 public List<HomeSP> loadAllSPs() throws IOException { 191 List<HomeSP> sps = buildSPs(moTree); 193 for (HomeSP sp : sps) { 204 throw new OMAException("Failed to build HomeSP"); [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
HomeSP.java | 12 public class HomeSP { 35 public HomeSP(Map<String, Long> ssidMap, 68 public HomeSP(Map<String, Long> ssidMap, 167 public boolean deepEquals(HomeSP other) { 187 HomeSP that = (HomeSP) thatObject; 198 return "HomeSP{" +
|
UpdateInfo.java | 24 public enum UpdateRestriction {HomeSP, RoamingPartner, Unrestricted}
|
/frameworks/opt/net/wifi/tests/wifitests/assets/ |
r1.PerProviderSubscription.conf | 5 6:HomeSP+ 27 b:Restriction=6:HomeSP 56 b:Restriction=6:HomeSP 67 6:HomeSP+
|
r2.PerProviderSubscription.conf | 10 b:Restriction=6:HomeSP 39 b:Restriction=6:HomeSP 50 6:HomeSP+ 74 6:HomeSP+
|
r2-ttls-tree.xml | 30 <Value>HomeSP</Value>
116 <Value>HomeSP</Value>
152 <NodeName>HomeSP</NodeName>
|
ruckus.PerProviderSubscription.conf | 10 b:Restriction=6:HomeSP 39 b:Restriction=6:HomeSP 50 6:HomeSP+
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
PasspointMatchInfo.java | 8 import com.android.server.wifi.hotspot2.pps.HomeSP; 21 private final HomeSP mHomeSP; 90 ScanDetail scanDetail, HomeSP homeSP) { 93 mHomeSP = homeSP; 176 public HomeSP getHomeSP() {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
HomeSP.java | 34 public class HomeSP { 57 public HomeSP(Map<String, Long> ssidMap, 90 public HomeSP(Map<String, Long> ssidMap, 330 public boolean deepEquals(HomeSP other) { 350 HomeSP that = (HomeSP) thatObject; 361 return "HomeSP{" +
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
NAIRealmElement.java | 7 import com.android.server.wifi.hotspot2.pps.HomeSP;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
ScanDetail.java | 31 import com.android.server.wifi.hotspot2.pps.HomeSP; 42 private final Map<HomeSP, PasspointMatch> mMatches; 82 Map<HomeSP, PasspointMatch> matches) {
|
WifiConfigManager.java | 74 import com.android.server.wifi.hotspot2.pps.HomeSP; 319 Map<HomeSP, PasspointMatch> matches = matchNetwork(scanDetail, false); [all...] |
ScanDetailCache.java | 26 import com.android.server.wifi.hotspot2.pps.HomeSP; 57 void put(ScanDetail scanDetail, PasspointMatch match, HomeSP homeSp) { 61 if (match != null && homeSp != null) { 63 new PasspointMatchInfo(match, scanDetail, homeSp));
|
/external/wpa_supplicant_8/hs20/client/ |
osu_client.c | 753 /* Remove old credentials based on HomeSP/FQDN */ 1098 wpa_printf(MSG_INFO, "Ignore HomeSP/NetworkID without mandatory SSID node"); 1109 wpa_printf(MSG_INFO, "- HomeSP/NetworkID/<X+>/SSID = %s", ssid); 1111 wpa_printf(MSG_INFO, "- HomeSP/NetworkID/<X+>/HESSID = %s", 1126 wpa_printf(MSG_INFO, "- HomeSP/NetworkID"); 1141 wpa_printf(MSG_INFO, "- HomeSP/FriendlyName = %s", str); 1153 wpa_printf(MSG_INFO, "- HomeSP/IconURL = %s", str); 1165 wpa_printf(MSG_INFO, "- HomeSP/FQDN = %s", str); 1188 wpa_printf(MSG_INFO, "- HomeSP/HomeOIList/<X+>/HomeOI = %s", 1192 wpa_printf(MSG_INFO, "- HomeSP/HomeOIList/<X+>/HomeOIRequired = '%s'" [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/ |
ESTHandler.java | 19 import com.android.hotspot2.pps.HomeSP; 83 KeyManager km, KeyStore ks, HomeSP homeSP, int flowType) 88 mSocketFactory = OSUSocketFactory.getSocketFactory(ks, homeSP, flowType,
|