HomeSort by relevance Sort by last modified time
    Searched refs:timestamps (Results 1 - 25 of 69) 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...]
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
EventGapVerificationTest.java 34 // Timestamps in ns, expected in us
42 // Timestamps in ns, expected in us
43 long[] timestamps = {1000000, 2000000, 3000000, 4000000, 5000000}; local
44 runVerification(1000, timestamps, true, new int[]{});
51 // Timestamps in ns, expected in us
52 long[] timestamps = {1100000, 2050000, 2990000, 4000000, 4950000}; local
53 runVerification(1000, timestamps, true, new int[]{});
60 // Timestamps in ns, expected in us
61 long[] timestamps = {1000000, 2000000, 3000000, 5000000, 6000000}; local
62 runVerification(1000, timestamps, false, new int[]{3})
    [all...]
JitterVerificationTest.java 45 long[] timestamps = new long[SAMPLE_SIZE]; local
47 timestamps[i] = i * 100000;
50 ISensorVerification verification = getVerification(1, timestamps);
57 timestamps[i] = timestamp;
61 verification = getVerification(1, timestamps);
72 long[] timestamps = new long[]{0, 1, 2, 3, 4}; local
73 JitterVerification verification = getVerification(1, timestamps);
81 timestamps = new long[]{0, 0, 2, 4, 4};
82 verification = getVerification(1, timestamps);
90 timestamps = new long[]{0, 1, 4, 9, 16}
    [all...]
FrequencyVerificationTest.java 34 long[] timestamps = {0, 1000000, 2000000, 3000000, 4000000}; // 1000Hz local
37 ISensorVerification verification = getVerification(999.0, 1001.0, timestamps);
42 verification = getVerification(850.0, 1050.0, timestamps);
47 verification = getVerification(950.0, 1150.0, timestamps);
52 verification = getVerification(850.0, 975.0, timestamps);
62 verification = getVerification(1025.0, 1150.0, timestamps);
79 long ... timestamps) {
82 for (long timestamp : timestamps) {
EventOrderingVerificationTest.java 43 * Test that the verification passes when the timestamps are the same.
53 * Test that the verification passes when the timestamps are increasing.
99 private EventOrderingVerification getVerification(long ... timestamps) {
101 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/third_party/WebKit/Source/devtools/front_end/sdk/
CPUProfileModel.js 14 this.timestamps = profile.timestamps;
81 var timestamps = this.timestamps;
82 if (!timestamps) {
83 // Support loading old CPU profiles that are missing timestamps.
84 // Derive timestamps from profile start and stop times.
87 timestamps = new Float64Array(this.samples.length + 1);
88 for (var i = 0; i < timestamps.length; ++i)
89 timestamps[i] = profileStartTime + i * interval
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/timeline/
counter.py 21 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.')
  /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/
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));
183 std::vector<std::string> timestamps; local
184 base::SplitString(expected, ' ', &timestamps);
    [all...]
source_buffer_stream_unittest.cc 256 std::vector<std::string> timestamps; local
257 base::SplitString(expected, ' ', &timestamps);
261 for (size_t i = 0; i < timestamps.size(); i++) {
281 if (timestamps[i] == "C")
295 if (EndsWith(timestamps[i], "P", true)) {
420 // coded strings of timestamps separated by spaces. Supported syntax:
430 // preceding timestamps a# ... y# will be treated as the fade out preroll for
435 std::vector<std::string> timestamps; local
436 base::SplitString(buffers_to_append, ' ', &timestamps);
438 CHECK_GT(timestamps.size(), 0u)
    [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/profiler/
HeapSnapshotView.js     [all...]
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
SurfaceViewPreviewTest.java 268 ArgumentCaptor<Long> timestamps = ArgumentCaptor.forClass(Long.class); local
275 timestamps.capture(),
278 // Validate timestamps: all timestamps should be larger than 0 and monotonically increase.
280 for (Long nextTimestamp : timestamps.getAllValues()) {
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
ResourceExtractor.java 211 String[] timestamps = outputDir.list(new FilenameFilter() { local
218 if (timestamps.length != 1) {
220 // If there's multiple timestamps, something's gone wrong so nuke.
224 if (!expectedTimestamp.equals(timestamps[0])) {
  /external/chromium_org/chrome/browser/webdata/
autocomplete_syncable_service.cc 33 // Merges timestamps from the |sync_timestamps| and the |local_entry|.
35 // timestamps were different, fills |date_created| and |date_last_used| with the
36 // merged timestamps. The |sync_timestamps| vector is assumed to be sorted.
336 const google::protobuf::RepeatedField<int64_t>& timestamps = local
341 if (timestamps.size() > 0) {
342 date_created = base::Time::FromInternalValue(*timestamps.begin());
343 date_last_used = base::Time::FromInternalValue(*timestamps.rbegin());
349 bool different = MergeTimestamps(timestamps, *it->second.second,
355 // Update the sync db since the timestamps have changed.
  /cts/tests/tests/media/src/android/media/cts/
DecoderTest.java 148 List<Long> timestamps = new ArrayList<Long>(); local
149 decodeToMemory(res, RESET_MODE_NONE, CONFIG_MODE_NONE, -1, timestamps);
151 for (int i = 0; i < timestamps.size(); i++) {
152 Long thisTime = timestamps.get(i);
217 assertTrue("extractor timestamps were ordered, wrong test file?", inputoutoforder);
552 int eossample, List<Long> timestamps) throws IOException {
669 if (timestamps != null) {
670 timestamps.add(info.presentationTimeUs);
693 if (timestamps != null) {
694 timestamps.clear()
1226 ArrayList<Long> timestamps = new ArrayList<Long>(); local
    [all...]

Completed in 583 milliseconds

1 2 3