Home
last modified time | relevance | path

Searched refs:OSUProvider (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUCache.java9 import com.android.anqp.OSUProvider;
33 private final Map<OSUProvider, ScanResult> mBatchedOSUs = new HashMap<>();
34 private final Map<OSUProvider, ScanInstance> mCache = new HashMap<>();
80 public Map<OSUProvider, ScanResult> pushScanResults(Collection<ScanResult> scanResults) { in pushScanResults()
109 for (OSUProvider provider : osuProviders.getProviders()) { in putProviders()
119 private Map<OSUProvider, ScanResult> scanEnd() { in scanEnd()
122 Map<OSUProvider, ScanInstance> aged = new HashMap<>(mCache); in scanEnd()
123 for (Map.Entry<OSUProvider, ScanResult> entry : mBatchedOSUs.entrySet()) { in scanEnd()
141 for (Map.Entry<OSUProvider, ScanInstance> entry : aged.entrySet()) { in scanEnd()
155 Map<OSUProvider, ScanResult> results = new HashMap<>(mCache.size()); in scanEnd()
[all …]
DOSUInfo.java9 import com.android.anqp.OSUProvider;
34 private final OSUProvider mOSUProvider;
41 public OSUInfo(ScanResult scanResult, String ssid, OSUProvider osuProvider, int osuID) { in OSUInfo()
243 public OSUProvider getOSUProvider() { in getOSUProvider()
DOSUManager.java12 import com.android.anqp.OSUProvider;
103 private final Map<OSUProvider, OSUInfo> mOSUMap = new HashMap<>();
604 Map<OSUProvider, ScanResult> results = mOSUCache.pushScanResults(scanResults); in pushScanResults()
610 private void updateOSUInfoCache(Map<OSUProvider, ScanResult> results) { in updateOSUInfoCache() argument
611 Map<OSUProvider, OSUInfo> osus = new HashMap<>(); in updateOSUInfoCache()
612 for (Map.Entry<OSUProvider, ScanResult> entry : results.entrySet()) { in updateOSUInfoCache()
/frameworks/base/packages/Osu/src/com/android/anqp/
DHSOsuProvidersElement.java17 private final List<OSUProvider> mProviders;
29 mProviders.add(new OSUProvider(mSSID, payload)); in HSOsuProvidersElement()
38 public List<OSUProvider> getProviders() { in getProviders()
DOSUProvider.java18 public class OSUProvider { class
31 public OSUProvider(String ssid, ByteBuffer payload) throws ProtocolException { in OSUProvider() method in OSUProvider
129 OSUProvider that = (OSUProvider) o;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DHSOsuProvidersElement.java17 private final List<OSUProvider> mProviders;
29 mProviders.add(new OSUProvider(payload)); in HSOsuProvidersElement()
38 public List<OSUProvider> getProviders() { in getProviders()
DOSUProvider.java18 public class OSUProvider { class
30 public OSUProvider(ByteBuffer payload) throws ProtocolException { in OSUProvider() method in OSUProvider
121 OSUProvider that = (OSUProvider) o;
/frameworks/base/packages/Osu/src/com/android/
DMainActivity.java32 import com.android.anqp.OSUProvider;
256 if (method != OSUProvider.OSUMethod.SoapXml.ordinal()) { in onHandleIntent()