/external/chromium_org/ui/wm/core/ |
D | user_activity_detector_unittest.cc | 82 EXPECT_EQ(now_.ToInternalValue(), in TEST_F() 83 detector_->last_activity_time().ToInternalValue()); in TEST_F() 94 EXPECT_EQ(now_.ToInternalValue(), in TEST_F() 95 detector_->last_activity_time().ToInternalValue()); in TEST_F() 105 EXPECT_EQ(time_before_ignore.ToInternalValue(), in TEST_F() 106 detector_->last_activity_time().ToInternalValue()); in TEST_F() 116 EXPECT_EQ(time_before_ignore.ToInternalValue(), in TEST_F() 117 detector_->last_activity_time().ToInternalValue()); in TEST_F() 125 EXPECT_EQ(now_.ToInternalValue(), in TEST_F() 126 detector_->last_activity_time().ToInternalValue()); in TEST_F() [all …]
|
/external/chromium_org/cc/scheduler/ |
D | delay_based_time_source.cc | 77 DCHECK_GT(interval.ToInternalValue(), 0); in DelayBasedTimeSource() 136 DCHECK_GT(interval.ToInternalValue(), 0); in SetTimebaseAndInterval() 242 (next_parameters_.tick_target - now).ToInternalValue() % in NextTickTarget() 243 new_interval.ToInternalValue()); in NextTickTarget() 247 if (interval_offset.ToInternalValue() != 0 && in NextTickTarget() 254 << "now = " << now.ToInternalValue() in NextTickTarget() 255 << "; new_tick_target = " << new_tick_target.ToInternalValue() in NextTickTarget() 257 << "; tick_target = " << next_parameters_.tick_target.ToInternalValue() in NextTickTarget() 258 << "; interval_offset = " << interval_offset.ToInternalValue(); in NextTickTarget() 295 state->SetDouble("last_tick_time_us", LastTickTime().ToInternalValue()); in AsValueInto() [all …]
|
/external/chromium_org/cc/output/ |
D | begin_frame_args_unittest.cc | 26 EXPECT_EQ(1, args2.frame_time.ToInternalValue()); in TEST() 27 EXPECT_EQ(2, args2.deadline.ToInternalValue()); in TEST() 28 EXPECT_EQ(3, args2.interval.ToInternalValue()); in TEST() 67 EXPECT_EQ(1, args2.frame_time.ToInternalValue()) << args2; in TEST() 68 EXPECT_EQ(2, args2.deadline.ToInternalValue()) << args2; in TEST() 69 EXPECT_EQ(3, args2.interval.ToInternalValue()) << args2; in TEST()
|
/external/chromium_org/sync/internal_api/public/base/ |
D | ordinal_unittest.cc | 207 TEST(OrdinalTest, ToInternalValue) { in TEST() argument 208 EXPECT_EQ("2", TestOrdinal("2").ToInternalValue()); in TEST() 209 EXPECT_EQ("12345", LongOrdinal("12345").ToInternalValue()); in TEST() 210 EXPECT_EQ("\1\2\3\4\5", LargeOrdinal("\1\2\3\4\5").ToInternalValue()); in TEST() 268 return between1.ToInternalValue(); in GetBetween() 322 EXPECT_EQ("02", TestOrdinal("1").CreateBefore().ToInternalValue()); in TEST() 323 EXPECT_EQ("03", TestOrdinal("11").CreateBefore().ToInternalValue()); in TEST() 324 EXPECT_EQ("03", TestOrdinal("12").CreateBefore().ToInternalValue()); in TEST() 325 EXPECT_EQ("1", TestOrdinal("13").CreateBefore().ToInternalValue()); in TEST() 331 EXPECT_EQ("31", TestOrdinal("3").CreateAfter().ToInternalValue()); in TEST() [all …]
|
D | node_ordinal_unittest.cc | 57 EXPECT_EQ(9U, Int64ToNodeOrdinal(kint64min).ToInternalValue().size()); in TEST() 64 EXPECT_EQ(8U, ordinal.ToInternalValue().size()) << "i = " << i; in TEST() 120 ordinal1.CreateBetween(ordinal2).ToInternalValue()); in TEST()
|
/external/chromium_org/chrome/browser/extensions/ |
D | app_sync_data_unittest.cc | 41 syncer::StringOrdinal::CreateInitialOrdinal().ToInternalValue()); in TEST_F() 43 syncer::StringOrdinal::CreateInitialOrdinal().ToInternalValue()); in TEST_F() 52 app_sync_data.app_launch_ordinal().ToInternalValue()); in TEST_F() 54 app_sync_data.page_ordinal().ToInternalValue()); in TEST_F() 63 syncer::StringOrdinal::CreateInitialOrdinal().ToInternalValue()); in TEST_F() 65 syncer::StringOrdinal::CreateInitialOrdinal().ToInternalValue()); in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | resource_entry_conversion_unittest.cc | 59 EXPECT_EQ(file_resource.modified_date().ToInternalValue(), in TEST() 63 EXPECT_EQ(file_resource.created_date().ToInternalValue(), in TEST() 108 EXPECT_EQ(file_resource.modified_date().ToInternalValue(), in TEST() 110 EXPECT_EQ(file_resource.last_viewed_by_me_date().ToInternalValue(), in TEST() 112 EXPECT_EQ(file_resource.created_date().ToInternalValue(), in TEST() 158 EXPECT_EQ(file_resource.modified_date().ToInternalValue(), in TEST() 160 EXPECT_EQ(file_resource.last_viewed_by_me_date().ToInternalValue(), in TEST() 162 EXPECT_EQ(file_resource.created_date().ToInternalValue(), in TEST() 196 EXPECT_EQ(file_resource.modified_date().ToInternalValue(), in TEST() 198 EXPECT_EQ(file_resource.last_viewed_by_me_date().ToInternalValue(), in TEST() [all …]
|
D | resource_entry_conversion.cc | 34 converted.set_modification_date(input.modification_date().ToInternalValue()); in ConvertChangeResourceToResourceEntry() 71 file_info->set_last_modified(input.modified_date().ToInternalValue()); in ConvertFileResourceToResourceEntry() 76 input.last_viewed_by_me_date().ToInternalValue()); in ConvertFileResourceToResourceEntry() 77 file_info->set_creation_time(input.created_date().ToInternalValue()); in ConvertFileResourceToResourceEntry()
|
/external/chromium_org/chrome/browser/metrics/variations/ |
D | variations_request_scheduler_mobile_unittest.cc | 29 base::Time::Now().ToInternalValue()); in TEST() 43 old.ToInternalValue()); in TEST() 59 base::Time::Now().ToInternalValue()); in TEST() 86 old.ToInternalValue()); in TEST() 113 old.ToInternalValue()); in TEST() 135 (last_fetch_time - base::TimeDelta::FromHours(24)).ToInternalValue()); in TEST()
|
/external/chromium_org/chrome/browser/sessions/ |
D | persistent_tab_restore_service_unittest.cc | 222 EXPECT_EQ(time_factory_->TimeNow().ToInternalValue(), in TEST_F() 223 tab->timestamp.ToInternalValue()); in TEST_F() 245 EXPECT_EQ(time_factory_->TimeNow().ToInternalValue(), in TEST_F() 246 tab->timestamp.ToInternalValue()); in TEST_F() 279 EXPECT_EQ(time_factory_->TimeNow().ToInternalValue(), in TEST_F() 280 tab->timestamp.ToInternalValue()); in TEST_F() 345 EXPECT_EQ(time_factory_->TimeNow().ToInternalValue(), in TEST_F() 346 restored_tab->timestamp.ToInternalValue()); in TEST_F() 390 EXPECT_EQ(0, window->timestamp.ToInternalValue()); in TEST_F() 394 EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue()); in TEST_F() [all …]
|
/external/chromium_org/base/test/ |
D | test_pending_task.cc | 38 state->SetInteger("run_at", GetTimeToRun().ToInternalValue()); in AsValueInto() 40 state->SetInteger("post_time", post_time.ToInternalValue()); in AsValueInto() 41 state->SetInteger("delay", delay.ToInternalValue()); in AsValueInto() 50 state->SetInteger("delay", delay.ToInternalValue()); in AsValueInto()
|
/external/chromium_org/components/metrics/ |
D | daily_event_unittest.cc | 67 prefs_.SetInt64(kTestPrefName, last_time.ToInternalValue()); in TEST_F() 75 prefs_.SetInt64(kTestPrefName, last_time.ToInternalValue()); in TEST_F() 83 prefs_.SetInt64(kTestPrefName, last_time.ToInternalValue()); in TEST_F() 91 prefs_.SetInt64(kTestPrefName, last_time.ToInternalValue()); in TEST_F()
|
/external/chromium_org/remoting/protocol/ |
D | client_event_dispatcher.cc | 36 message.set_sequence_number(base::Time::Now().ToInternalValue()); in InjectKeyEvent() 44 message.set_sequence_number(base::Time::Now().ToInternalValue()); in InjectTextEvent() 51 message.set_sequence_number(base::Time::Now().ToInternalValue()); in InjectMouseEvent()
|
/external/chromium_org/base/files/ |
D | file_unittest.cc | 336 EXPECT_LE(info.last_accessed.ToInternalValue(), now.ToInternalValue()); 337 EXPECT_LE(info.last_modified.ToInternalValue(), now.ToInternalValue()); 338 EXPECT_LE(info.creation_time.ToInternalValue(), now.ToInternalValue()); 371 EXPECT_EQ(info.last_accessed.ToInternalValue(), 372 new_last_accessed.ToInternalValue()); 373 EXPECT_EQ(info.last_modified.ToInternalValue(), 374 new_last_modified.ToInternalValue()); 377 EXPECT_EQ(info.creation_time.ToInternalValue(), 378 creation_time.ToInternalValue());
|
/external/chromium_org/net/extras/sqlite/ |
D | sqlite_channel_id_store_unittest.cc | 133 ASSERT_EQ(1, goog_channel_id->creation_time().ToInternalValue()); in TEST_F() 134 ASSERT_EQ(2, goog_channel_id->expiration_time().ToInternalValue()); in TEST_F() 138 ASSERT_EQ(3, foo_channel_id->creation_time().ToInternalValue()); in TEST_F() 139 ASSERT_EQ(4, foo_channel_id->expiration_time().ToInternalValue()); in TEST_F() 413 ASSERT_EQ(1000, channel_ids[0]->expiration_time().ToInternalValue()); in TEST_F() 419 ASSERT_EQ(2000, channel_ids[1]->expiration_time().ToInternalValue()); in TEST_F() 477 add_smt.BindInt64(4, GetTestCertExpirationTime().ToInternalValue()); in TEST_F() 478 add_smt.BindInt64(5, base::Time::Now().ToInternalValue()); in TEST_F() 490 add_smt.BindInt64(4, GetTestCertExpirationTime().ToInternalValue()); in TEST_F() 491 add_smt.BindInt64(5, base::Time::Now().ToInternalValue()); in TEST_F()
|
/external/chromium_org/chrome/browser/history/ |
D | visit_database.cc | 150 statement.BindInt64(1, visit->visit_time.ToInternalValue()); in AddVisit() 154 statement.BindInt64(5, visit->visit_duration.ToInternalValue()); in AddVisit() 236 statement.BindInt64(1, visit.visit_time.ToInternalValue()); in UpdateVisitRow() 240 statement.BindInt64(5, visit.visit_duration.ToInternalValue()); in UpdateVisitRow() 293 statement.BindInt64(0, it->ToInternalValue()); in GetVisitsForTimes() 313 int64 end = end_time.ToInternalValue(); in GetAllVisitsInRange() 314 statement.BindInt64(0, begin_time.ToInternalValue()); in GetAllVisitsInRange() 338 int64 end = end_time.ToInternalValue(); in GetVisitsInRangeForTransition() 339 statement.BindInt64(0, begin_time.ToInternalValue()); in GetVisitsInRangeForTransition() 388 statement.BindInt64(0, it->first.ToInternalValue()); in GetDirectVisitsDuringTimes() [all …]
|
D | typed_url_syncable_service.cc | 52 if (previous_visit_time == visit->visit_time.ToInternalValue()) in CheckVisitOrdering() 54 else if (previous_visit_time > visit->visit_time.ToInternalValue()) in CheckVisitOrdering() 58 previous_visit_time = visit->visit_time.ToInternalValue(); in CheckVisitOrdering() 330 DCHECK_EQ(url.last_visit().ToInternalValue(), in WriteToTypedUrlSpecifics() 331 visits.back().visit_time.ToInternalValue()); in WriteToTypedUrlSpecifics() 391 typed_url->add_visits(visit->visit_time.ToInternalValue()); in WriteToTypedUrlSpecifics() 402 typed_url->add_visits(url.last_visit().ToInternalValue()); in WriteToTypedUrlSpecifics()
|
/external/chromium_org/ui/events/ |
D | latency_info_unittest.cc | 34 EXPECT_EQ(component.event_time.ToInternalValue(), 100); in TEST() 39 EXPECT_EQ(component.event_time.ToInternalValue(), 1000); in TEST() 65 EXPECT_EQ(component.event_time.ToInternalValue(), (100 * 2 + 200 * 3) / 5); in TEST()
|
/external/chromium_org/media/base/ |
D | ranges.cc | 12 DCHECK(lhs < rhs) << lhs.ToInternalValue() << " < " << rhs.ToInternalValue(); in DCheckLT()
|
/external/chromium_org/components/policy/core/common/ |
D | policy_statistics_collector_unittest.cc | 142 (base::Time::Now() - update_delay_).ToInternalValue()); in TEST_F() 157 base::Time::FromDoubleT(1.0).ToInternalValue()); in TEST_F() 171 (base::Time::Now() - update_delay_ / 2).ToInternalValue()); in TEST_F() 183 (base::Time::Now() - update_delay_).ToInternalValue()); in TEST_F()
|
/external/chromium_org/ppapi/shared_impl/ |
D | time_conversion_unittest.cc | 28 abs(static_cast<int>((converted - now).ToInternalValue()))); in TEST() 58 abs(static_cast<int>((converted - epoch).ToInternalValue()))); in TEST() 70 (ppapi::PPTimeToTime(0.0) - epoch).ToInternalValue()))); in TEST()
|
/external/chromium_org/v8/src/base/utils/ |
D | random-number-generator.cc | 73 int64_t seed = Time::NowFromSystemTime().ToInternalValue() << 24; in RandomNumberGenerator() 74 seed ^= TimeTicks::HighResolutionNow().ToInternalValue() << 16; in RandomNumberGenerator() 75 seed ^= TimeTicks::Now().ToInternalValue() << 8; in RandomNumberGenerator()
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
D | activity_log_policy.cc | 154 *early_bound = morning_midnight.ToInternalValue(); in ComputeDatabaseTimeBounds() 155 *late_bound = base::Time::Max().ToInternalValue(); in ComputeDatabaseTimeBounds() 159 *early_bound = early_time.ToInternalValue(); in ComputeDatabaseTimeBounds() 160 *late_bound = late_time.ToInternalValue(); in ComputeDatabaseTimeBounds()
|
/external/chromium_org/ipc/ |
D | ipc_perftest_support.cc | 121 msg->WriteInt64(base::TimeTicks::Now().ToInternalValue()); in OnMessageReceived() 204 msg->WriteInt64(base::TimeTicks::Now().ToInternalValue()); in OnMessageReceived() 254 message->WriteInt64(base::TimeTicks::Now().ToInternalValue()); in RunTestChannelPingPong() 265 message->WriteInt64(base::TimeTicks::Now().ToInternalValue()); in RunTestChannelPingPong() 294 message->WriteInt64(base::TimeTicks::Now().ToInternalValue()); in RunTestChannelProxyPingPong() 305 message->WriteInt64(base::TimeTicks::Now().ToInternalValue()); in RunTestChannelProxyPingPong()
|
/external/chromium_org/chrome/installer/gcapi/ |
D | gcapi_reactivation_test.cc | 122 hkcu_last_run.ToInternalValue())); in TEST_F() 132 hkcu_last_run.ToInternalValue())); in TEST_F() 166 hkcu_last_run.ToInternalValue())); in TEST_F() 202 hkcu_last_run.ToInternalValue())); in TEST_F()
|