Home
last modified time | relevance | path

Searched refs:ToInternalValue (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/external/chromium_org/ui/wm/core/
Duser_activity_detector_unittest.cc82 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/
Ddelay_based_time_source.cc77 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/
Dbegin_frame_args_unittest.cc26 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/
Dordinal_unittest.cc207 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 …]
Dnode_ordinal_unittest.cc57 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/
Dapp_sync_data_unittest.cc41 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/
Dresource_entry_conversion_unittest.cc59 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 …]
Dresource_entry_conversion.cc34 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/
Dvariations_request_scheduler_mobile_unittest.cc29 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/
Dpersistent_tab_restore_service_unittest.cc222 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/
Dtest_pending_task.cc38 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/
Ddaily_event_unittest.cc67 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/
Dclient_event_dispatcher.cc36 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/
Dfile_unittest.cc336 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/
Dsqlite_channel_id_store_unittest.cc133 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/
Dvisit_database.cc150 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 …]
Dtyped_url_syncable_service.cc52 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/
Dlatency_info_unittest.cc34 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/
Dranges.cc12 DCHECK(lhs < rhs) << lhs.ToInternalValue() << " < " << rhs.ToInternalValue(); in DCheckLT()
/external/chromium_org/components/policy/core/common/
Dpolicy_statistics_collector_unittest.cc142 (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/
Dtime_conversion_unittest.cc28 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/
Drandom-number-generator.cc73 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/
Dactivity_log_policy.cc154 *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/
Dipc_perftest_support.cc121 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/
Dgcapi_reactivation_test.cc122 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()

12345678910>>...13