/external/chromium_org/chrome/browser/media/ |
webrtc_log_util_unittest.cc | 33 base::TimeDelta::FromDays(kExpectedDaysToKeepLogFiles - 1); 38 base::TimeDelta::FromDays(kExpectedDaysToKeepLogFiles + 1); 48 base::TimeDelta::FromDays(kExpectedDaysToKeepLogFiles)); 66 base::Time::Now() - base::TimeDelta::FromDays(1);
|
/external/chromium_org/chrome/browser/history/ |
visit_filter_unittest.cc | 54 t_interval -= base::TimeDelta::FromDays(i); 67 t_interval -= base::TimeDelta::FromDays(i); 68 EXPECT_EQ(f.times()[i].first + base::TimeDelta::FromDays(7), 71 EXPECT_EQ(f.times()[i].second + base::TimeDelta::FromDays(7), 89 t_interval -= base::TimeDelta::FromDays(i); 109 t_interval -= base::TimeDelta::FromDays(7 * i); 111 EXPECT_EQ(t_interval + base::TimeDelta::FromDays(1), times[i].second) << 131 t_length = base::TimeDelta::FromDays(2); 133 t_start -= base::TimeDelta::FromDays(1); 135 t_length = base::TimeDelta::FromDays(5) [all...] |
visit_filter.cc | 110 base::TimeDelta one_day = base::TimeDelta::FromDays(1); 120 std::make_pair(begin_time_of_the_day - base::TimeDelta::FromDays(i), 121 end_time_of_the_day - base::TimeDelta::FromDays(i))); 200 base::TimeDelta shift = base::TimeDelta::FromDays( 209 base::TimeDelta one_day = base::TimeDelta::FromDays(1); 218 std::make_pair(day_base - base::TimeDelta::FromDays(i * 7), 219 day_base + one_day - base::TimeDelta::FromDays(i * 7)));
|
/external/chromium_org/chrome/browser/extensions/updater/ |
local_extension_cache_unittest.cc | 124 base::TimeDelta::FromDays(30), 135 base::Time::Now() - base::TimeDelta::FromDays(1)); 137 base::Time::Now() - base::TimeDelta::FromDays(10)); 139 base::Time::Now() - base::TimeDelta::FromDays(40)); 141 base::Time::Now() - base::TimeDelta::FromDays(41));
|
/external/chromium_org/net/dns/ |
host_cache.cc | 110 base::TimeDelta::FromSeconds(1), base::TimeDelta::FromDays(1), 100); 115 base::TimeDelta::FromSeconds(1), base::TimeDelta::FromDays(1), 100); 118 base::TimeDelta::FromSeconds(1), base::TimeDelta::FromDays(1), 100);
|
/external/chromium_org/cc/debug/ |
paint_time_counter.cc | 30 *min = base::TimeDelta::FromDays(1);
|
/external/chromium_org/mojo/services/test_service/ |
test_time_service_impl.cc | 35 + base::TimeDelta::FromDays(10957)
|
/external/chromium_org/chrome/browser/ |
upgrade_detector_impl_unittest.cc | 85 detector.NotifyOnUpgradeWithTimePassed(base::TimeDelta::FromDays(30)); 106 detector.NotifyOnUpgradeWithTimePassed(base::TimeDelta::FromDays(30));
|
/external/chromium_org/chrome/installer/gcapi/ |
gcapi_last_run_test.cc | 75 Time last_run = Time::NowFromSystemTime() - TimeDelta::FromDays(10); 94 Time last_run = Time::NowFromSystemTime() - TimeDelta::FromDays(-42);
|
gcapi_reactivation_test.cc | 120 Time hkcu_last_run = Time::NowFromSystemTime() - TimeDelta::FromDays(20); 130 TimeDelta::FromDays(kReactivationMinDaysDormant); 164 TimeDelta::FromDays(kReactivationMinDaysDormant); 200 TimeDelta::FromDays(kReactivationMinDaysDormant);
|
/external/chromium_org/components/history/core/common/ |
thumbnail_score_unittest.cc | 30 base::Time last_year = now - base::TimeDelta::FromDays(365); 86 base::TimeDelta::FromDays(ThumbnailScore::kUpdateThumbnailTimeDays);
|
/external/chromium_org/components/history/core/browser/ |
url_database_unittest.cc | 78 url_info1.set_last_visit(Time::Now() - TimeDelta::FromDays(1)); 88 url_info2.set_last_visit(Time::Now() - TimeDelta::FromDays(2)); 135 url_info4.set_last_visit(Time::Now() - TimeDelta::FromDays(3)); 166 url_info1.set_last_visit(Time::Now() - TimeDelta::FromDays(1)); 205 url_info1.set_last_visit(Time::Now() - TimeDelta::FromDays(1)); 242 url_match_last_visit.set_last_visit(Time::Now() - TimeDelta::FromDays(1)); 248 TimeDelta::FromDays(kLowQualityMatchAgeLimitInDays + 1)); 266 url_info1.set_last_visit(Time::Now() - TimeDelta::FromDays(1)); 280 url_info2.set_last_visit(Time::Now() - TimeDelta::FromDays(1)); 292 url_info3.set_last_visit(Time::Now() - TimeDelta::FromDays(1)) [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_index_unittest.cc | 30 base::Time::UnixEpoch() + base::TimeDelta::FromDays(20); 322 InsertIntoIndexFileReturn(kHash1, now - base::TimeDelta::FromDays(2), 475); 328 now - base::TimeDelta::FromDays(2) - base::TimeDelta::FromSeconds(1), 331 now - base::TimeDelta::FromDays(2) + base::TimeDelta::FromSeconds(1), 370 now - base::TimeDelta::FromDays(2), 373 now - base::TimeDelta::FromDays(3), 381 now - base::TimeDelta::FromDays(2) - base::TimeDelta::FromSeconds(1), 384 now - base::TimeDelta::FromDays(2) + base::TimeDelta::FromSeconds(1), 389 now - base::TimeDelta::FromDays(3) - base::TimeDelta::FromSeconds(1), 392 now - base::TimeDelta::FromDays(3) + base::TimeDelta::FromSeconds(1) [all...] |
/external/chromium_org/net/cert/ |
x509_util_openssl_unittest.cc | 103 base::TimeDelta::FromDays(kDaysFromYear0001ToUnixEpoch + 1); 106 base::TimeDelta::FromDays(kDaysFromUnixEpochToYear10000 + 1); 129 now + base::TimeDelta::FromDays(1),
|
/external/chromium_org/net/base/ |
backoff_entry_unittest.cc | 57 never_expires.set_now(TimeTicks() + TimeDelta::FromDays(100)); 267 TimeTicks custom_horizon = TimeTicks() + TimeDelta::FromDays(3); 271 custom.set_now(TimeTicks() + TimeDelta::FromDays(2)); 278 custom.set_now(TimeTicks() + TimeDelta::FromDays(3)); 281 TimeTicks() + TimeDelta::FromDays(3) + TimeDelta::FromMilliseconds(1000), 290 TimeTicks custom_horizon = TimeTicks() + TimeDelta::FromDays(3);
|
/external/chromium_org/chrome/browser/history/android/ |
urls_sql_handler_unittest.cc | 95 row.set_created(Time::Now() - TimeDelta::FromDays(1)); 172 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10)); 205 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10)); 243 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10)); 273 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10)); 284 update_row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(11)); 298 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10)); 326 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10));
|
visit_sql_handler_unittest.cc | 137 row.set_created(Time::Now() - TimeDelta::FromDays(1)); 162 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10)); 194 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10)); 227 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10)); 235 update_row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(9)); 236 update_row.set_created(Time::Now() - TimeDelta::FromDays(10)); 259 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10)); 286 row.set_last_visit_time(Time::Now() - TimeDelta::FromDays(10));
|
android_provider_backend_unittest.cc | 225 Time last_visited1 = Time::Now() - TimeDelta::FromDays(1); 226 Time created1 = last_visited1 - TimeDelta::FromDays(20); 228 visits1.push_back(VisitInfo(last_visited1 - TimeDelta::FromDays(1), 236 Time created2 = last_visited2 - TimeDelta::FromDays(10); 238 visits2.push_back(VisitInfo(last_visited2 - TimeDelta::FromDays(5), 367 Time last_visited1 = Time::Now() - TimeDelta::FromDays(1); 368 Time created1 = last_visited1 - TimeDelta::FromDays(20); 370 visits1.push_back(VisitInfo(last_visited1 - TimeDelta::FromDays(1), 378 Time created2 = last_visited2 - TimeDelta::FromDays(10); 380 visits2.push_back(VisitInfo(last_visited2 - TimeDelta::FromDays(5) [all...] |
/external/chromium_org/sync/engine/ |
entity_tracker_unittest.cc | 31 kCtime(base::Time::UnixEpoch() + base::TimeDelta::FromDays(10)), 32 kMtime(base::Time::UnixEpoch() + base::TimeDelta::FromDays(20)) {
|
/external/chromium_org/chrome/browser/chromeos/attestation/ |
attestation_policy_observer_unittest.cc | 198 ASSERT_TRUE(GetFakeCertificate(base::TimeDelta::FromDays(kCertValid), 206 ASSERT_TRUE(GetFakeCertificate(base::TimeDelta::FromDays(kCertValid), 214 ASSERT_TRUE(GetFakeCertificate(base::TimeDelta::FromDays(kCertExpiringSoon), 222 ASSERT_TRUE(GetFakeCertificate(base::TimeDelta::FromDays(kCertExpired),
|
/external/chromium_org/chrome/browser/profile_resetter/ |
profile_reset_global_error.cc | 25 return base::TimeDelta::FromDays(7);
|
/external/chromium_org/net/ssl/ |
ssl_client_auth_cache_unittest.cc | 17 base::Time expiration_date = start_date + base::TimeDelta::FromDays(1); 83 base::Time expiration_date = start_date + base::TimeDelta::FromDays(1); 108 base::Time expiration_date = start_date + base::TimeDelta::FromDays(1); 144 base::Time expiration_date = start_date + base::TimeDelta::FromDays(1);
|
/external/chromium_org/components/omnibox/ |
omnibox_field_trial_unittest.cc | 373 EXPECT_EQ(1.0, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(7))); 376 EXPECT_EQ(0.5, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(7))); 377 EXPECT_EQ(0.25, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(14))); 378 EXPECT_EQ(1.0, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(0))); 379 EXPECT_EQ(1.0, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(-1)));
|
/external/chromium_org/content/browser/appcache/ |
appcache_group_unittest.cc | 119 cache2->set_update_time(now - base::TimeDelta::FromDays(1)); 126 cache3->set_update_time(now + base::TimeDelta::FromDays(1)); 133 cache4->set_update_time(now + base::TimeDelta::FromDays(1)); // same as 3 140 cache5->set_update_time(now + base::TimeDelta::FromDays(1)); // same as 4 202 cache2->set_update_time(now + base::TimeDelta::FromDays(1));
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
counting_policy_unittest.cc | 593 policy->set_retention_time(base::TimeDelta::FromDays(14)); 653 policy->set_retention_time(base::TimeDelta::FromDays(14)); 665 mock_clock->Now() - base::TimeDelta::FromDays(3) - 673 mock_clock->Now() - base::TimeDelta::FromDays(3), 689 mock_clock->Now() - base::TimeDelta::FromDays(7), 810 policy->set_retention_time(base::TimeDelta::FromDays(14)); 823 mock_clock->Now() - base::TimeDelta::FromDays(3) - 830 mock_clock->Now() - base::TimeDelta::FromDays(3) - 837 mock_clock->Now() - base::TimeDelta::FromDays(2) - 854 policy->set_retention_time(base::TimeDelta::FromDays(2)) [all...] |