Home
last modified time | relevance | path

Searched refs:deal (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/external/chromium_org/chrome/browser/chromeos/
Dmobile_config_unittest.cc137 const MobileConfig::CarrierDeal* deal; in TEST() local
138 deal = carrier->GetDefaultDeal(); in TEST()
139 EXPECT_TRUE(deal != NULL); in TEST()
140 deal = carrier->GetDeal("0"); in TEST()
141 EXPECT_TRUE(deal != NULL); in TEST()
142 EXPECT_EQ("en-US", deal->locales()[0]); in TEST()
143 EXPECT_EQ(1, deal->notification_count()); in TEST()
145 deal->GetLocalizedString("en-US", "notification_text")); in TEST()
147 deal->GetLocalizedString("en", "notification_text")); in TEST()
151 EXPECT_EQ(reference_time, deal->expire_date()); in TEST()
[all …]
Dmobile_config.cc135 CarrierDeal* deal = iter->second; in GetDeal() local
138 if (!deal->expire_date().is_null() && in GetDeal()
139 deal->expire_date() <= base::Time::Now()) { in GetDeal()
142 return deal; in GetDeal()
179 scoped_ptr<CarrierDeal> deal(new CarrierDeal(deal_dict)); in InitFromDictionary() local
182 std::find(deal->locales().begin(), in InitFromDictionary()
183 deal->locales().end(), in InitFromDictionary()
185 if (iter != deal->locales().end()) { in InitFromDictionary()
186 const std::string& deal_id = deal->deal_id(); in InitFromDictionary()
187 deals_[deal_id] = deal.release(); in InitFromDictionary()
/external/chromium/chrome/browser/chromeos/
Dcustomization_document_unittest.cc195 const ServicesCustomizationDocument::CarrierDeal* deal; in TEST() local
196 deal = customization.GetCarrierDeal("Carrier (country)", true); in TEST()
197 EXPECT_TRUE(deal != NULL); in TEST()
198 EXPECT_EQ("en-US", deal->deal_locale); in TEST()
199 EXPECT_EQ("http://www.carrier.com/", deal->top_up_url); in TEST()
200 EXPECT_EQ(1, deal->notification_count); in TEST()
202 deal->GetLocalizedString("en-US", "notification_text")); in TEST()
204 deal->GetLocalizedString("en", "notification_text")); in TEST()
208 EXPECT_EQ(reference_time, deal->expire_date); in TEST()
216 const ServicesCustomizationDocument::CarrierDeal* deal; in TEST() local
[all …]
Dcustomization_document.cc363 CarrierDeal* deal = iter->second; in GetCarrierDeal() local
366 if (initial_locale_ != deal->deal_locale) in GetCarrierDeal()
370 if (!deal->expire_date.is_null() && in GetCarrierDeal()
371 deal->expire_date <= base::Time::Now()) { in GetCarrierDeal()
375 return deal; in GetCarrierDeal()
/external/chromium_org/chrome/browser/chromeos/status/
Ddata_promo_notification.cc106 const chromeos::MobileConfig::CarrierDeal* deal = carrier->GetDefaultDeal(); in GetCarrierDeal() local
107 if (deal) { in GetCarrierDeal()
110 if (carrier_deal_promo_pref >= deal->notification_count()) in GetCarrierDeal()
113 std::string deal_text = deal->GetLocalizedString(locale, in GetCarrierDeal()
119 return deal; in GetCarrierDeal()
185 const MobileConfig::CarrierDeal* deal = NULL; in ShowOptionalMobileDataPromoNotification() local
188 deal = GetCarrierDeal(carrier); in ShowOptionalMobileDataPromoNotification()
192 if (deal) { in ShowOptionalMobileDataPromoNotification()
196 deal->GetLocalizedString(locale, "notification_text"); in ShowOptionalMobileDataPromoNotification()
198 info_url = deal->info_url(); in ShowOptionalMobileDataPromoNotification()
/external/chromium/chrome/browser/chromeos/status/
Dnetwork_menu_button.cc273 const ServicesCustomizationDocument::CarrierDeal* deal = in GetCarrierDeal() local
275 if (deal) { in GetCarrierDeal()
278 if (carrier_deal_promo_pref >= deal->notification_count) in GetCarrierDeal()
281 std::string deal_text = deal->GetLocalizedString(locale, in GetCarrierDeal()
286 return deal; in GetCarrierDeal()
432 const ServicesCustomizationDocument::CarrierDeal* deal = in ShowOptionalMobileDataPromoNotification() local
436 if (deal) { in ShowOptionalMobileDataPromoNotification()
439 deal_text = deal->GetLocalizedString(locale, "notification_text"); in ShowOptionalMobileDataPromoNotification()
440 deal_url_ = deal->top_up_url; in ShowOptionalMobileDataPromoNotification()
/external/libxslt/
DCopyright6 of this software and associated documentation files (the "Software"), to deal
23 be used in advertising or otherwise to promote the sale, use or other deal-
34 of this software and associated documentation files (the "Software"), to deal
51 be used in advertising or otherwise to promote the sale, use or other deal-
DNOTICE6 of this software and associated documentation files (the "Software"), to deal
23 be used in advertising or otherwise to promote the sale, use or other deal-
34 of this software and associated documentation files (the "Software"), to deal
51 be used in advertising or otherwise to promote the sale, use or other deal-
/external/chromium_org/third_party/libxslt/
DCopyright6 of this software and associated documentation files (the "Software"), to deal
23 be used in advertising or otherwise to promote the sale, use or other deal-
34 of this software and associated documentation files (the "Software"), to deal
51 be used in advertising or otherwise to promote the sale, use or other deal-
/external/libxml2/
DCopyright8 of this software and associated documentation files (the "Software"), to deal
25 be used in advertising or otherwise to promote the sale, use or other deal-
DNOTICE8 of this software and associated documentation files (the "Software"), to deal
25 be used in advertising or otherwise to promote the sale, use or other deal-
/external/chromium_org/third_party/libxml/src/
DCopyright8 of this software and associated documentation files (the "Software"), to deal
25 be used in advertising or otherwise to promote the sale, use or other deal-
/external/valgrind/main/none/tests/x86/
Dint.disabled1 # This is currently disabled because vex doesn't deal with x86
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DDEPS3 # how to deal with the inspector's dependencies. Perhaps we'll want to
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/
DNOTICE28 of this software and associated documentation files (the "Software"), to deal
55 of this software and associated documentation files (the "Software"), to deal
82 of this software and associated documentation files (the "Software"), to deal
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
DNOTICE28 of this software and associated documentation files (the "Software"), to deal
55 of this software and associated documentation files (the "Software"), to deal
82 of this software and associated documentation files (the "Software"), to deal
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/
DNOTICE12 of this software and associated documentation files (the "Software"), to deal
38 of this software and associated documentation files (the "Software"), to deal
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/
DNOTICE12 of this software and associated documentation files (the "Software"), to deal
38 of this software and associated documentation files (the "Software"), to deal
/external/llvm/test/CodeGen/Thumb2/
D2010-04-15-DynAllocBug.ll5 ; than once. We'll deal with poor codegen later.
/external/chromium_org/third_party/khronos/
DLICENSE5 "Materials"), to deal in the Materials without restriction, including
28 this software and associated documentation files (the "Software"), to deal in
/external/chromium_org/tools/cr/
DREADME6 single client, and unifying the command lines needed to deal with the various
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
DCHANGELOG.txt9 * A change to port handling to better deal with https and the like per
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
DCHANGELOG.txt9 * A change to port handling to better deal with https and the like per
/external/valgrind/main/docs/internals/
Dm_syswrap.txt12 and a great deal of commentary. The wrappers themselves live in
/external/llvm/test/CodeGen/AArch64/
Dadrp-relocation.ll17 ; testfn. The important point is that LLVM shouldn't think it can deal with the

12345678910>>...15