Home
last modified time | relevance | path

Searched refs:AddressData (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/
DFieldVerifierTest.java40 AddressData addr = new AddressData.Builder().setCountry("US") in testUnitedStatesOk()
50 AddressData addr = new AddressData.Builder().setCountry("US") in testUnitedStatesZipMismatch()
61 AddressData addr = new AddressData.Builder().setCountry("US") in testUnitedStatesNotOk()
75 AddressData addr = new AddressData.Builder().setCountry("CN") in testChinaOk()
85 AddressData addr = new AddressData.Builder().setCountry("DE") in testGermanAddress()
96 addr = new AddressData.Builder().set(addr).setLocality(null).build(); in testGermanAddress()
104 AddressData addr = new AddressData.Builder().setCountry("IE") in testIrishAddress()
115 addr = new AddressData.Builder().set(addr).setAdminArea(null).build(); in testIrishAddress()
122 AddressData addr = new AddressData.Builder().setCountry("CN") in testChinaPostalCodeBadFormat()
140 AddressData addr = new AddressData.Builder().setCountry("CL") in testEmptyPostalCodeReportedAsGoodFormat()
[all …]
DStandardAddressVerifierTest.java37 AddressData addr = new AddressData.Builder().setCountry("US") in testUnitedStatesOk()
48 AddressData addr = new AddressData.Builder().setCountry("US") in testUnitedStatesZipMismatch()
60 AddressData addr = new AddressData.Builder().setCountry("US") in testUnitedStatesNotOk()
75 AddressData addr = new AddressData.Builder().setCountry("CN") in testChinaOk()
86 AddressData addr = new AddressData.Builder().setCountry("DE") in testGermanAddress()
98 addr = new AddressData.Builder().set(addr).setLocality(null).build(); in testGermanAddress()
106 AddressData addr = new AddressData.Builder().setCountry("IE") in testIrishAddress()
118 addr = new AddressData.Builder().set(addr).setAdminArea(null).build(); in testIrishAddress()
125 AddressData addr = new AddressData.Builder().setCountry("CN") in testChinaPostalCodeBadFormat()
145 AddressData addr = new AddressData.Builder().setCountry("CL") in testEmptyPostalCodeReportedAsGoodFormat()
[all …]
DAddressDataTest.java28 AddressData.Builder builder = new AddressData.Builder(); in testSetAddressLine()
30 AddressData ad = builder.build(); in testSetAddressLine()
36 AddressData address = new AddressData.Builder().setAddressLine1(null) in testAddressLineNormalisation()
38 AddressData copiedAddress = new AddressData.Builder(address).build(); in testAddressLineNormalisation()
44 AddressData address = in testAddressLineNormalisationWithNewLineCharacters()
45 new AddressData.Builder().setAddressLine1(ADDRESS_LINE + "\n" + ADDRESS_LINE).build(); in testAddressLineNormalisationWithNewLineCharacters()
46 AddressData copiedAddress = new AddressData.Builder(address).build(); in testAddressLineNormalisationWithNewLineCharacters()
52 AddressData address = new AddressData.Builder().build(); in testNoAdminArea()
57 AddressData address = new AddressData.Builder().setCountry("TW") in testSetLanguageCode()
63 address = new AddressData.Builder(address).setLanguageCode("zh-latn").build(); in testSetLanguageCode()
DFormatInterpreterTest.java30 private static final AddressData US_CA_ADDRESS;
31 private static final AddressData TW_ADDRESS;
36 US_CA_ADDRESS = new AddressData.Builder().setCountry("US")
43 TW_ADDRESS = new AddressData.Builder().setCountry("TW")
177 AddressData address = new AddressData.Builder().set(US_CA_ADDRESS) in testEnvelopeAddressIncompleteAddress()
187 AddressData address = new AddressData.Builder().setCountry("US").build(); in testEnvelopeAddressEmptyAddress()
196 AddressData address = new AddressData.Builder().setCountry("CH") in testEnvelopeAddressLeadingPostPrefix()
206 final AddressData svAddress = new AddressData.Builder().setCountry("SV") in testSvAddress()
220 final AddressData svAddressWithPostCode = new AddressData.Builder(svAddress) in testSvAddress()
DLookupKeyTest.java70 AddressData address = new AddressData.Builder().setCountry("US") in testExampleKeys()
93 AddressData address = new AddressData.Builder().setCountry("US") in testFallbackToCountry()
110 AddressData address = new AddressData.Builder().setCountry("TW") in testNonUsAddress()
123 address = new AddressData.Builder(address).setLanguageCode("zh-latn").build(); in testNonUsAddress()
129 AddressData address = new AddressData.Builder().setCountry("US") in testGetKeyForUpperLevelFieldWithDataKey()
168 AddressData address = new AddressData.Builder().setCountry("US") in testGetParentKey()
DFormControllerTest.java29 private static final AddressData US_CA_ADDRESS;
30 private static final AddressData US_ADDRESS;
34 US_CA_ADDRESS = new AddressData.Builder().setCountry("US")
40 US_ADDRESS = new AddressData.Builder().setCountry("US").build();
81 final AddressData address = new AddressData.Builder(US_CA_ADDRESS) in testRequestDataForBadAddress()
/external/chromium_org/third_party/libaddressinput/src/cpp/src/
Daddress_data.cc36 std::string AddressData::*kStringField[] = {
37 &AddressData::region_code,
38 &AddressData::administrative_area,
39 &AddressData::locality,
40 &AddressData::dependent_locality,
41 &AddressData::sorting_code,
42 &AddressData::postal_code,
44 &AddressData::organization,
45 &AddressData::recipient
49 const std::vector<std::string> AddressData::*kVectorStringField[] = {
[all …]
/external/chromium_org/third_party/libaddressinput/src/cpp/test/
Daddress_input_helper_test.cc34 using i18n::addressinput::AddressData;
54 void FillAddress(AddressData* address) { in FillAddress()
73 AddressData address; in TEST_F()
78 AddressData expected = address; in TEST_F()
85 AddressData address; in TEST_F()
92 AddressData expected = address; in TEST_F()
106 AddressData address; in TEST_F()
111 AddressData expected = address; in TEST_F()
128 AddressData address; in TEST_F()
134 AddressData expected = address; in TEST_F()
[all …]
Dlookup_key_test.cc26 using i18n::addressinput::AddressData;
32 AddressData address; in TEST()
39 AddressData address; in TEST()
48 AddressData address; in TEST()
58 AddressData address; in TEST()
69 AddressData address; in TEST()
81 AddressData address; in TEST()
93 AddressData address; in TEST()
107 AddressData address; in TEST()
119 AddressData address; in TEST()
[all …]
Daddress_data_test.cc25 using i18n::addressinput::AddressData;
39 AddressData address; in TEST()
68 AddressData address; in TEST()
76 AddressData address; in TEST()
110 AddressData address; in TEST()
120 AddressData address; in TEST()
131 AddressData address; in TEST()
148 AddressData address; in TEST()
175 AddressData address; in TEST()
188 AddressData clone = address; in TEST()
[all …]
Daddress_formatter_test.cc26 using i18n::addressinput::AddressData;
32 AddressData address; in TEST()
39 AddressData address; in TEST()
58 AddressData address; in TEST()
87 AddressData address; in TEST()
102 AddressData address; in TEST()
141 AddressData address; in TEST()
166 AddressData latin_address; in TEST()
189 AddressData address; in TEST()
209 AddressData address; in TEST()
[all …]
Daddress_normalizer_test.cc32 using i18n::addressinput::AddressData;
63 AddressData address; in TEST_F()
74 AddressData address; in TEST_F()
84 AddressData address; in TEST_F()
96 AddressData address; in TEST_F()
105 AddressData address; in TEST_F()
Dpreload_supplier_test.cc34 using i18n::addressinput::AddressData;
66 AddressData us_address; in TEST_F()
77 AddressData ca_address; in TEST_F()
89 AddressData zw_address; in TEST_F()
100 AddressData unknown_address; in TEST_F()
111 AddressData precise_address; in TEST_F()
/external/chromium_org/third_party/libaddressinput/chromium/
Dchrome_address_validator_unittest.cc25 using ::i18n::addressinput::AddressData;
70 AddressData address_data; in OnAddressValidationRulesLoaded()
114 AddressData address; in TEST_F()
126 AddressData address; in TEST_F()
135 AddressData address; in TEST_F()
148 AddressData address; in TEST_F()
214 AddressData address; in TEST_F()
259 AddressData address; in TEST_F()
277 AddressData address; in TEST_F()
284 AddressData address; in TEST_F()
[all …]
Dchrome_address_validator.h26 struct AddressData;
102 const ::i18n::addressinput::AddressData& address,
131 const ::i18n::addressinput::AddressData& user_input,
134 std::vector< ::i18n::addressinput::AddressData>* suggestions) const;
140 ::i18n::addressinput::AddressData* address) const;
153 const ::i18n::addressinput::AddressData&,
Daddressinput_util_unittest.cc13 using ::i18n::addressinput::AddressData;
16 AddressData address; in TEST()
21 AddressData address; in TEST()
31 AddressData address; in TEST()
Dchrome_address_validator.cc23 using ::i18n::addressinput::AddressData;
62 const AddressData& address, in ValidateAddress()
91 const AddressData& user_input, in GetSuggestions()
94 std::vector<AddressData>* suggestions) const { in GetSuggestions()
116 AddressData* address) const { in CanonicalizeAdministrativeArea()
121 AddressData tmp(*address); in CanonicalizeAdministrativeArea()
136 const AddressData&, in Validated() argument
Dinput_suggester.h24 struct AddressData;
65 const ::i18n::addressinput::AddressData& user_input,
68 std::vector< ::i18n::addressinput::AddressData>* suggestions);
104 const ::i18n::addressinput::AddressData&,
Daddressinput_util.h15 struct AddressData;
24 const ::i18n::addressinput::AddressData& address_to_check);
33 const ::i18n::addressinput::AddressData& address_to_check,
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/
Daddress_formatter.h30 struct AddressData;
35 const AddressData& address_data, std::vector<std::string>* lines);
40 const AddressData& address_data, std::string* line);
46 const AddressData& address_data, std::string* line);
Daddress_input_helper.h27 struct AddressData;
51 void FillAddress(AddressData* address) const;
55 const AddressData& address, const LookupKey& lookup_key,
Daddress_validator.h33 struct AddressData;
71 typedef i18n::addressinput::Callback<const AddressData&,
97 void Validate(const AddressData& address,
/external/chromium_org/chrome/browser/ui/autofill/
Dmock_address_validator.h29 const ::i18n::addressinput::AddressData& address,
35 const ::i18n::addressinput::AddressData& user_input,
38 std::vector< ::i18n::addressinput::AddressData>* suggestions));
41 bool(::i18n::addressinput::AddressData* address_data));
/external/chromium_org/components/autofill/core/browser/
Daddress_i18n.cc29 using ::i18n::addressinput::AddressData;
32 scoped_ptr<AddressData> CreateAddressData( in CreateAddressData()
34 scoped_ptr<AddressData> address_data(new AddressData()); in CreateAddressData()
59 scoped_ptr< ::i18n::addressinput::AddressData>
62 scoped_ptr< ::i18n::addressinput::AddressData> address_data = in CreateAddressDataFromAutofillProfile()
Daddress_i18n.h16 struct AddressData;
29 scoped_ptr< ::i18n::addressinput::AddressData> CreateAddressData(
33 scoped_ptr< ::i18n::addressinput::AddressData>

123