Home
last modified time | relevance | path

Searched refs:GetRawInfo (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/components/autofill/core/browser/
Daddress_unittest.cc21 EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); in TEST()
53 EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); in TEST()
61 EXPECT_EQ(ASCIIToUTF16("US"), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); in TEST()
68 EXPECT_EQ(ASCIIToUTF16("US"), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); in TEST()
75 EXPECT_EQ(ASCIIToUTF16("CA"), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); in TEST()
82 EXPECT_EQ(ASCIIToUTF16("JP"), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); in TEST()
89 EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); in TEST()
97 EXPECT_EQ(ASCIIToUTF16("US"), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); in TEST()
104 EXPECT_EQ(ASCIIToUTF16("CA"), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); in TEST()
110 EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); in TEST()
[all …]
Dcontact_info_unittest.cc72 EXPECT_EQ(ASCIIToUTF16("First"), name.GetRawInfo(NAME_FIRST)); in TEST()
73 EXPECT_EQ(base::string16(), name.GetRawInfo(NAME_MIDDLE)); in TEST()
74 EXPECT_EQ(base::string16(), name.GetRawInfo(NAME_LAST)); in TEST()
75 EXPECT_EQ(base::string16(), name.GetRawInfo(NAME_FULL)); in TEST()
82 EXPECT_EQ(base::string16(), name.GetRawInfo(NAME_FIRST)); in TEST()
83 EXPECT_EQ(ASCIIToUTF16("Middle"), name.GetRawInfo(NAME_MIDDLE)); in TEST()
84 EXPECT_EQ(base::string16(), name.GetRawInfo(NAME_LAST)); in TEST()
85 EXPECT_EQ(base::string16(), name.GetRawInfo(NAME_FULL)); in TEST()
92 EXPECT_EQ(base::string16(), name.GetRawInfo(NAME_FIRST)); in TEST()
93 EXPECT_EQ(base::string16(), name.GetRawInfo(NAME_MIDDLE)); in TEST()
[all …]
Dautofill_ie_toolbar_import_win_unittest.cc167 EXPECT_EQ(profile1[0].value, profiles[1].GetRawInfo(NAME_FIRST)); in TEST_F()
168 EXPECT_EQ(profile1[1].value, profiles[1].GetRawInfo(NAME_MIDDLE)); in TEST_F()
169 EXPECT_EQ(profile1[2].value, profiles[1].GetRawInfo(NAME_LAST)); in TEST_F()
170 EXPECT_EQ(profile1[3].value, profiles[1].GetRawInfo(EMAIL_ADDRESS)); in TEST_F()
171 EXPECT_EQ(profile1[4].value, profiles[1].GetRawInfo(COMPANY_NAME)); in TEST_F()
178 EXPECT_EQ(L"1 650-555-5555", profiles[1].GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in TEST_F()
180 EXPECT_EQ(profile2[0].value, profiles[0].GetRawInfo(NAME_FIRST)); in TEST_F()
181 EXPECT_EQ(profile2[1].value, profiles[0].GetRawInfo(NAME_LAST)); in TEST_F()
182 EXPECT_EQ(profile2[2].value, profiles[0].GetRawInfo(EMAIL_ADDRESS)); in TEST_F()
183 EXPECT_EQ(profile2[3].value, profiles[0].GetRawInfo(COMPANY_NAME)); in TEST_F()
[all …]
Dcredit_card_unittest.cc199 EXPECT_EQ(ASCIIToUTF16("J. Dillinger"), a.GetRawInfo(CREDIT_CARD_NAME)); in TEST()
200 EXPECT_EQ(ASCIIToUTF16("08"), a.GetRawInfo(CREDIT_CARD_EXP_MONTH)); in TEST()
201 EXPECT_EQ(ASCIIToUTF16("2019"), a.GetRawInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR)); in TEST()
209 EXPECT_EQ(ASCIIToUTF16("John Dillinger"), a.GetRawInfo(CREDIT_CARD_NAME)); in TEST()
210 EXPECT_EQ(ASCIIToUTF16("08"), a.GetRawInfo(CREDIT_CARD_EXP_MONTH)); in TEST()
211 EXPECT_EQ(ASCIIToUTF16("2019"), a.GetRawInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR)); in TEST()
221 EXPECT_EQ(ASCIIToUTF16("John Dillinger"), a.GetRawInfo(CREDIT_CARD_NAME)); in TEST()
222 EXPECT_EQ(ASCIIToUTF16("09"), a.GetRawInfo(CREDIT_CARD_EXP_MONTH)); in TEST()
223 EXPECT_EQ(ASCIIToUTF16("2017"), a.GetRawInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR)); in TEST()
231 EXPECT_EQ(ASCIIToUTF16("J. Dillinger"), a.GetRawInfo(CREDIT_CARD_NAME)); in TEST()
[all …]
Dautofill_profile.cc143 form_group.GetRawInfo(type.GetStorableType()) : in GetFormGroupInfo()
305 base::string16 AutofillProfile::GetRawInfo(ServerFieldType type) const { in GetRawInfo() function in autofill::AutofillProfile
310 return form_group->GetRawInfo(type); in GetRawInfo()
450 std::string country = UTF16ToUTF8(GetRawInfo(ADDRESS_HOME_COUNTRY)); in IsPresentButInvalid()
451 base::string16 data = GetRawInfo(type); in IsPresentButInvalid()
487 int comparison = GetRawInfo(single_value_types[i]).compare( in Compare()
488 profile.GetRawInfo(single_value_types[i])); in Compare()
540 return GetRawInfo(ADDRESS_HOME_LINE1) + GetRawInfo(ADDRESS_HOME_CITY); in PrimaryValue()
562 GetRawInfo(*it), in IsSubsetOf()
563 profile.GetRawInfo(*it), in IsSubsetOf()
[all …]
Dphone_number_unittest.cc94 EXPECT_EQ(base::string16(), phone.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in TEST()
100 phone.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in TEST()
106 phone.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in TEST()
111 phone.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in TEST()
117 phone.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in TEST()
122 phone.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in TEST()
128 EXPECT_EQ(base::string16(), phone.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in TEST()
Dcontact_info.h31 virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE;
71 virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE;
92 virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE;
Dcredit_card.cc278 base::string16 CreditCard::GetRawInfo(ServerFieldType type) const { in GetRawInfo() function in autofill::CreditCard
380 return GetRawInfo(storable_type); in GetInfo()
548 GetRawInfo(types[i]).compare(credit_card.GetRawInfo(types[i])); in Compare()
670 << base::UTF16ToUTF8(credit_card.GetRawInfo(CREDIT_CARD_NAME)) in operator <<()
672 << base::UTF16ToUTF8(credit_card.GetRawInfo(CREDIT_CARD_TYPE)) in operator <<()
674 << base::UTF16ToUTF8(credit_card.GetRawInfo(CREDIT_CARD_NUMBER)) in operator <<()
676 << base::UTF16ToUTF8(credit_card.GetRawInfo(CREDIT_CARD_EXP_MONTH)) in operator <<()
679 credit_card.GetRawInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR)); in operator <<()
Dcontact_info.cc179 base::string16 NameInfo::GetRawInfo(ServerFieldType type) const { in GetRawInfo() function in autofill::NameInfo
233 return GetRawInfo(type.GetStorableType()); in GetInfo()
312 base::string16 EmailInfo::GetRawInfo(ServerFieldType type) const { in GetRawInfo() function in autofill::EmailInfo
344 base::string16 CompanyInfo::GetRawInfo(ServerFieldType type) const { in GetRawInfo() function in autofill::CompanyInfo
Dpersonal_data_manager.cc95 if (profile.GetRawInfo(ADDRESS_HOME_LINE1).empty()) in IsMinimumAddress()
99 base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)); in IsMinimumAddress()
105 if (country.requires_city() && profile.GetRawInfo(ADDRESS_HOME_CITY).empty()) in IsMinimumAddress()
109 profile.GetRawInfo(ADDRESS_HOME_STATE).empty()) in IsMinimumAddress()
112 if (country.requires_zip() && profile.GetRawInfo(ADDRESS_HOME_ZIP).empty()) in IsMinimumAddress()
275 imported_profile->GetRawInfo(EMAIL_ADDRESS) != value) { in ImportFormData()
310 imported_profile->GetRawInfo(ADDRESS_HOME_COUNTRY).empty()) { in ImportFormData()
726 base::string16 email = profile.GetRawInfo(EMAIL_ADDRESS); in IsValidLearnableProfile()
790 profiles[i]->GetRawInfo(ADDRESS_HOME_COUNTRY)))); in IsCountryOfInterest()
1074 profiles[i]->GetRawInfo(ADDRESS_HOME_COUNTRY))); in MostCommonCountryCodeFromProfiles()
Dautofill_profile_unittest.cc884 EXPECT_EQ(ASCIIToUTF16("area 51"), a.GetRawInfo(ADDRESS_HOME_LINE2)); in TEST()
885 EXPECT_EQ(ASCIIToUTF16("Fox"), a.GetRawInfo(COMPANY_NAME)); in TEST()
1000 EXPECT_EQ(kJohnDoe, p.GetRawInfo(NAME_FULL)); in TEST()
1029 EXPECT_EQ(base::string16(), p.GetRawInfo(NAME_FULL)); in TEST()
1042 EXPECT_EQ(kJohnDoe, p.GetRawInfo(EMAIL_ADDRESS)); in TEST()
1071 EXPECT_EQ(base::string16(), p.GetRawInfo(EMAIL_ADDRESS)); in TEST()
1084 EXPECT_EQ(kJohnDoe, p.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in TEST()
1113 EXPECT_EQ(base::string16(), p.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in TEST()
1154 profile.GetRawInfo(ADDRESS_HOME_STREET_ADDRESS)); in TEST()
1166 profile.GetRawInfo(ADDRESS_HOME_STREET_ADDRESS)); in TEST()
[all …]
Daddress.cc43 base::string16 Address::GetRawInfo(ServerFieldType type) const { in GetRawInfo() function in autofill::Address
150 return GetRawInfo(storable_type); in GetInfo()
Dphone_number.cc26 base::string16 country_code = profile.GetRawInfo(ADDRESS_HOME_COUNTRY); in GetRegion()
64 base::string16 PhoneNumber::GetRawInfo(ServerFieldType type) const { in GetRawInfo() function in autofill::PhoneNumber
Dform_group.h37 virtual base::string16 GetRawInfo(ServerFieldType type) const = 0;
Dautofill_data_model_unittest.cc22 virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE { in GetRawInfo() function in autofill::__anon8e54670d0111::TestAutofillDataModel
Dform_group.cc41 return GetRawInfo(type.GetStorableType()); in GetInfo()
Daddress.h27 virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE;
/external/chromium_org/chrome/browser/autofill/android/
Dpersonal_data_manager_android.cc43 ConvertUTF16ToJavaString(env, profile.GetRawInfo(NAME_FULL)).obj(), in CreateJavaProfileFromNative()
44 ConvertUTF16ToJavaString(env, profile.GetRawInfo(COMPANY_NAME)).obj(), in CreateJavaProfileFromNative()
46 env, profile.GetRawInfo(ADDRESS_HOME_STREET_ADDRESS)).obj(), in CreateJavaProfileFromNative()
47 ConvertUTF16ToJavaString(env, profile.GetRawInfo(ADDRESS_HOME_STATE)) in CreateJavaProfileFromNative()
49 ConvertUTF16ToJavaString(env, profile.GetRawInfo(ADDRESS_HOME_CITY)) in CreateJavaProfileFromNative()
52 env, profile.GetRawInfo(ADDRESS_HOME_DEPENDENT_LOCALITY)).obj(), in CreateJavaProfileFromNative()
53 ConvertUTF16ToJavaString(env, profile.GetRawInfo(ADDRESS_HOME_ZIP)).obj(), in CreateJavaProfileFromNative()
55 env, profile.GetRawInfo(ADDRESS_HOME_SORTING_CODE)).obj(), in CreateJavaProfileFromNative()
56 ConvertUTF16ToJavaString(env, profile.GetRawInfo(ADDRESS_HOME_COUNTRY)) in CreateJavaProfileFromNative()
58 ConvertUTF16ToJavaString(env, profile.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)) in CreateJavaProfileFromNative()
[all …]
/external/chromium_org/components/autofill/core/browser/webdata/
Dautofill_profile_syncable_service.cc113 << UTF16ToUTF8(p->GetRawInfo(NAME_FIRST)) in MergeDataAndStartSyncing()
114 << UTF16ToUTF8(p->GetRawInfo(NAME_LAST)) in MergeDataAndStartSyncing()
152 << UTF16ToUTF8(it->second->GetRawInfo(NAME_FIRST)) in MergeDataAndStartSyncing()
153 << UTF16ToUTF8(it->second->GetRawInfo(NAME_LAST)) in MergeDataAndStartSyncing()
437 LimitData(UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_LINE1)))); in WriteAutofillProfile()
439 LimitData(UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_LINE2)))); in WriteAutofillProfile()
441 LimitData(UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_CITY)))); in WriteAutofillProfile()
443 LimitData(UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_STATE)))); in WriteAutofillProfile()
445 LimitData(UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_ZIP)))); in WriteAutofillProfile()
447 LimitData(UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)))); in WriteAutofillProfile()
[all …]
Dautofill_profile_syncable_service_unittest.cc167 profile->GetRawInfo(ADDRESS_HOME_LINE1)); in ConstructCompleteProfile()
168 EXPECT_EQ(ASCIIToUTF16("Apt. 42"), profile->GetRawInfo(ADDRESS_HOME_LINE2)); in ConstructCompleteProfile()
604 EXPECT_EQ(profile.GetRawInfo(COMPANY_NAME), ASCIIToUTF16(company1)); in TEST_F()
607 EXPECT_EQ(profile.GetRawInfo(COMPANY_NAME), ASCIIToUTF16(company2)); in TEST_F()
610 EXPECT_EQ(profile.GetRawInfo(COMPANY_NAME), ASCIIToUTF16(company2)); in TEST_F()
830 expected_profile.GetRawInfo(ADDRESS_HOME_LINE1)); in TEST_F()
832 expected_profile.GetRawInfo(ADDRESS_HOME_LINE2)); in TEST_F()
857 profile.GetRawInfo(ADDRESS_HOME_LINE1)); in TEST_F()
858 EXPECT_EQ(ASCIIToUTF16("Apt. 42"), profile.GetRawInfo(ADDRESS_HOME_LINE2)); in TEST_F()
/external/chromium_org/components/autofill/content/browser/wallet/
Dwallet_address.cc123 base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY))), in Address()
124 recipient_name_(profile.GetRawInfo(NAME_FULL)), in Address()
125 locality_name_(profile.GetRawInfo(ADDRESS_HOME_CITY)), in Address()
127 profile.GetRawInfo(ADDRESS_HOME_DEPENDENT_LOCALITY)), in Address()
128 administrative_area_name_(profile.GetRawInfo(ADDRESS_HOME_STATE)), in Address()
129 postal_code_number_(profile.GetRawInfo(ADDRESS_HOME_ZIP)), in Address()
130 sorting_code_(profile.GetRawInfo(ADDRESS_HOME_SORTING_CODE)), in Address()
131 phone_number_(profile.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)), in Address()
135 profile.GetRawInfo(ADDRESS_HOME_STREET_ADDRESS), '\n', &street_address_); in Address()
/external/chromium_org/chrome/browser/ui/webui/options/
Dautofill_options_handler.cc550 credit_card->GetRawInfo(autofill::CREDIT_CARD_NAME)); in LoadCreditCardEditor()
553 credit_card->GetRawInfo(autofill::CREDIT_CARD_NUMBER)); in LoadCreditCardEditor()
556 credit_card->GetRawInfo(autofill::CREDIT_CARD_EXP_MONTH)); in LoadCreditCardEditor()
559 credit_card->GetRawInfo(autofill::CREDIT_CARD_EXP_4_DIGIT_YEAR)); in LoadCreditCardEditor()
691 profile.GetRawInfo(autofill::COMPANY_NAME)); in AutofillProfileToDictionary()
693 profile.GetRawInfo(autofill::ADDRESS_HOME_STREET_ADDRESS)); in AutofillProfileToDictionary()
695 profile.GetRawInfo(autofill::ADDRESS_HOME_CITY)); in AutofillProfileToDictionary()
697 profile.GetRawInfo(autofill::ADDRESS_HOME_STATE)); in AutofillProfileToDictionary()
700 profile.GetRawInfo(autofill::ADDRESS_HOME_DEPENDENT_LOCALITY)); in AutofillProfileToDictionary()
702 profile.GetRawInfo(autofill::ADDRESS_HOME_SORTING_CODE)); in AutofillProfileToDictionary()
[all …]
/external/chromium_org/chrome/browser/autofill/
Dautofill_browsertest.cc467 ASSERT_NE(without_invalid.GetRawInfo(PHONE_HOME_WHOLE_NUMBER), in IN_PROC_BROWSER_TEST_F()
468 profile.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in IN_PROC_BROWSER_TEST_F()
518 base::string16 cc1 = personal_data_manager()->GetCreditCards()[0]->GetRawInfo( in IN_PROC_BROWSER_TEST_F()
521 base::string16 cc2 = personal_data_manager()->GetCreditCards()[1]->GetRawInfo( in IN_PROC_BROWSER_TEST_F()
634 personal_data_manager()->GetProfiles()[0]->GetRawInfo( in IN_PROC_BROWSER_TEST_F()
641 personal_data_manager()->GetProfiles()[us_address_index]->GetRawInfo( in IN_PROC_BROWSER_TEST_F()
645 personal_data_manager()->GetProfiles()[1 - us_address_index]->GetRawInfo( in IN_PROC_BROWSER_TEST_F()
670 personal_data_manager()->GetProfiles()[0]->GetRawInfo( in IN_PROC_BROWSER_TEST_F()
678 ->GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); in IN_PROC_BROWSER_TEST_F()
682 personal_data_manager()->GetProfiles()[second_address_index]->GetRawInfo( in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_browsertest.cc685 base::string16 value = full_profile.GetRawInfo(triggering_type); in IN_PROC_BROWSER_TEST_F()
822 base::string16 value = card1.GetRawInfo(triggering_type); in IN_PROC_BROWSER_TEST_F()
840 value = card2.GetRawInfo(triggering_type); in IN_PROC_BROWSER_TEST_F()
867 value = full_profile.GetRawInfo(triggering_type); in IN_PROC_BROWSER_TEST_F()
903 card.GetRawInfo(CREDIT_CARD_NUMBER).substr(0, 1)); in IN_PROC_BROWSER_TEST_F()
930 expired_card.GetRawInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR), in IN_PROC_BROWSER_TEST_F()
931 expired_card.GetRawInfo(CREDIT_CARD_EXP_MONTH), in IN_PROC_BROWSER_TEST_F()
993 credit_card.GetRawInfo(CREDIT_CARD_NAME).find(ASCIIToUTF16("zebra")) == in IN_PROC_BROWSER_TEST_F()
1692 base::string16 name = full_profile.GetRawInfo(input_type); in IN_PROC_BROWSER_TEST_F()
1719 base::string16 name = full_profile.GetRawInfo(NAME_FULL); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/components/webdata/common/
Dweb_database_migration_unittest.cc998 EXPECT_EQ(profile.GetRawInfo(autofill::COMPANY_NAME), in TEST_F()
999 profile_a.GetRawInfo(autofill::COMPANY_NAME)); in TEST_F()
1000 EXPECT_EQ(profile.GetRawInfo(autofill::ADDRESS_HOME_LINE1), in TEST_F()
1001 profile_a.GetRawInfo(autofill::ADDRESS_HOME_LINE1)); in TEST_F()
1002 EXPECT_EQ(profile.GetRawInfo(autofill::ADDRESS_HOME_LINE2), in TEST_F()
1003 profile_a.GetRawInfo(autofill::ADDRESS_HOME_LINE2)); in TEST_F()
1004 EXPECT_EQ(profile.GetRawInfo(autofill::ADDRESS_HOME_CITY), in TEST_F()
1005 profile_a.GetRawInfo(autofill::ADDRESS_HOME_CITY)); in TEST_F()
1006 EXPECT_EQ(profile.GetRawInfo(autofill::ADDRESS_HOME_STATE), in TEST_F()
1007 profile_a.GetRawInfo(autofill::ADDRESS_HOME_STATE)); in TEST_F()
[all …]

12