Home
last modified time | relevance | path

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

/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
DCountryZoneTreeTest.java50 Country country = parseCountry(countryText); in testSimpleCountry() local
52 CountryZoneTree.create(country, RULES_START_INSTANT, RULES_END_INSTANT); in testSimpleCountry()
73 Country country = parseCountry(countryText); in testCountryRequiringPriority() local
74 CountryZoneTree zoneTree = CountryZoneTree.create(country, RULES_START_INSTANT, in testCountryRequiringPriority()
100 Country country = parseCountry(countryText); in testCountryWithPriority() local
101 CountryZoneTree zoneTree = CountryZoneTree.create(country, RULES_START_INSTANT, in testCountryWithPriority()
147 Country country = parseCountry(countryText); in australiaTreeTest() local
148 CountryZoneTree zoneTree = CountryZoneTree.create(country, RULES_START_INSTANT, in australiaTreeTest()
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzLookupFile.java152 for (Country country : countryZones.countries) { in writeXml()
153 Country.writeXml(country, writer); in writeXml()
158 void addCountry(Country country) { in addCountry() argument
159 countries.add(country); in addCountry()
180 static void writeXml(Country country, XMLStreamWriter writer) in writeXml() argument
183 writer.writeAttribute(COUNTRY_CODE_ATTRIBUTE, country.isoCode); in writeXml()
184 writer.writeAttribute(DEFAULT_ATTRIBUTE, country.defaultTimeZoneId); in writeXml()
186 country.everUsesUtc)); in writeXml()
187 for (TimeZoneMapping timeZoneId : country.timeZoneIds) { in writeXml()
DTzLookupGenerator.java434 CountryZonesFile.Country country, CountryZonesFile.TimeZoneMapping timeZoneIn, in validateNonDstOffset() argument
464 + country.getIsoCode() + " still makes sense. Raw offset for " in validateNonDstOffset()
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DTzLookupGeneratorTest.java401 CountryZonesFile.Country country = countryBuilder.build(); in shownInPicker_false() local
403 String tzLookupXml = generateTzLookupXml(country, createValidZoneTabEntriesFr()); in shownInPicker_false()
418 CountryZonesFile.Country country = countryBuilder.build(); in shownInPicker_true() local
420 String tzLookupXml = generateTzLookupXml(country, createValidZoneTabEntriesFr()); in shownInPicker_true()
428 CountryZonesFile.Country country = createValidCountryUs(); in notAfter() local
430 String tzLookupXml = generateTzLookupXml(country, zoneTabEntries); in notAfter()
467 private String generateTzLookupXml(CountryZonesFile.Country country, in generateTzLookupXml() argument
470 CountryZonesFile.CountryZones countryZones = createValidCountryZones(country); in generateTzLookupXml()
496 .map(country -> country.isoCode + "\tIgnored\t" + country.olsonId) in createZoneTabFile()
510 for (CountryZonesFile.Country country : countries) { in createValidCountryZones()
[all …]
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DUniqueZonesVisualizer.java81 Country country = countryMap.get(countryIso); in createGraphvizFile() local
83 CountryZoneTree.create(country, startInclusive, endExclusive, compress); in createGraphvizFile()
DCountryZoneTree.java147 Country country, Instant startInclusive, Instant endExclusive) { in create() argument
148 return create(country, startInclusive, endExclusive, true /* compress */); in create()
156 Country country, Instant startInclusive, Instant endExclusive, boolean compress) { in create() argument
160 List<CountryZonesFile.TimeZoneMapping> timeZoneMappings = country.getTimeZoneMappingsList(); in create()
178 return create(country.getIsoCode(), zoneInfos, startInclusive, endExclusive, compress); in create()
/system/tools/xsdc/tests/resources/nested_type/
Dnested_type.xsd10 <xs:element type="xs:string" name="country"/>
/system/timezone/input_data/android/
Dcountryzones.txt16 # Time zones by country.
32 # The ordering of country elements is not important but is kept in ASCII
33 # order by ISO code for easier maintenance. There must only be one country
39 # The (lower cased) ISO 3166 2-character country code used in the IANA
44 # zones associated with the country should be used if only
45 # a country code is available. If it is not specified and the country
49 # Time zones associated with the country and associated metadata.
52 # the order that time zones in a country are considered when the device
56 # There will often be several time zones within a country that could match
57 # at any given instant, but the first zone that matches a user's country,
[all …]
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DXmlParserTest.java94 String country = (String) address.getMethod("getCountry").invoke(addressInstance); in testNestedType() local
99 assertThat(country, is("US")); in testNestedType()
/system/bt/btif/co/
Dbta_hh_co.cc513 ev.u.create.country = ctry_code; in bta_hh_co_send_hid_info()