/external/cronet/net/disk_cache/simple/ |
D | simple_index_unittest.cc | 35 const base::Time kTestLastUsedTime = base::Time::UnixEpoch() + base::Days(20); 382 InsertIntoIndexFileReturn(kHash1, now - base::Days(2), 475); in TEST_F() 387 EXPECT_LT(now - base::Days(2) - base::Seconds(1), metadata.GetLastUsedTime()); in TEST_F() 388 EXPECT_GT(now - base::Days(2) + base::Seconds(1), metadata.GetLastUsedTime()); in TEST_F() 425 InsertIntoIndexFileReturn(hashes_.at<1>(), now - base::Days(2), 10u); in TEST_F() 426 InsertIntoIndexFileReturn(hashes_.at<2>(), now - base::Days(3), 1000u); in TEST_F() 434 EXPECT_LT(now - base::Days(2) - base::Seconds(1), metadata.GetLastUsedTime()); in TEST_F() 435 EXPECT_GT(now - base::Days(2) + base::Seconds(1), metadata.GetLastUsedTime()); in TEST_F() 440 EXPECT_LT(now - base::Days(3) - base::Seconds(1), metadata.GetLastUsedTime()); in TEST_F() 441 EXPECT_GT(now - base::Days(3) + base::Seconds(1), metadata.GetLastUsedTime()); in TEST_F() [all …]
|
/external/cronet/net/ssl/ |
D | client_cert_identity_unittest.cc | 39 now + base::Days(10), now + base::Days(15), {}, &der_cert)); in TEST() 47 now - base::Days(5), now + base::Days(5), {}, &der_cert)); in TEST() 55 now - base::Days(3), now + base::Days(5), {}, &der_cert)); in TEST()
|
/external/cronet/net/test/embedded_test_server/ |
D | embedded_test_server.cc | 165 produced_at = std::max(now - base::Days(1), target_not_before); in MaybeCreateOCSPResponse() 168 produced_at = target_not_before - base::Days(1); in MaybeCreateOCSPResponse() 171 produced_at = target_not_after + base::Days(1); in MaybeCreateOCSPResponse() 185 response.revocation_time = now - base::Days(1000); in MaybeCreateOCSPResponse() 190 response.this_update = now - base::Days(1); in MaybeCreateOCSPResponse() 191 response.next_update = response.this_update + base::Days(7); in MaybeCreateOCSPResponse() 194 response.this_update = now - base::Days(8); in MaybeCreateOCSPResponse() 195 response.next_update = response.this_update + base::Days(7); in MaybeCreateOCSPResponse() 198 response.this_update = now + base::Days(1); in MaybeCreateOCSPResponse() 199 response.next_update = response.this_update + base::Days(7); in MaybeCreateOCSPResponse() [all …]
|
/external/cronet/base/time/ |
D | time_delta_from_string_unittest.cc | 53 EXPECT_EQ(TimeDeltaFromString("2d"), Days(2)); in TEST() 68 EXPECT_EQ(TimeDeltaFromString("1d2h3m"), Days(1) + Hours(2) + Minutes(3)); in TEST() 87 EXPECT_EQ(TimeDeltaFromString("1.5d"), 1.5 * Days(1)); in TEST() 99 EXPECT_EQ(TimeDeltaFromString("-1d"), Days(-1)); in TEST()
|
/external/cronet/net/base/ |
D | backoff_entry_unittest.cc | 50 now_ticks.set_now(TimeTicks() + base::Days(100)); in TEST() 264 TimeTicks custom_horizon = TimeTicks() + base::Days(3); in TEST() 268 now_ticks.set_now(TimeTicks() + base::Days(2)); in TEST() 275 now_ticks.set_now(TimeTicks() + base::Days(3)); in TEST() 277 EXPECT_EQ(TimeTicks() + base::Days(3) + base::Milliseconds(1000), in TEST() 287 TimeTicks custom_horizon = TimeTicks() + base::Days(3); in TEST()
|
D | backoff_entry_serializer_unittest.cc | 248 Time later_time = original_time + base::Days(1); in TEST() 259 EXPECT_EQ(original.GetReleaseTime() - base::Days(1), in TEST() 267 later_ticks.set_now(TimeTicks() + base::Days(1)); in TEST() 282 EXPECT_EQ(original.GetReleaseTime() + base::Days(1), in TEST() 290 later_ticks.set_now(TimeTicks() + base::Days(1)); in TEST() 291 Time later_time = original_time + base::Days(1); in TEST()
|
/external/cronet/net/dns/ |
D | dns_test_util.h | 204 base::TimeDelta ttl = base::Days(1)); 208 base::TimeDelta ttl = base::Days(1)); 212 base::TimeDelta ttl = base::Days(1)); 216 base::TimeDelta ttl = base::Days(1)); 221 base::TimeDelta ttl = base::Days(1)); 242 base::TimeDelta ttl = base::Days(1));
|
/external/cronet/net/cert/internal/ |
D | revocation_checker.h | 34 constexpr base::TimeDelta kMaxRevocationLeafUpdateAge = base::Days(7); 51 constexpr base::TimeDelta kMaxRevocationIntermediateUpdateAge = base::Days(366);
|
/external/cronet/net/cookies/ |
D | cookie_monster_unittest.cc | 1036 Time::Now() + base::Days(3)); in TEST_F() 1126 Time::Now() + base::Days(3)); in TEST_F() 1148 Time::Now() + base::Days(3)); in TEST_F() 1174 Time::Now() + base::Days(3)); in TEST_F() 1200 Time::Now() + base::Days(3)); in TEST_F() 1337 Time::Now() + base::Days(3)); in TEST_F() 1442 cm.get(), TimeRange(now - base::Days(99), Time()))); in TEST_F() 1448 "T-1=Yesterday", now - base::Days(1))); in TEST_F() 1450 "T-2=DayBefore", now - base::Days(2))); in TEST_F() 1452 "T-3=ThreeDays", now - base::Days(3))); in TEST_F() [all …]
|
D | cookie_monster_store_test.cc | 206 base::Time past_creation(base::Time::Now() - base::Days(100)); in CreateMonsterFromStoreForGC() 223 base::Time expiration_time = current + base::Days(30); in CreateMonsterFromStoreForGC() 225 ? current - base::Days(days_old) in CreateMonsterFromStoreForGC()
|
/external/cronet/components/metrics/structured/ |
D | key_data_unittest.cc | 298 time_.Advance(base::Days(kKeyRotationPeriod - 1)); in TEST_F() 311 time_.Advance(base::Days(kKeyRotationPeriod + 1)); in TEST_F() 328 time_.Advance(base::Days(kKeyRotationPeriod * 2)); in TEST_F() 358 time_.Advance(base::Days(new_key_rotation_period + 1)); in TEST_F()
|
/external/cronet/base/test/ |
D | scoped_mock_clock_override_unittest.cc | 48 EXPECT_LT(TimeTicks::UnixEpoch() + Days(365), TimeTicks::Now()); in TEST() 63 EXPECT_LT(TimeTicks::UnixEpoch() + Days(365), TimeTicks::Now()); in TEST()
|
D | test_mock_time_task_runner_unittest.cc | 61 Days(20)); in TEST() 126 Days(20)); in TEST() 185 FROM_HERE, run_loop.QuitWhenIdleClosure(), Days(50)); in TEST() 329 Days(20)); in TEST()
|
D | test_reg_util_win_unittest.cc | 110 FakeOverrideManagerPath(kTestTime - base::Days(100)); in TEST_F() 111 std::wstring path_stale = FakeOverrideManagerPath(kTestTime - base::Days(5)); in TEST_F()
|
D | task_environment_unittest.cc | 190 constexpr base::TimeDelta kShortTaskDelay = Days(1); in DelayedTasksTest() 209 constexpr base::TimeDelta kLongTaskDelay = Days(7); in DelayedTasksTest() 219 Days(5)); in DelayedTasksTest() 437 constexpr base::TimeDelta kShortTaskDelay = Days(1); in TEST_F() 441 constexpr base::TimeDelta kLongTaskDelay = Days(7); in TEST_F() 534 constexpr base::TimeDelta kTaskDelay = Days(1); in TEST_F() 553 constexpr base::TimeDelta kTaskDelay = Days(1); in TEST_F() 1028 Days(20)); in TEST_F() 1085 Days(20)); in TEST_F() 1149 FROM_HERE, run_loop.QuitWhenIdleClosure(), Days(50)); in TEST_F()
|
D | scoped_mock_clock_override.cc | 17 offset_(Days(365)) { in ScopedMockClockOverride()
|
/external/cronet/net/http/ |
D | http_server_properties_unittest.cc | 127 const base::Time expiration = test_clock_.Now() + base::Days(1); in SetAlternativeService() 596 base::Time expiration = test_clock_.Now() + base::Days(1); in TEST_F() 639 base::Time expiration1 = now + base::Days(1); in TEST_F() 649 base::Time expiration2 = now + base::Days(2); in TEST_F() 662 base::Time expiration3 = now + base::Days(3); in TEST_F() 673 base::Time expiration4 = now + base::Days(4); in TEST_F() 822 base::Time::Now() + base::Days(1) /* expiration */)}); in TEST_F() 931 base::Time expiration = test_clock_.Now() - base::Days(1); in TEST_F() 969 base::Time expiration = test_clock_.Now() - base::Days(1); in TEST_F() 1009 base::Time expiration = test_clock_.Now() + base::Days(1); in TEST_F() [all …]
|
/external/cronet/net/cert/ |
D | cert_verify_proc.cc | 855 constexpr base::TimeDelta kTenYears = base::Days((365 * 8) + (366 * 2)); in HasTooLongValidity() 857 constexpr base::TimeDelta kSixtyMonths = base::Days((365 * 3) + (366 * 2)); in HasTooLongValidity() 861 base::Days(366 + 365 + 365 + 31 + 31 + 30); in HasTooLongValidity() 881 if (start >= time_2018_03_01 && validity_duration > base::Days(825)) { in HasTooLongValidity() 886 if (start >= time_2020_09_01 && validity_duration > base::Days(398)) { in HasTooLongValidity()
|
/external/cronet/base/ |
D | run_loop_unittest.cc | 51 FROM_HERE, MakeExpectedNotRunClosure(FROM_HERE), Days(1)); in RunNestedLoopTask() 257 FROM_HERE, MakeExpectedNotRunClosure(FROM_HERE), Days(1)); in TEST_P() 273 FROM_HERE, MakeExpectedNotRunClosure(FROM_HERE), Days(1)); in TEST_P() 285 FROM_HERE, MakeExpectedNotRunClosure(FROM_HERE), Days(1)); in TEST_P()
|
/external/cronet/net/test/ |
D | run_all_unittests.cc | 23 base::TimeDelta kMaxAge = base::Days(70); in VerifyBuildIsTimely()
|
D | revocation_builder.cc | 417 base::Time::Now() - base::Days(1)) || in BuildCrlWithSigner() 419 base::Time::Now() + base::Days(6))) { in BuildCrlWithSigner() 435 base::Time::Now() - base::Days(1)) || in BuildCrlWithSigner()
|
D | test_doh_server.h | 45 base::TimeDelta ttl = base::Days(1));
|
/external/cronet/net/reporting/ |
D | reporting_policy.h | 65 base::TimeDelta max_group_staleness = base::Days(7);
|
/external/cronet/net/extras/sqlite/ |
D | sqlite_persistent_cookie_store_unittest.cc | 684 base::Time::Now() - base::Days(1), base::Time::Now() + base::Days(1), in TEST_F() 725 base::Time::Now() - base::Minutes(1), base::Time::Now() + base::Days(1), in TEST_F() 732 base::Time::Now() - base::Minutes(2), base::Time::Now() + base::Days(1), in TEST_F() 739 base::Time::Now() - base::Minutes(3), base::Time::Now() + base::Days(1), in TEST_F() 786 base::Time::Now() - base::Minutes(1), base::Time::Now() + base::Days(1), in TEST_F() 793 base::Time::Now() - base::Minutes(2), base::Time::Now() + base::Days(1), in TEST_F() 800 base::Time::Now() - base::Minutes(3), base::Time::Now() + base::Days(1), in TEST_F() 842 base::Time::Now() - base::Minutes(1), base::Time::Now() + base::Days(1), in TEST_F() 882 base::Time::Now() - base::Minutes(1), base::Time::Now() + base::Days(1), in TEST_F() 890 base::Time::Now() - base::Minutes(1), base::Time::Now() + base::Days(1), in TEST_F() [all …]
|
/external/mesa3d/src/util/ |
D | 00-mesa-defaults.conf | 417 <application name="7 Days To Die (64-bit)" executable="7DaysToDie.x86_64"> 420 <application name="7 Days To Die (32-bit)" executable="7DaysToDie.x86"> 674 <application name="7 Days to Die" executable="7DaysToDie.x86_64"> 677 <application name="7 Days to Die" executable="7DaysToDie.x86">
|