Searched refs:timestamps (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium_org/build/android/pylib/perf/
H A Dsurface_stats_collector_unittest.py27 timestamps = self._CreateUniformTimestamps(0, 10, self.refresh_period)
30 self.refresh_period, timestamps, ''))
36 self.assertEquals(len(results['frame_lengths'].value), len(timestamps) - 1)
39 timestamps = self._CreateUniformTimestamps(0, 10, self.refresh_period / 100)
42 [self.refresh_period, timestamps, ''])
45 timestamps = self._CreateUniformTimestamps(0, 5, self.refresh_period)
46 # The following timestamps should be skipped.
47 timestamps += self._CreateUniformTimestamps(timestamps[4],
50 timestamps
[all...]
H A Dsurface_stats_collector.py12 # Log marker containing SurfaceTexture timestamps.
13 _SURFACE_TEXTURE_TIMESTAMPS_MESSAGE = 'SurfaceTexture update timestamps'
92 def _CalculateResults(refresh_period, timestamps, result_suffix):
94 frame_count = len(timestamps)
95 seconds = timestamps[-1] - timestamps[0]
99 timestamps, refresh_period, _MIN_NORMALIZED_FRAME_LENGTH)
128 def _CalculateBuckets(refresh_period, timestamps):
131 sliced = timestamps[min(int(-pct * len(timestamps)),
[all...]
/external/chromium_org/components/autofill/core/browser/webdata/
H A Dautofill_entry_unittest.cc53 std::vector<base::Time> timestamps; local
57 timestamps.push_back(cutoff_time + one_hour);
61 AutofillEntry entry_within_the_limits(key, timestamps);
65 timestamps.push_back(cutoff_time - one_hour);
67 AutofillEntry entry_partially_within_the_limits(key, timestamps);
72 timestamps.clear();
73 timestamps.push_back(cutoff_time - one_hour);
74 timestamps.push_back(cutoff_time - one_hour * 2);
75 timestamps.push_back(cutoff_time - one_hour * 3);
77 AutofillEntry entry_outside_the_limits(key, timestamps);
[all...]
H A Dautofill_entry.cc57 const std::vector<base::Time>& timestamps)
59 timestamps_culled_ = CullTimeStamps(timestamps, &timestamps_);
68 if (timestamps_.size() != entry.timestamps().size())
71 std::set<base::Time> other_timestamps(entry.timestamps().begin(),
72 entry.timestamps().end());
97 // Culls the list of timestamps to the first and last used.
103 // web db with these new timestamps. However after restart if an autofill item
106 // list. Meaning until restart there will be mis-match in timestamps but
124 DVLOG(1) << "Culling timestamps. Current count is : " << source.size();
56 AutofillEntry(const AutofillKey& key, const std::vector<base::Time>& timestamps) argument
H A Dautofill_entry.h39 const std::vector<base::Time>& timestamps);
43 const std::vector<base::Time>& timestamps() const { return timestamps_; } function in class:autofill::AutofillEntry
50 // Checks if last of the timestamps are older than ExpirationTime().
61 // Culls the list of timestamps to 2 - the oldest and most recent. This is a
62 // precursor to getting rid of the timestamps db altogether.
H A Dautofill_table_unittest.cc64 std::set<Time> timestamps1(a.timestamps().begin(), a.timestamps().end());
65 std::set<Time> timestamps2(b.timestamps().begin(), b.timestamps().end());
90 std::vector<Time> timestamps; local
92 timestamps.push_back(Time::FromTimeT(timestamp0));
94 timestamps.push_back(Time::FromTimeT(timestamp1));
96 AutofillKey(ASCIIToUTF16(name), ASCIIToUTF16(value)), timestamps);
397 std::vector<Time> timestamps; local
400 &timestamps));
1459 std::vector<Time> timestamps; local
[all...]
/external/chromium/chrome/browser/webdata/
H A Dautofill_entry.cc44 const std::vector<base::Time>& timestamps)
46 timestamps_(timestamps) {
55 if (timestamps_.size() != entry.timestamps().size())
58 std::set<base::Time> other_timestamps(entry.timestamps().begin(),
59 entry.timestamps().end());
43 AutofillEntry(const AutofillKey& key, const std::vector<base::Time>& timestamps) argument
H A Dautofill_entry.h35 const std::vector<base::Time>& timestamps);
39 const std::vector<base::Time>& timestamps() const { return timestamps_; } function in class:AutofillEntry
H A Dautofill_table_unittest.cc56 std::set<Time> timestamps1(a.timestamps().begin(), a.timestamps().end());
57 std::set<Time> timestamps2(b.timestamps().begin(), b.timestamps().end());
115 std::vector<Time> timestamps; local
117 timestamps.push_back(Time::FromTimeT(timestamp0));
119 timestamps.push_back(Time::FromTimeT(timestamp1));
121 AutofillKey(ASCIIToUTF16(name), ASCIIToUTF16(value)), timestamps);
495 std::vector<Time> timestamps; local
498 &timestamps));
1571 std::vector<Time> timestamps; local
[all...]
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dcounter_track.js103 counter.timestamps,
120 counter.timestamps[iLast] - skipDistanceWorld : -1;
138 var x = counter.timestamps[i];
149 var xNext = counter.timestamps[i + 1];
184 var x = counter.timestamps[i];
199 if (i === counter.timestamps.length - 1)
201 return counter.timestamps[i + 1] - counter.timestamps[i];
205 var iLo = base.findLowIndexInSortedIntervals(counter.timestamps,
209 var iHi = base.findLowIndexInSortedIntervals(counter.timestamps,
[all...]
H A Dcounter_track_test.js15 var runTest = function(timestamps, samples, testFn) {
28 for (var k = 0; k < timestamps.length; ++k) {
29 ctr.series[i].addSample(timestamps[k], samples[i][k]);
65 var timestamps = [0, 1, 2, 3, 4, 5, 6, 7];
69 for (var k = 0; k < timestamps.length; ++k) {
70 ctr.series[i].addSample(timestamps[k], samples[i][k]);
94 var timestamps = [0, 1, 2, 3, 4, 5, 6, 7];
98 runTest.call(this, timestamps, samples, function(ctr, container, track) {
/external/chromium_org/tools/telemetry/telemetry/core/timeline/
H A Dcounter.py21 return self._counter.timestamps[self._sample_index]
25 self._counter.timestamps[self._sample_index] = start
56 self.timestamps = []
65 for i in range(len(self.timestamps)):
74 return len(self.timestamps)
79 'Length of samples must be a multiple of length of timestamps.')
/external/chromium_org/chrome/browser/webdata/
H A Dautocomplete_syncable_service.cc33 // Merges timestamps from the |autofill| entry and |timestamps|. Returns
36 // sorted as well. Only two timestamps - the earliest and the latest are stored.
38 const std::vector<base::Time>& timestamps,
44 if (timestamps_count == 0 && timestamps.empty()) {
48 timestamps.begin(),
49 timestamps.end());
51 } else if (timestamps.empty()) {
65 if (timestamps.front() != sync_time_begin ||
66 timestamps
37 MergeTimestamps(const sync_pb::AutofillSpecifics& autofill, const std::vector<base::Time>& timestamps, std::vector<base::Time>* new_timestamps) argument
367 std::vector<base::Time> timestamps; local
382 std::vector<base::Time> timestamps; local
432 std::vector<base::Time> timestamps; local
452 std::vector<base::Time> timestamps; local
[all...]
/external/chromium_org/tools/perf/page_sets/mse_cases/
H A Dstartup_test.js35 function plotTimestamps(timestamps, graphDuration, element) {
49 start: timestamps.testStartTime,
50 end: timestamps.testEndTime,
53 start: timestamps.mediaSourceOpenStartTime,
54 end: timestamps.mediaSourceOpenEndTime,
59 for (var i = 0; i < timestamps.appenders.length; ++i) {
60 var appender = timestamps.appenders[i];
74 bars.push({label: 'Post Append Delay', start: maxAppendEndTime, end: timestamps.testEndTime, color: '#B0B0B0' });
370 var timestamps = {};
371 timestamps
[all...]
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dcounter.js58 set timestamps(arg) {
96 get timestamps() {
99 return this.series_[0].timestamps;
125 * Shifts all the timestamps inside this counter forward by the amount
154 // Note, this assumes that all series have all timestamps.
H A Dcounter_series.js93 get timestamps() {
/external/chromium/chrome/browser/sync/glue/
H A Dautofill_change_processor.cc110 std::vector<base::Time> timestamps; local
114 &timestamps)) {
116 "Failed to get timestamps.");
122 WriteAutofillEntry(AutofillEntry(change->key(), timestamps),
147 std::vector<base::Time> timestamps; local
151 &timestamps)) {
153 "Failed to get timestamps.");
157 WriteAutofillEntry(AutofillEntry(change->key(), timestamps),
321 std::vector<base::Time> timestamps; local
324 timestamps
[all...]
H A Dautofill_model_associator.cc87 std::vector<base::Time> timestamps; local
88 if (MergeTimestamps(autofill, ix->timestamps(), &timestamps)) {
89 AutofillEntry new_entry(ix->key(), timestamps);
332 std::vector<base::Time> timestamps; local
335 timestamps.push_back(base::Time::FromInternalValue(
340 bundle->new_entries.push_back(AutofillEntry(key, timestamps));
476 const std::vector<base::Time>& timestamps,
479 std::set<base::Time> timestamp_union(timestamps.begin(),
480 timestamps
474 MergeTimestamps( const sync_pb::AutofillSpecifics& autofill, const std::vector<base::Time>& timestamps, std::vector<base::Time>* new_timestamps) argument
[all...]
/external/chromium_org/chrome/browser/ui/toolbar/
H A Drecent_tabs_builder_test_helper.cc103 std::vector<base::Time> timestamps; local
106 timestamps.push_back(GetTabTimestamp(session_index, w, t));
109 if (timestamps.empty())
112 sort(timestamps.begin(), timestamps.end());
113 return timestamps[0];
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DHeapSnapshotView.js1035 profileSamples.timestamps[currentIndex] = timestamp;
1036 if (profileSamples.totalTime < timestamp - profileSamples.timestamps[0])
1086 'timestamps': [],
1544 var timestamps = this._profileSamples.timestamps;
1547 this._windowRight = totalTime && timestamps.length ? (timestamps[timestamps.length - 1] - timestamps[0]) / totalTime : 1.0;
1579 var timestamps
[all...]
/external/chromium-trace/trace-viewer/src/tracing/analysis/
H A Danalyze_counters.js23 table, 'Timestamp', ctr.timestamps[sampleIndex]);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DResourceExtractor.java202 String[] timestamps = mOutputDir.list(new FilenameFilter() {
209 if (timestamps.length != 1) {
211 // If there's multiple timestamps, something's gone wrong so nuke.
215 if (!expectedTimestamp.equals(timestamps[0])) {
/external/chromium/chrome/browser/sync/
H A Dprofile_sync_service_autofill_unittest.cc104 std::vector<base::Time>* timestamps));
389 std::vector<base::Time> timestamps; local
392 timestamps.push_back(Time::FromInternalValue(
395 entries->push_back(AutofillEntry(key, timestamps));
443 std::vector<Time> timestamps; local
445 timestamps.push_back(Time::FromTimeT(timestamp0));
447 timestamps.push_back(Time::FromTimeT(timestamp1));
449 AutofillKey(ASCIIToUTF16(name), ASCIIToUTF16(value)), timestamps);
548 const std::vector<base::Time>& ts(entry_.timestamps());
873 std::vector<base::Time> timestamps(added_entr
[all...]
/external/chromium-trace/trace-viewer/src/tracing/
H A Dselection.js60 if (!this.track.timestamps)
62 range.addValue(this.track.timestamps[this.sampleIndex]);
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_autofill_unittest.cc127 std::vector<base::Time>* timestamps));
685 std::vector<base::Time> timestamps; local
688 timestamps.push_back(Time::FromInternalValue(
691 entries->push_back(AutofillEntry(key, timestamps));
745 std::vector<Time> timestamps; local
747 timestamps.push_back(base_time + TimeDelta::FromSeconds(time_shift0));
749 timestamps.push_back(base_time + TimeDelta::FromSeconds(time_shift1));
751 AutofillKey(ASCIIToUTF16(name), ASCIIToUTF16(value)), timestamps);
852 const std::vector<base::Time>& ts(entry_.timestamps());
1237 std::vector<base::Time> timestamps(added_entr
[all...]

Completed in 867 milliseconds

12