HomeSort by relevance Sort by last modified time
    Searched refs:timestamps (Results 1 - 25 of 74) sorted by null

1 2 3

  /frameworks/native/libs/ui/
FrameStats.cpp 39 nsecs_t* timestamps = reinterpret_cast<nsecs_t*>(buffer); local
43 memcpy(timestamps, &refreshPeriodNano, timestampSize);
44 timestamps += 1;
46 memcpy(timestamps, desiredPresentTimesNano.array(), frameCount * timestampSize);
47 timestamps += frameCount;
49 memcpy(timestamps, actualPresentTimesNano.array(), frameCount * timestampSize);
50 timestamps += frameCount;
52 memcpy(timestamps, frameReadyTimesNano.array(), frameCount * timestampSize);
64 nsecs_t const* timestamps = reinterpret_cast<nsecs_t const*>(buffer); local
67 memcpy(&refreshPeriodNano, timestamps, timestampSize)
    [all...]
  /external/chromium_org/media/formats/mp2t/
timestamp_unroller_unittest.cc 17 const std::vector<int64>& timestamps) {
20 std::vector<int64> truncated_timestamps(timestamps.size());
21 for (size_t k = 0; k < timestamps.size(); k++)
22 truncated_timestamps[k] = timestamps[k] & truncate_mask;
26 static void RunUnrollTest(const std::vector<int64>& timestamps) {
27 std::vector<int64> truncated_timestamps = TruncateTimestamps(timestamps);
30 for (size_t k = 0; k < timestamps.size(); k++) {
33 EXPECT_EQ(timestamps[k], unrolled_timestamp);
38 // Array of 64 bit timestamps.
39 // This is the expected result from unrolling these timestamps
41 int64 timestamps[] = { local
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
EventGapVerificationTest.java 37 // Timestamps in ns, expected in us
45 // Timestamps in ns, expected in us
46 long[] timestamps = {1000000, 2000000, 3000000, 4000000, 5000000}; local
47 runVerification(1000, timestamps, true, new int[]{});
54 // Timestamps in ns, expected in us
55 long[] timestamps = {1100000, 2050000, 2990000, 4000000, 4950000}; local
56 runVerification(1000, timestamps, true, new int[]{});
63 // Timestamps in ns, expected in us
64 long[] timestamps = {1000000, 2000000, 3000000, 5000000, 6000000}; local
65 runVerification(1000, timestamps, false, new int[]{3})
    [all...]
JitterVerificationTest.java 47 long[] timestamps = new long[SAMPLE_SIZE]; local
49 timestamps[i] = i * 100000;
52 ISensorVerification verification = getVerification(1, timestamps);
59 timestamps[i] = timestamp;
63 verification = getVerification(1, timestamps);
74 long[] timestamps = new long[]{0, 1, 2, 3, 4}; local
75 JitterVerification verification = getVerification(1, timestamps);
83 timestamps = new long[]{0, 0, 2, 4, 4};
84 verification = getVerification(1, timestamps);
92 timestamps = new long[]{0, 1, 4, 9, 16}
    [all...]
FrequencyVerificationTest.java 37 long[] timestamps = {0, 1000000, 2000000, 3000000, 4000000}; // 1000Hz local
40 ISensorVerification verification = getVerification(999.0, 1001.0, timestamps);
45 verification = getVerification(850.0, 1050.0, timestamps);
50 verification = getVerification(950.0, 1150.0, timestamps);
55 verification = getVerification(850.0, 975.0, timestamps);
65 verification = getVerification(1025.0, 1150.0, timestamps);
82 long ... timestamps) {
83 Collection<TestSensorEvent> events = new ArrayList<>(timestamps.length);
84 for (long timestamp : timestamps) {
EventOrderingVerificationTest.java 44 * Test that the verification passes when the timestamps are the same.
54 * Test that the verification passes when the timestamps are increasing.
100 private static EventOrderingVerification getVerification(long ... timestamps) {
101 Collection<TestSensorEvent> events = new ArrayList<>(timestamps.length);
102 for (long timestamp : timestamps) {
  /external/chromium_org/build/android/pylib/perf/
surface_stats_collector_unittest.py 29 timestamps = self._CreateUniformTimestamps(0, 10, self.refresh_period)
32 self.refresh_period, timestamps, ''))
38 self.assertEquals(len(results['frame_lengths'].value), len(timestamps) - 1)
41 timestamps = self._CreateUniformTimestamps(0, 10, self.refresh_period / 100)
44 [self.refresh_period, timestamps, ''])
47 timestamps = self._CreateUniformTimestamps(0, 5, self.refresh_period)
48 # The following timestamps should be skipped.
49 timestamps += self._CreateUniformTimestamps(timestamps[4],
52 timestamps += self._CreateUniformTimestamps(timestamps[4]
    [all...]
surface_stats_collector.py 14 # Log marker containing SurfaceTexture timestamps.
15 _SURFACE_TEXTURE_TIMESTAMPS_MESSAGE = 'SurfaceTexture update timestamps'
98 def _CalculateResults(refresh_period, timestamps, result_suffix):
100 frame_count = len(timestamps)
101 seconds = timestamps[-1] - timestamps[0]
105 timestamps, refresh_period, _MIN_NORMALIZED_FRAME_LENGTH)
134 def _CalculateBuckets(refresh_period, timestamps):
137 sliced = timestamps[min(int(-pct * len(timestamps)), -3) :
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/timeline/
counter.py 22 return self._counter.timestamps[self._sample_index]
26 self._counter.timestamps[self._sample_index] = start
57 self.timestamps = []
67 if not event_type_predicate(CounterSample) or not self.timestamps:
73 for i in xrange(len(self.timestamps)):
84 return len(self.timestamps)
89 'Length of samples must be a multiple of length of timestamps.')
counter_unittest.py 31 self.counter.timestamps = [111, 222]
37 self.counter.timestamps = [111, 222]
43 self.counter.timestamps = [111, 222]
51 self.counter.timestamps = [111, 222]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
CPUProfileDataModel.js 14 this.timestamps = profile.timestamps;
90 var timestamps = this.timestamps;
91 if (!timestamps) {
92 // Support loading old CPU profiles that are missing timestamps.
93 // Derive timestamps from profile start and stop times.
96 timestamps = new Float64Array(this.samples.length + 1);
97 for (var i = 0; i < timestamps.length; ++i)
98 timestamps[i] = profileStartTime + i * interval
    [all...]
  /hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
ts_parser.cpp 138 ptemp->input_timestamps[i].timestamps = -1;
183 table_entry = &pcurrent->input_timestamps[i].timestamps;
222 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) {
268 if (element->timestamps > phead->input_timestamps[i].timestamps) {
271 } else if (element->timestamps == phead->input_timestamps[i].timestamps)
279 header->nTimeStamp = element->timestamps;
297 else if (element->timestamps > phead->input_timestamps[i].timestamps)
    [all...]
  /hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
ts_parser.cpp 122 ptemp->input_timestamps[i].timestamps = -1;
158 table_entry = &pcurrent->input_timestamps[i].timestamps;
189 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) {
227 if (element->timestamps > phead->input_timestamps[i].timestamps){
230 } else if(element->timestamps == phead->input_timestamps[i].timestamps)
237 header->nTimeStamp = element->timestamps;
253 if (duplicate->timestamps > phead->input_timestamps[i].timestamps)
    [all...]
  /external/strace/
strace-log-merge 12 option which prints timestamps (otherwise sorting won't do any good).
  /external/chromium_org/tools/perf/page_sets/mse_cases/
startup_test.js 46 function plotTimestamps(timestamps, graphDuration, element) {
47 if (!timestamps)
62 start: timestamps.testStartTime,
63 end: timestamps.testEndTime,
66 start: timestamps.mediaSourceOpenStartTime,
67 end: timestamps.mediaSourceOpenEndTime,
72 for (var i = 0; i < timestamps.appenders.length; ++i) {
73 var appender = timestamps.appenders[i];
90 end: timestamps.testEndTime,
393 var timestamps = {}
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/util/
statistics.py 113 def TimestampsDiscrepancy(timestamps, absolute=True,
118 of timestamps. Note that this is different from metrics based on the
141 |timestamps| may be a list of lists S = [S_1, S_2, ..., S_N], where each
145 if not timestamps:
148 if isinstance(timestamps[0], list):
149 range_discrepancies = [TimestampsDiscrepancy(r) for r in timestamps]
152 samples, sample_scale = NormalizeSamples(timestamps)
174 Because timestamp discrepancy is defined in terms of timestamps, we first
175 convert the list of durations to monotonically increasing timestamps.
185 timestamps = reduce(lambda x, y: x + [x[-1] + y], durations, [0]
    [all...]
  /hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
ts_parser.h 62 OMX_TICKS timestamps; member in struct:omx_time_stamp_reorder::timestamp
  /hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
ts_parser.h 63 OMX_TICKS timestamps; member in struct:omx_time_stamp_reorder::timestamp
  /frameworks/base/core/java/android/gesture/
GestureStroke.java 41 private final long[] timestamps; field in class:GestureStroke
79 timestamps = times;
92 timestamps = times.clone();
97 return new GestureStroke(boundingBox, length, points, timestamps);
203 final long[] times = timestamps;
  /external/chromium_org/media/filters/
source_buffer_stream_unittest.cc 254 std::vector<std::string> timestamps; local
255 base::SplitString(expected, ' ', &timestamps);
259 for (size_t i = 0; i < timestamps.size(); i++) {
279 EXPECT_EQ("C", timestamps[i]);
297 if (EndsWith(timestamps[i], "P", true)) {
433 // coded strings of timestamps separated by spaces. Supported syntax:
459 // preceding timestamps a# ... y# will be treated as the fade out preroll for
464 std::vector<std::string> timestamps; local
465 base::SplitString(buffers_to_append, ' ', &timestamps);
467 CHECK_GT(timestamps.size(), 0u)
    [all...]
frame_processor_unittest.cc 102 std::vector<std::string> timestamps; local
103 base::SplitString(buffers_to_append, ' ', &timestamps);
106 for (size_t i = 0; i < timestamps.size(); i++) {
108 if (EndsWith(timestamps[i], "K", true)) {
111 timestamps[i] = timestamps[i].substr(0, timestamps[i].length() - 1);
115 CHECK(base::StringToDouble(timestamps[i], &time_in_ms));
182 std::vector<std::string> timestamps; local
183 base::SplitString(expected, ' ', &timestamps);
    [all...]
  /external/chromium_org/chrome/browser/ui/toolbar/
recent_tabs_builder_test_helper.cc 106 std::vector<base::Time> timestamps; local
109 timestamps.push_back(GetTabTimestamp(session_index, w, t));
112 if (timestamps.empty())
115 sort(timestamps.begin(), timestamps.end());
116 return timestamps[0];
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
TimelineJSProfile.js 108 var timestamps = jsProfileModel.timestamps;
123 WebInspector.TracingModel.Phase.Instant, timestamps[i], mainThread);
  /external/chromium_org/third_party/cython/src/Cython/Compiler/
CmdLine.py 21 -t, --timestamps Only compile newer source files
100 elif option in ("-t", "--timestamps"):
101 options.timestamps = 1
103 options.timestamps = 0
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
HeapSnapshotView.js     [all...]

Completed in 1345 milliseconds

1 2 3