Home
last modified time | relevance | path

Searched refs:IconInfo (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DIconInfo.java40 public class IconInfo { class
50 public IconInfo(int width, int height, String language, String iconType, String fileName) { in IconInfo() method in IconInfo
65 public static IconInfo parse(ByteBuffer payload) { in parse()
80 return new IconInfo(width, height, language, iconType, fileName); in parse()
108 if (!(thatObject instanceof IconInfo)) { in equals()
112 IconInfo that = (IconInfo) thatObject; in equals()
DOsuProviderInfo.java76 private final List<IconInfo> mIconInfoList;
82 List<IconInfo> iconInfoList, String nai, List<I18Name> serviceDescriptions) { in OsuProviderInfo()
130 List<IconInfo> iconInfoList = new ArrayList<>(); in parse()
132 iconInfoList.add(IconInfo.parse(iconBuffer)); in parse()
160 public List<IconInfo> getIconInfoList() { in getIconInfoList()
/frameworks/base/packages/Osu/src/com/android/anqp/
DIconInfo.java16 public class IconInfo { class
23 public IconInfo(ByteBuffer payload) throws ProtocolException { in IconInfo() method in IconInfo
65 IconInfo that = (IconInfo) thatObject; in equals()
94 public IconInfo(Parcel in) { in IconInfo() method in IconInfo
DOSUProvider.java31 private final List<IconInfo> mIcons;
75 mIcons.add(new IconInfo(iconsBuffer)); in OSUProvider()
117 public List<IconInfo> getIcons() {
180 mIcons.add(new IconInfo(in));
203 for (IconInfo iconInfo : mIcons) {
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/
DOSUInfo.java10 import com.android.anqp.IconInfo;
44 private IconInfo mIconInfo;
95 for (IconInfo iconInfo : mOSUProvider.getIcons()) { in getIconLanguages()
149 public IconInfo getIconInfo() { in getIconInfo()
163 for (IconInfo iconInfo : mOSUProvider.getIcons()) { in setIconFileElement()
200 public List<IconInfo> getIconInfo(Locale locale, Set<String> types, int width, int height) { in getIconInfo()
207 List<ScoreEntry<IconInfo>> matches = new ArrayList<>(); in getIconInfo()
208 for (IconInfo iconInfo : mOSUProvider.getIcons()) { in getIconInfo()
234 List<IconInfo> icons = new ArrayList<>(matches.size()); in getIconInfo()
235 ListIterator<ScoreEntry<IconInfo>> matchIterator = matches.listIterator(matches.size()); in getIconInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DIconInfoTest.java39 IconInfo.parse(ByteBuffer.allocate(0)); in parseEmptyBuffer()
52 IconInfo.parse(buffer); in parseTruncatedBuffer()
64 assertEquals(IconInfoTestUtil.TEST_ICON_INFO, IconInfo.parse(buffer)); in parseBufferWithTestData()
DIconInfoTestUtil.java37 public static final IconInfo TEST_ICON_INFO =
38 new IconInfo(TEST_WIDTH, TEST_HEIGHT, TEST_LANGUAGE, TEST_TYPE, TEST_FILENAME);
DOsuProviderInfoTestUtil.java37 private static final List<IconInfo> TEST_ICON_INFO_LIST =
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DIconCache.java6 import com.android.anqp.IconInfo;
181 List<IconInfo> iconInfo = in resolveIcons()
227 List<IconInfo> iconInfos = osuInfo.getIconInfo(LOCALE, ICON_TYPES, ICON_WIDTH, ICON_HEIGHT); in getIcon()
DSPVerifier.java7 import com.android.anqp.IconInfo;
153 IconInfo iconInfo = osuInfo.getIconInfo(); in verify()