Home
last modified time | relevance | path

Searched refs:SetRawInfo (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/components/autofill/core/browser/
Dcontact_info_unittest.cc69 name.SetRawInfo(NAME_FIRST, ASCIIToUTF16("First")); in TEST()
70 name.SetRawInfo(NAME_MIDDLE, base::string16()); in TEST()
71 name.SetRawInfo(NAME_LAST, base::string16()); in TEST()
79 name.SetRawInfo(NAME_FIRST, base::string16()); in TEST()
80 name.SetRawInfo(NAME_MIDDLE, ASCIIToUTF16("Middle")); in TEST()
81 name.SetRawInfo(NAME_LAST, base::string16()); in TEST()
89 name.SetRawInfo(NAME_FIRST, base::string16()); in TEST()
90 name.SetRawInfo(NAME_MIDDLE, base::string16()); in TEST()
91 name.SetRawInfo(NAME_LAST, ASCIIToUTF16("Last")); in TEST()
99 name.SetRawInfo(NAME_FIRST, ASCIIToUTF16("First")); in TEST()
[all …]
Daddress_unittest.cc39 address.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("CA")); in TEST()
117 address.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US")); in TEST()
147 address.SetRawInfo(ADDRESS_HOME_COUNTRY, base::string16()); in TEST()
166 address.SetRawInfo(ADDRESS_HOME_LINE1, ASCIIToUTF16("123 Example Ave.")); in TEST()
173 address.SetRawInfo(ADDRESS_HOME_LINE1, base::string16()); in TEST()
174 address.SetRawInfo(ADDRESS_HOME_LINE2, ASCIIToUTF16("Apt 42.")); in TEST()
181 address.SetRawInfo(ADDRESS_HOME_LINE1, ASCIIToUTF16("123 Example Ave.")); in TEST()
182 address.SetRawInfo(ADDRESS_HOME_LINE2, ASCIIToUTF16("Apt. 42")); in TEST()
194 address.SetRawInfo(ADDRESS_HOME_LINE3, ASCIIToUTF16("Living room couch")); in TEST()
203 address.SetRawInfo(ADDRESS_HOME_LINE2, base::string16()); in TEST()
[all …]
Dcredit_card_unittest.cc193 b.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("J. Dillinger")); in TEST()
194 b.SetRawInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("08")); in TEST()
195 b.SetRawInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR, ASCIIToUTF16("2019")); in TEST()
205 b.SetRawInfo(CREDIT_CARD_NAME, base::string16()); in TEST()
217 b.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("J. Dillinger")); in TEST()
249 b.SetRawInfo(CREDIT_CARD_NUMBER, ASCIIToUTF16("4111111111111111")); in TEST()
258 card.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Wally T. Walrus")); in TEST()
260 card.SetRawInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01")); in TEST()
262 card.SetRawInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR, ASCIIToUTF16("2014")); in TEST()
266 card.SetRawInfo(CREDIT_CARD_NUMBER, ASCIIToUTF16(kValidNumbers[i])); in TEST()
[all …]
Dphone_number_unittest.cc20 profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US")); in TEST()
91 profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US")); in TEST()
120 phone.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, ASCIIToUTF16("8004328765")); in TEST()
134 profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US")); in TEST()
137 phone.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, ASCIIToUTF16("6502345678")); in TEST()
142 phone.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, ASCIIToUTF16("8322345678")); in TEST()
148 phone.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, ASCIIToUTF16("07023456789")); in TEST()
154 profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("GB")); in TEST()
155 phone.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, ASCIIToUTF16("07023456789")); in TEST()
162 profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US")); in TEST()
Dcontact_info.h32 virtual void SetRawInfo(ServerFieldType type,
72 virtual void SetRawInfo(ServerFieldType type,
93 virtual void SetRawInfo(ServerFieldType type,
Dpersonal_data_manager_mac.mm240 profile->SetRawInfo(NAME_FIRST, base::SysNSStringToUTF16(firstName));
241 profile->SetRawInfo(NAME_MIDDLE, base::SysNSStringToUTF16(middleName));
242 profile->SetRawInfo(NAME_LAST, base::SysNSStringToUTF16(lastName));
244 profile->SetRawInfo(COMPANY_NAME, base::SysNSStringToUTF16(companyName));
270 profile->SetRawInfo(ADDRESS_HOME_LINE1,
272 profile->SetRawInfo(ADDRESS_HOME_LINE2,
275 profile->SetRawInfo(ADDRESS_HOME_LINE1,
281 profile->SetRawInfo(ADDRESS_HOME_CITY, base::SysNSStringToUTF16(city));
284 profile->SetRawInfo(ADDRESS_HOME_STATE, base::SysNSStringToUTF16(state));
287 profile->SetRawInfo(ADDRESS_HOME_ZIP, base::SysNSStringToUTF16(zip));
[all …]
Dautofill_profile_unittest.cc781 profiles[1]->SetRawInfo(ADDRESS_HOME_LINE1, ASCIIToUTF16("88 Nowhere Ave.")); in TEST()
873 b.SetRawInfo(ADDRESS_HOME_LINE2, ASCIIToUTF16("area 51")); in TEST()
874 b.SetRawInfo(COMPANY_NAME, base::string16()); in TEST()
980 a.SetRawInfo(ADDRESS_HOME_STREET_ADDRESS, in TEST()
984 b.SetRawInfo(ADDRESS_HOME_STREET_ADDRESS, in TEST()
1122 profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US")); in TEST()
1127 profile.SetRawInfo(ADDRESS_HOME_STATE, ASCIIToUTF16("C")); in TEST()
1130 profile.SetRawInfo(ADDRESS_HOME_STATE, ASCIIToUTF16("CA")); in TEST()
1133 profile.SetRawInfo(ADDRESS_HOME_ZIP, ASCIIToUTF16("90")); in TEST()
1136 profile.SetRawInfo(ADDRESS_HOME_ZIP, ASCIIToUTF16("90210")); in TEST()
[all …]
Dcontact_info.cc202 void NameInfo::SetRawInfo(ServerFieldType type, const base::string16& value) { in SetRawInfo() function in autofill::NameInfo
319 void EmailInfo::SetRawInfo(ServerFieldType type, const base::string16& value) { in SetRawInfo() function in autofill::EmailInfo
351 void CompanyInfo::SetRawInfo(ServerFieldType type, in SetRawInfo() function in autofill::CompanyInfo
Dpersonal_data_manager_unittest.cc148 profile0.SetRawInfo(EMAIL_ADDRESS, ASCIIToUTF16("j@s.com")); in TEST_F()
175 profile1.SetRawInfo(EMAIL_ADDRESS, ASCIIToUTF16("john@smith.com")); in TEST_F()
226 profile0.SetRawInfo(NAME_FIRST, ASCIIToUTF16("John")); in TEST_F()
278 credit_card0.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Joe")); in TEST_F()
361 profile.SetRawInfo(NAME_FIRST, ASCIIToUTF16("John")); in TEST_F()
362 credit_card.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Joe")); in TEST_F()
576 profile0.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Mar")); in TEST_F()
577 profile2.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Jo")); in TEST_F()
928 credit_card0.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("John")); in TEST_F()
930 credit_card1.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Paul")); in TEST_F()
[all …]
Daddress.cc82 void Address::SetRawInfo(ServerFieldType type, const base::string16& value) { in SetRawInfo() function in autofill::Address
175 SetRawInfo(storable_type, value); in SetInfo()
Dphone_number.cc75 void PhoneNumber::SetRawInfo(ServerFieldType type, in SetRawInfo() function in autofill::PhoneNumber
132 SetRawInfo(type.GetStorableType(), value); in SetInfo()
Dform_group.h42 virtual void SetRawInfo(ServerFieldType type,
Dautofill_profile.cc154 (*form_group_items)[i].SetRawInfo(type, values[i]); in CopyRawValuesToItems()
313 void AutofillProfile::SetRawInfo(ServerFieldType type, in SetRawInfo() function in autofill::AutofillProfile
317 form_group->SetRawInfo(type, value); in SetRawInfo()
388 SetRawInfo(type, values[0]); in SetRawMultiInfo()
390 SetRawInfo(type, base::string16()); in SetRawMultiInfo()
591 current_name.SetRawInfo(NAME_FULL, in OverwriteOrAppendNames()
668 SetRawInfo(*iter, new_value); in OverwriteWithOrAddTo()
Dautofill_data_model_unittest.cc25 virtual void SetRawInfo(ServerFieldType type, in SetRawInfo() function in autofill::__anon8e54670d0111::TestAutofillDataModel
Dform_group.cc47 SetRawInfo(type.GetStorableType(), value); in SetInfo()
/external/chromium_org/chrome/browser/autofill/
Dautofill_browsertest.cc283 profile1.SetRawInfo(NAME_FIRST, in IN_PROC_BROWSER_TEST_F()
293 profile1.SetRawInfo(NAME_MIDDLE, WideToUTF16(L"BANK\xcBERF\xc4LLE")); in IN_PROC_BROWSER_TEST_F()
294 profile1.SetRawInfo(EMAIL_ADDRESS, in IN_PROC_BROWSER_TEST_F()
297 profile1.SetRawInfo(ADDRESS_HOME_LINE1, in IN_PROC_BROWSER_TEST_F()
302 profile1.SetRawInfo(ADDRESS_HOME_CITY, in IN_PROC_BROWSER_TEST_F()
305 profile1.SetRawInfo(ADDRESS_HOME_ZIP, WideToUTF16(L"YOHO_54676")); in IN_PROC_BROWSER_TEST_F()
306 profile1.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, WideToUTF16(L"861088828000")); in IN_PROC_BROWSER_TEST_F()
312 profile2.SetRawInfo(NAME_FIRST, in IN_PROC_BROWSER_TEST_F()
316 profile2.SetRawInfo(NAME_LAST, WideToUTF16(L"aguantó")); in IN_PROC_BROWSER_TEST_F()
317 profile2.SetRawInfo(ADDRESS_HOME_ZIP, WideToUTF16(L"HOME 94043")); in IN_PROC_BROWSER_TEST_F()
[all …]
Dautofill_interactive_uitest.cc1222 profile.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Bob")); in IN_PROC_BROWSER_TEST_F()
1223 profile.SetRawInfo(NAME_LAST, ASCIIToUTF16("Smith")); in IN_PROC_BROWSER_TEST_F()
1224 profile.SetRawInfo(ADDRESS_HOME_LINE1, ASCIIToUTF16("1234 H St.")); in IN_PROC_BROWSER_TEST_F()
1225 profile.SetRawInfo(ADDRESS_HOME_CITY, ASCIIToUTF16("San Jose")); in IN_PROC_BROWSER_TEST_F()
1226 profile.SetRawInfo(ADDRESS_HOME_STATE, ASCIIToUTF16("CA")); in IN_PROC_BROWSER_TEST_F()
1227 profile.SetRawInfo(ADDRESS_HOME_ZIP, ASCIIToUTF16("95110")); in IN_PROC_BROWSER_TEST_F()
1228 profile.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, ASCIIToUTF16("1-408-555-4567")); in IN_PROC_BROWSER_TEST_F()
1261 profile.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Bob")); in IN_PROC_BROWSER_TEST_F()
1262 profile.SetRawInfo(NAME_LAST, ASCIIToUTF16("Smith")); in IN_PROC_BROWSER_TEST_F()
1263 profile.SetRawInfo(EMAIL_ADDRESS, ASCIIToUTF16("bsmith@gmail.com")); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/autofill/
Ddata_model_wrapper_unittest.cc27 card.SetRawInfo(CREDIT_CARD_EXP_MONTH, base::IntToString16(month)); in TEST()
36 card.SetRawInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("1")); in TEST()
37 card.SetRawInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR, ASCIIToUTF16("2010")); in TEST()
38 card.SetRawInfo(CREDIT_CARD_NUMBER, ASCIIToUTF16("4111111111111111")); in TEST()
46 card.SetRawInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("12")); in TEST()
47 card.SetRawInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR, ASCIIToUTF16("9999")); in TEST()
48 card.SetRawInfo(CREDIT_CARD_NUMBER, ASCIIToUTF16("41111")); in TEST()
56 card.SetRawInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("12")); in TEST()
57 card.SetRawInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR, ASCIIToUTF16("9999")); in TEST()
58 card.SetRawInfo(CREDIT_CARD_NUMBER, ASCIIToUTF16("4111111111111111")); in TEST()
[all …]
/external/chromium_org/components/autofill/core/browser/webdata/
Dautofill_table_unittest.cc638 home_profile.SetRawInfo(NAME_FIRST, ASCIIToUTF16("John")); in TEST_F()
639 home_profile.SetRawInfo(NAME_MIDDLE, ASCIIToUTF16("Q.")); in TEST_F()
640 home_profile.SetRawInfo(NAME_LAST, ASCIIToUTF16("Smith")); in TEST_F()
641 home_profile.SetRawInfo(EMAIL_ADDRESS, ASCIIToUTF16("js@smith.xyz")); in TEST_F()
642 home_profile.SetRawInfo(COMPANY_NAME, ASCIIToUTF16("Google")); in TEST_F()
643 home_profile.SetRawInfo(ADDRESS_HOME_LINE1, ASCIIToUTF16("1234 Apple Way")); in TEST_F()
644 home_profile.SetRawInfo(ADDRESS_HOME_LINE2, ASCIIToUTF16("unit 5")); in TEST_F()
645 home_profile.SetRawInfo(ADDRESS_HOME_DEPENDENT_LOCALITY, in TEST_F()
647 home_profile.SetRawInfo(ADDRESS_HOME_CITY, ASCIIToUTF16("Los Angeles")); in TEST_F()
648 home_profile.SetRawInfo(ADDRESS_HOME_STATE, ASCIIToUTF16("CA")); in TEST_F()
[all …]
Dautofill_profile_syncable_service_unittest.cc163 profile->SetRawInfo(ADDRESS_HOME_STREET_ADDRESS, in ConstructCompleteProfile()
170 profile->SetRawInfo(COMPANY_NAME, ASCIIToUTF16("Google, Inc.")); in ConstructCompleteProfile()
171 profile->SetRawInfo(ADDRESS_HOME_CITY, ASCIIToUTF16("Mountain View")); in ConstructCompleteProfile()
172 profile->SetRawInfo(ADDRESS_HOME_STATE, ASCIIToUTF16("California")); in ConstructCompleteProfile()
173 profile->SetRawInfo(ADDRESS_HOME_ZIP, ASCIIToUTF16("94043")); in ConstructCompleteProfile()
174 profile->SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US")); in ConstructCompleteProfile()
175 profile->SetRawInfo(ADDRESS_HOME_SORTING_CODE, ASCIIToUTF16("CEDEX")); in ConstructCompleteProfile()
176 profile->SetRawInfo(ADDRESS_HOME_DEPENDENT_LOCALITY, in ConstructCompleteProfile()
287 profiles_from_web_db.back()->SetRawInfo(NAME_FIRST, ASCIIToUTF16("John")); in TEST_F()
288 profiles_from_web_db.back()->SetRawInfo(ADDRESS_HOME_LINE1, in TEST_F()
[all …]
Dautofill_table.cc104 profile->SetRawInfo(COMPANY_NAME, s.ColumnString16(index++)); in AutofillProfileFromStatement()
105 profile->SetRawInfo(ADDRESS_HOME_STREET_ADDRESS, s.ColumnString16(index++)); in AutofillProfileFromStatement()
106 profile->SetRawInfo(ADDRESS_HOME_DEPENDENT_LOCALITY, in AutofillProfileFromStatement()
108 profile->SetRawInfo(ADDRESS_HOME_CITY, s.ColumnString16(index++)); in AutofillProfileFromStatement()
109 profile->SetRawInfo(ADDRESS_HOME_STATE, s.ColumnString16(index++)); in AutofillProfileFromStatement()
110 profile->SetRawInfo(ADDRESS_HOME_ZIP, s.ColumnString16(index++)); in AutofillProfileFromStatement()
111 profile->SetRawInfo(ADDRESS_HOME_SORTING_CODE, s.ColumnString16(index++)); in AutofillProfileFromStatement()
112 profile->SetRawInfo(ADDRESS_HOME_COUNTRY, s.ColumnString16(index++)); in AutofillProfileFromStatement()
148 credit_card->SetRawInfo(CREDIT_CARD_NAME, s.ColumnString16(index++)); in CreditCardFromStatement()
149 credit_card->SetRawInfo(CREDIT_CARD_EXP_MONTH, s.ColumnString16(index++)); in CreditCardFromStatement()
[all …]
Dweb_data_service_unittest.cc354 profile1.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Abe")); in TEST_F()
357 profile2.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Alice")); in TEST_F()
378 profile2_changed.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Bill")); in TEST_F()
447 card1.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Abe")); in TEST_F()
450 card2.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Alice")); in TEST_F()
467 card1_changed.SetRawInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Bill")); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/options/
Dautofill_options_handler.cc589 profile.SetRawInfo(autofill::COMPANY_NAME, value); in SetAddress()
592 profile.SetRawInfo(autofill::ADDRESS_HOME_STREET_ADDRESS, value); in SetAddress()
595 profile.SetRawInfo(autofill::ADDRESS_HOME_DEPENDENT_LOCALITY, value); in SetAddress()
598 profile.SetRawInfo(autofill::ADDRESS_HOME_CITY, value); in SetAddress()
601 profile.SetRawInfo(autofill::ADDRESS_HOME_STATE, value); in SetAddress()
604 profile.SetRawInfo(autofill::ADDRESS_HOME_ZIP, value); in SetAddress()
607 profile.SetRawInfo(autofill::ADDRESS_HOME_SORTING_CODE, value); in SetAddress()
610 profile.SetRawInfo(autofill::ADDRESS_HOME_COUNTRY, value); in SetAddress()
649 credit_card.SetRawInfo(autofill::CREDIT_CARD_NAME, value); in SetCreditCard()
652 credit_card.SetRawInfo(autofill::CREDIT_CARD_NUMBER, value); in SetCreditCard()
[all …]
/external/chromium_org/components/webdata/common/
Dweb_database_migration_unittest.cc52 profile->SetRawInfo(autofill::NAME_FIRST, s.ColumnString16(2)); in AutofillProfile31FromStatement()
53 profile->SetRawInfo(autofill::NAME_MIDDLE, s.ColumnString16(3)); in AutofillProfile31FromStatement()
54 profile->SetRawInfo(autofill::NAME_LAST, s.ColumnString16(4)); in AutofillProfile31FromStatement()
55 profile->SetRawInfo(autofill::EMAIL_ADDRESS, s.ColumnString16(5)); in AutofillProfile31FromStatement()
56 profile->SetRawInfo(autofill::COMPANY_NAME, s.ColumnString16(6)); in AutofillProfile31FromStatement()
57 profile->SetRawInfo(autofill::ADDRESS_HOME_LINE1, s.ColumnString16(7)); in AutofillProfile31FromStatement()
58 profile->SetRawInfo(autofill::ADDRESS_HOME_LINE2, s.ColumnString16(8)); in AutofillProfile31FromStatement()
59 profile->SetRawInfo(autofill::ADDRESS_HOME_CITY, s.ColumnString16(9)); in AutofillProfile31FromStatement()
60 profile->SetRawInfo(autofill::ADDRESS_HOME_STATE, s.ColumnString16(10)); in AutofillProfile31FromStatement()
61 profile->SetRawInfo(autofill::ADDRESS_HOME_ZIP, s.ColumnString16(11)); in AutofillProfile31FromStatement()
[all …]
/external/chromium_org/chrome/browser/autofill/android/
Dpersonal_data_manager_android.cc154 card->SetRawInfo( in PopulateNativeCreditCardFromJava()
157 card->SetRawInfo( in PopulateNativeCreditCardFromJava()
160 card->SetRawInfo( in PopulateNativeCreditCardFromJava()
163 card->SetRawInfo( in PopulateNativeCreditCardFromJava()

12