Home
last modified time | relevance | path

Searched refs:areaCodeMap (Results 1 – 4 of 4) sorted by relevance

/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DFlyweightMapStorage.java70 public void readFromSortedMap(SortedMap<Integer, String> areaCodeMap) { in readFromSortedMap() argument
72 numOfEntries = areaCodeMap.size(); in readFromSortedMap()
73 prefixSizeInBytes = getOptimalNumberOfBytesForValue(areaCodeMap.lastKey()); in readFromSortedMap()
79 for (Entry<Integer, String> entry : areaCodeMap.entrySet()) { in readFromSortedMap()
86 createDescriptionPool(descriptionsSet, areaCodeMap); in readFromSortedMap()
93 SortedMap<Integer, String> areaCodeMap) { in createDescriptionPool() argument
103 String description = areaCodeMap.get(prefix); in createDescriptionPool()
DAreaCodeMap.java61 SortedMap<Integer, String> areaCodeMap) throws IOException { in getSizeOfAreaCodeMapStorage() argument
62 mapStorage.readFromSortedMap(areaCodeMap); in getSizeOfAreaCodeMapStorage()
86 AreaCodeMapStorageStrategy getSmallerMapStorage(SortedMap<Integer, String> areaCodeMap) { in getSmallerMapStorage() argument
89 int sizeOfFlyweightMapStorage = getSizeOfAreaCodeMapStorage(flyweightMapStorage, areaCodeMap); in getSmallerMapStorage()
92 int sizeOfDefaultMapStorage = getSizeOfAreaCodeMapStorage(defaultMapStorage, areaCodeMap); in getSmallerMapStorage()
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/
DFlyweightMapStorageTest.java36 private static final SortedMap<Integer, String> areaCodeMap; field in FlyweightMapStorageTest
45 areaCodeMap = Collections.unmodifiableSortedMap(tmpMap);
53 mapStorage.readFromSortedMap(areaCodeMap); in setUp()
DAreaCodeMapTest.java161 private static AreaCodeMap createNewAreaCodeMap(AreaCodeMap areaCodeMap) throws IOException { in createNewAreaCodeMap() argument
164 areaCodeMap.writeExternal(objectOutputStream); in createNewAreaCodeMap()