Home
last modified time | relevance | path

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

/external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/
DFlyweightMapStorageTest.java48 private FlyweightMapStorage mapStorage;
52 mapStorage = new FlyweightMapStorage(); in setUp()
83 FlyweightMapStorage newMapStorage = new FlyweightMapStorage(); in testWriteAndReadExternal()
99 FlyweightMapStorage newMapStorage = new FlyweightMapStorage(); in testReadExternalThrowsIOExceptionWithMalformedData()
DAreaCodeMapTest.java87 assertFalse(mapStorage instanceof FlyweightMapStorage); in testGetSmallerMapStorageChoosesDefaultImpl()
93 assertTrue(mapStorage instanceof FlyweightMapStorage); in testGetSmallerMapStorageChoosesFlyweightImpl()
176 assertFalse(localAreaCodeMap.getAreaCodeMapStorage() instanceof FlyweightMapStorage); in testReadWriteExternalWithDefaultStrategy()
186 assertTrue(localAreaCodeMap.getAreaCodeMapStorage() instanceof FlyweightMapStorage); in testReadWriteExternalWithFlyweightStrategy()
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DAreaCodeMap.java77 return new FlyweightMapStorage(); in createFlyweightMapStorage()
121 areaCodeMapStorage = new FlyweightMapStorage(); in readExternal()
132 objectOutput.writeBoolean(areaCodeMapStorage instanceof FlyweightMapStorage); in writeExternal()
DFlyweightMapStorage.java36 final class FlyweightMapStorage extends AreaCodeMapStorageStrategy { class