/external/chromium_org/components/autofill/core/browser/ |
D | autofill_type_unittest.cc | 13 AutofillType none(NO_SERVER_DATA); in TEST() 18 AutofillType unknown(UNKNOWN_TYPE); in TEST() 23 AutofillType first(NAME_FIRST); in TEST() 28 AutofillType phone(PHONE_HOME_NUMBER); in TEST() 33 AutofillType billing_address(ADDRESS_BILLING_LINE1); in TEST() 38 AutofillType last(NAME_BILLING_SUFFIX); in TEST() 43 AutofillType boundary(MAX_VALID_FIELD_TYPE); in TEST() 48 AutofillType beyond(static_cast<ServerFieldType>(MAX_VALID_FIELD_TYPE + 10)); in TEST() 53 AutofillType between(static_cast<ServerFieldType>(16)); in TEST() 60 AutofillType unknown(HTML_TYPE_UNKNOWN, HTML_MODE_NONE); in TEST() [all …]
|
D | phone_number_unittest.cc | 24 phone_number.SetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER), phone, "US"); in TEST() 97 EXPECT_TRUE(phone.SetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER), in TEST() 103 EXPECT_TRUE(phone.SetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER), in TEST() 107 EXPECT_TRUE(phone.SetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER), in TEST() 114 EXPECT_TRUE(phone.SetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER), in TEST() 126 EXPECT_FALSE(phone.SetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER), in TEST() 139 phone.GetInfo(AutofillType(PHONE_HOME_CITY_CODE), "US")); in TEST() 144 phone.GetInfo(AutofillType(PHONE_HOME_CITY_CODE), "US")); in TEST() 150 phone.GetInfo(AutofillType(PHONE_HOME_CITY_CODE), "US")); in TEST() 157 phone.GetInfo(AutofillType(PHONE_HOME_CITY_CODE), "US")); in TEST() [all …]
|
D | address_unittest.cc | 25 address.GetInfo(AutofillType(ADDRESS_HOME_COUNTRY), "en-US"); in TEST() 29 AutofillType(ADDRESS_HOME_COUNTRY), ASCIIToUTF16("US"), "en-US"); in TEST() 30 country = address.GetInfo(AutofillType(ADDRESS_HOME_COUNTRY), "en-US"); in TEST() 33 AutofillType(HTML_TYPE_COUNTRY_NAME, HTML_MODE_NONE), "en-US"); in TEST() 36 AutofillType(HTML_TYPE_COUNTRY_CODE, HTML_MODE_NONE), "en-US"); in TEST() 40 country = address.GetInfo(AutofillType(ADDRESS_HOME_COUNTRY), "en-US"); in TEST() 43 AutofillType(HTML_TYPE_COUNTRY_NAME, HTML_MODE_NONE), "en-US"); in TEST() 46 AutofillType(HTML_TYPE_COUNTRY_CODE, HTML_MODE_NONE), "en-US"); in TEST() 57 AutofillType(ADDRESS_HOME_COUNTRY), ASCIIToUTF16("United States"), in TEST() 60 address.GetInfo(AutofillType(ADDRESS_HOME_COUNTRY), "en-US"); in TEST() [all …]
|
D | autofill_type.h | 16 class AutofillType { 18 explicit AutofillType(ServerFieldType field_type); 19 AutofillType(HtmlFieldType field_type, HtmlFieldMode mode); 20 AutofillType(const AutofillType& autofill_type); 21 AutofillType& operator=(const AutofillType& autofill_type);
|
D | contact_info_unittest.cc | 53 name.SetInfo(AutofillType(NAME_FULL), in TEST() 57 name.GetInfo(AutofillType(NAME_FIRST), "en-US")); in TEST() 59 name.GetInfo(AutofillType(NAME_MIDDLE), "en-US")); in TEST() 61 name.GetInfo(AutofillType(NAME_LAST), "en-US")); in TEST() 63 name.GetInfo(AutofillType(NAME_FULL), "en-US")); in TEST() 77 name.GetInfo(AutofillType(NAME_FULL), "en-US")); in TEST() 87 name.GetInfo(AutofillType(NAME_FULL), "en-US")); in TEST() 97 name.GetInfo(AutofillType(NAME_FULL), "en-US")); in TEST() 107 name.GetInfo(AutofillType(NAME_FULL), "en-US")); in TEST() 117 name.GetInfo(AutofillType(NAME_FULL), "en-US")); in TEST() [all …]
|
D | address_i18n.cc | 23 const AutofillType& type) { in GetInfoHelper() 33 const base::Callback<base::string16(const AutofillType&)>& get_info) { in CreateAddressData() 36 get_info.Run(AutofillType(NAME_FULL))); in CreateAddressData() 38 get_info.Run(AutofillType(COMPANY_NAME))); in CreateAddressData() 40 get_info.Run(AutofillType(HTML_TYPE_COUNTRY_CODE, HTML_MODE_NONE))); in CreateAddressData() 42 get_info.Run(AutofillType(ADDRESS_HOME_STATE))); in CreateAddressData() 44 get_info.Run(AutofillType(ADDRESS_HOME_CITY))); in CreateAddressData() 46 get_info.Run(AutofillType(ADDRESS_HOME_DEPENDENT_LOCALITY))); in CreateAddressData() 48 get_info.Run(AutofillType(ADDRESS_HOME_SORTING_CODE))); in CreateAddressData() 50 get_info.Run(AutofillType(ADDRESS_HOME_ZIP))); in CreateAddressData() [all …]
|
D | autofill_type.cc | 11 AutofillType::AutofillType(ServerFieldType field_type) in AutofillType() function in autofill::AutofillType 24 AutofillType::AutofillType(HtmlFieldType field_type, HtmlFieldMode mode) in AutofillType() function in autofill::AutofillType 30 AutofillType::AutofillType(const AutofillType& autofill_type) { in AutofillType() function in autofill::AutofillType 34 AutofillType& AutofillType::operator=(const AutofillType& autofill_type) { in operator =() 44 FieldTypeGroup AutofillType::group() const { in group() 203 bool AutofillType::IsUnknown() const { in IsUnknown() 207 ServerFieldType AutofillType::GetStorableType() const { in GetStorableType() 401 ServerFieldType AutofillType::GetEquivalentBillingFieldType( in GetEquivalentBillingFieldType() 472 std::string AutofillType::ToString() const { in ToString()
|
D | autofill_profile.h | 50 virtual base::string16 GetInfo(const AutofillType& type, 52 virtual bool SetInfo(const AutofillType& type, 58 const AutofillType& type, 67 void SetMultiInfo(const AutofillType& type, 70 void GetMultiInfo(const AutofillType& type, 162 void GetMultiInfoImpl(const AutofillType& type, 190 const FormGroup* FormGroupForType(const AutofillType& type) const; 191 FormGroup* MutableFormGroupForType(const AutofillType& type);
|
D | autofill_profile.cc | 46 ServerFieldType storable_type = AutofillType(type).GetStorableType(); in GetStorableTypeCollapsingNames() 47 if (AutofillType(storable_type).group() == NAME) in GetStorableTypeCollapsingNames() 140 const AutofillType& type, in GetFormGroupInfo() 161 void CopyValuesToItems(AutofillType type, in CopyValuesToItems() 175 void CopyItemsToValues(const AutofillType& type, in CopyItemsToValues() 306 const FormGroup* form_group = FormGroupForType(AutofillType(type)); in GetRawInfo() 315 FormGroup* form_group = MutableFormGroupForType(AutofillType(type)); in SetRawInfo() 320 base::string16 AutofillProfile::GetInfo(const AutofillType& type, in GetInfo() 340 bool AutofillProfile::SetInfo(const AutofillType& type, in SetInfo() 353 const AutofillType& type, in GetInfoForVariant() [all …]
|
D | form_group.cc | 23 if (GetInfo(AutofillType(*type), app_locale) == text) in GetMatchingTypes() 34 if (!GetInfo(AutofillType(*type), app_locale).empty()) in GetNonEmptyTypes() 39 base::string16 FormGroup::GetInfo(const AutofillType& type, in GetInfo() 44 bool FormGroup::SetInfo(const AutofillType& type, in SetInfo()
|
D | phone_number.cc | 65 DCHECK_EQ(PHONE_HOME, AutofillType(type).group()); in GetRawInfo() 77 DCHECK_EQ(PHONE_HOME, AutofillType(type).group()); in SetRawInfo() 94 base::string16 PhoneNumber::GetInfo(const AutofillType& type, in GetInfo() 129 bool PhoneNumber::SetInfo(const AutofillType& type, in SetInfo() 159 base::string16 number = GetInfo(AutofillType(PHONE_HOME_NUMBER), app_locale); in GetMatchingTypes() 169 GetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER), app_locale); in GetMatchingTypes() 190 bool PhoneNumber::PhoneCombineHelper::SetInfo(const AutofillType& type, in SetInfo()
|
D | form_group.h | 15 class AutofillType; variable 47 virtual base::string16 GetInfo(const AutofillType& type, 52 virtual bool SetInfo(const AutofillType& type,
|
D | phone_number.h | 39 virtual base::string16 GetInfo(const AutofillType& type, 41 virtual bool SetInfo(const AutofillType& type, 59 bool SetInfo(const AutofillType& type, const base::string16& value);
|
D | address_i18n.h | 23 class AutofillType; variable 30 const base::Callback<base::string16(const AutofillType&)>& get_info);
|
D | address.cc | 44 DCHECK_EQ(ADDRESS_HOME, AutofillType(type).group()); in GetRawInfo() 83 DCHECK_EQ(ADDRESS_HOME, AutofillType(type).group()); in SetRawInfo() 141 base::string16 Address::GetInfo(const AutofillType& type, in GetInfo() 153 bool Address::SetInfo(const AutofillType& type, in SetInfo()
|
D | autofill_data_model.h | 15 class AutofillType; variable 29 virtual base::string16 GetInfoForVariant(const AutofillType& type,
|
D | address.h | 30 virtual base::string16 GetInfo(const AutofillType& type, 32 virtual bool SetInfo(const AutofillType& type,
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | data_model_wrapper.h | 31 class AutofillType; variable 53 virtual base::string16 GetInfo(const AutofillType& type) const = 0; 57 virtual base::string16 GetInfoForDisplay(const AutofillType& type) const; 97 const AutofillType& variant_type, 101 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; 102 virtual base::string16 GetInfoForDisplay(const AutofillType& type) const 109 size_t GetVariantForType(const AutofillType& type) const; 128 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; 140 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; 158 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; [all …]
|
D | data_model_wrapper_unittest.cc | 30 wrapper.GetInfo(AutofillType(CREDIT_CARD_EXP_MONTH))); in TEST() 88 instrument_wrapper.GetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER))); in TEST() 92 address_wrapper.GetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER))); in TEST() 165 wrapper.GetInfo(AutofillType(CREDIT_CARD_EXP_MONTH))); in TEST() 189 AutofillType(PHONE_HOME_WHOLE_NUMBER))); in TEST() 193 AutofillType(PHONE_HOME_WHOLE_NUMBER))); in TEST() 200 AutofillType(PHONE_HOME_WHOLE_NUMBER))); in TEST() 203 AutofillType(PHONE_HOME_WHOLE_NUMBER))); in TEST() 209 AutofillType(PHONE_HOME_WHOLE_NUMBER))); in TEST() 212 AutofillType(PHONE_HOME_WHOLE_NUMBER))); in TEST() [all …]
|
D | data_model_wrapper.cc | 38 GetInfoForDisplay(AutofillType((*inputs)[i].type)); in FillInputs() 42 base::string16 DataModelWrapper::GetInfoForDisplay(const AutofillType& type) in GetInfoForDisplay() 55 GetInfoForDisplay(AutofillType(PHONE_HOME_WHOLE_NUMBER)); in GetDisplayText() 75 base::string16 email = GetInfoForDisplay(AutofillType(EMAIL_ADDRESS)); in GetDisplayText() 111 const AutofillType& type, in AutofillProfileWrapper() 119 base::string16 AutofillProfileWrapper::GetInfo(const AutofillType& type) const { in GetInfo() 123 AutofillType effective_type = type; in GetInfo() 125 effective_type = AutofillType(NAME_BILLING_FULL); in GetInfo() 133 const AutofillType& type) const { in GetInfoForDisplay() 145 GetInfo(AutofillType(HTML_TYPE_COUNTRY_CODE, HTML_MODE_NONE))); in GetInfoForDisplay() [all …]
|
D | autofill_dialog_common.cc | 17 const AutofillType& field_type) { in ServerTypeEncompassesFieldType() 34 AutofillType autofill_type = AutofillType(type); in ServerTypeEncompassesFieldType() 56 AutofillType field_type = field.Type(); in ServerTypeMatchesField() 68 return AutofillType(type).group() == CREDIT_CARD; in IsCreditCardType()
|
/external/chromium_org/components/autofill/content/browser/wallet/ |
D | full_wallet_unittest.cc | 475 full_wallet.GetInfo("", AutofillType(CREDIT_CARD_NUMBER))); in TEST_F() 478 "", AutofillType(CREDIT_CARD_VERIFICATION_CODE))); in TEST_F() 494 full_wallet.GetInfo("", AutofillType(CREDIT_CARD_NUMBER))); in TEST_F() 497 "", AutofillType(CREDIT_CARD_VERIFICATION_CODE))); in TEST_F() 512 "", AutofillType(CREDIT_CARD_EXP_2_DIGIT_YEAR))); in TEST_F() 516 "", AutofillType(CREDIT_CARD_EXP_DATE_2_DIGIT_YEAR))); in TEST_F() 520 "", AutofillType(CREDIT_CARD_EXP_DATE_4_DIGIT_YEAR))); in TEST_F() 526 full_wallet.GetInfo("", AutofillType(CREDIT_CARD_TYPE))); in TEST_F() 536 full_wallet->GetInfo("", AutofillType(CREDIT_CARD_NUMBER))); in TEST_F() 538 full_wallet->GetInfo("", AutofillType(CREDIT_CARD_TYPE))); in TEST_F() [all …]
|
D | wallet_address_unittest.cc | 536 AutofillType type = AutofillType(HTML_TYPE_COUNTRY_CODE, HTML_MODE_NONE); in TEST_F() 539 type = AutofillType(HTML_TYPE_COUNTRY_NAME, HTML_MODE_NONE); in TEST_F() 542 type = AutofillType(ADDRESS_HOME_COUNTRY); in TEST_F() 563 AutofillType type = AutofillType(HTML_TYPE_STREET_ADDRESS, HTML_MODE_NONE); in TEST_F()
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | two_client_autofill_sync_test.cc | 20 using autofill::AutofillType; 184 AutofillType(autofill::NAME_FIRST), in IN_PROC_BROWSER_TEST_F() 293 AutofillType(autofill::NAME_FIRST), in IN_PROC_BROWSER_TEST_F() 297 AutofillType(autofill::EMAIL_ADDRESS), in IN_PROC_BROWSER_TEST_F() 314 AutofillType(autofill::NAME_FIRST), in IN_PROC_BROWSER_TEST_F() 319 AutofillType(autofill::NAME_FIRST), in IN_PROC_BROWSER_TEST_F() 338 AutofillType(autofill::NAME_FULL), in IN_PROC_BROWSER_TEST_F() 342 AutofillType(autofill::EMAIL_ADDRESS), in IN_PROC_BROWSER_TEST_F() 346 AutofillType(autofill::ADDRESS_HOME_LINE1), in IN_PROC_BROWSER_TEST_F() 365 AutofillType(autofill::NAME_FIRST), in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/autofill/android/ |
D | personal_data_manager_android.cc | 72 AutofillType(NAME_FULL), in PopulateNativeProfileFromJava() 77 AutofillType(COMPANY_NAME), in PopulateNativeProfileFromJava() 82 AutofillType(ADDRESS_HOME_STREET_ADDRESS), in PopulateNativeProfileFromJava() 87 AutofillType(ADDRESS_HOME_STATE), in PopulateNativeProfileFromJava() 92 AutofillType(ADDRESS_HOME_CITY), in PopulateNativeProfileFromJava() 97 AutofillType(ADDRESS_HOME_DEPENDENT_LOCALITY), in PopulateNativeProfileFromJava() 102 AutofillType(ADDRESS_HOME_ZIP), in PopulateNativeProfileFromJava() 107 AutofillType(ADDRESS_HOME_SORTING_CODE), in PopulateNativeProfileFromJava() 111 profile->SetInfo(AutofillType(ADDRESS_HOME_COUNTRY), in PopulateNativeProfileFromJava() 116 AutofillType(PHONE_HOME_WHOLE_NUMBER), in PopulateNativeProfileFromJava() [all …]
|