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

1 2 3 4

  /cts/tests/sensor/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, true, new int[]{3})
    [all...]
JitterVerificationTest.java 46 long[] timestamps = new long[SAMPLE_SIZE]; local
48 timestamps[i] = i * 100000;
51 ISensorVerification verification = getVerification(1, timestamps);
58 timestamps[i] = timestamp;
62 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) {
TimestampClockSourceVerificationTest.java 73 long[] timestamps = {ts-4000000, ts-3000000, ts-2000000, ts-1000000, ts}; local
74 // Timestamps in ns, expected in us
75 runVerification(MIN_DELTA_BETWEEN_CLOCKS_MS*1000, timestamps, true, new int[]{});
88 long[] timestamps = {ts-4000000, ts-3000000, ts-2000000, ts-1000000, ts}; local
89 // Timestamps in ns, expected in us
90 runVerification(MIN_DELTA_BETWEEN_CLOCKS_MS*1000, timestamps, false, new int[]{0,1,2,3,4});
102 long[] timestamps = {ts-3900000, ts-2950000, ts-2050000, ts-1000000, ts-50000}; local
103 // Timestamps in ns, expected in us
104 runVerification(MIN_DELTA_BETWEEN_CLOCKS_MS*1000, timestamps, true, new int[]{});
116 long[] timestamps = {ts-3900000, ts-2950000, ts-2050000, ts-1000000, ts-50000} local
130 long[] timestamps = {ts-4000000, ts-3000000, ts-1000000, ts}; local
145 long[] timestamps = {ts-4000000, ts-3000000, ts-1000000, ts}; local
    [all...]
EventOrderingVerificationTest.java 44 * Test that the verification passes when the timestamps are increasing.
90 private static EventOrderingVerification getVerification(long ... timestamps) {
91 Collection<TestSensorEvent> events = new ArrayList<>(timestamps.length);
92 for (long timestamp : timestamps) {
  /external/chromium-trace/catapult/devil/devil/android/perf/
surface_stats_collector.py 9 # Log marker containing SurfaceTexture timestamps.
10 _SURFACE_TEXTURE_TIMESTAMPS_MESSAGE = 'SurfaceTexture update timestamps'
47 (refresh_period, timestamps) = self._GetDataFromThread()
52 return (refresh_period, timestamps)
56 timestamps = []
63 if refresh_period is None or timestamps is None:
76 timestamps += [timestamp for timestamp in new_timestamps
78 if len(timestamps):
79 last_timestamp = timestamps[-1]
83 self._data_queue.put((refresh_period, timestamps))
    [all...]
  /external/perfetto/src/trace_processor/
event_tracker_unittest.cc 56 const auto& timestamps = context.storage->slices().start_ns(); local
60 ASSERT_EQ(timestamps.size(), 1);
66 ASSERT_EQ(timestamps.size(), 2ul);
67 ASSERT_EQ(timestamps[0], timestamp);
84 const auto& timestamps = context.storage->slices().start_ns(); local
88 ASSERT_EQ(timestamps.size(), 1);
100 ASSERT_EQ(timestamps.size(), 4ul);
101 ASSERT_EQ(timestamps[0], timestamp);
126 ASSERT_EQ(context.storage->counter_values().timestamps().at(0), timestamp);
129 ASSERT_EQ(context.storage->counter_values().timestamps().at(1)
    [all...]
trace_storage.cc 119 MaybeUpdateMinMax(counter_values_.timestamps().begin(),
120 counter_values_.timestamps().end(), &start_ns, &end_ns);
121 MaybeUpdateMinMax(instants_.timestamps().begin(),
122 instants_.timestamps().end(), &start_ns, &end_ns);
125 MaybeUpdateMinMax(android_log_.timestamps().begin(),
126 android_log_.timestamps().end(), &start_ns, &end_ns);
android_logs_table.cc 35 .AddNumericColumn("ts", &alog.timestamps())
counter_values_table.cc 36 .AddOrderedNumericColumn("ts", &cs.timestamps())
instants_table.cc 37 .AddOrderedNumericColumn("ts", &instants.timestamps())
  /frameworks/av/camera/
ICameraRecordingProxyListener.cpp 68 const std::vector<nsecs_t>& timestamps,
74 uint32_t n = timestamps.size();
76 ALOGE("%s: size of timestamps(%zu) and handles(%zu) mismatch!",
77 __FUNCTION__, timestamps.size(), handles.size());
81 for (auto ts : timestamps) {
144 std::vector<nsecs_t> timestamps; local
146 timestamps.reserve(n);
156 timestamps.push_back(t);
169 recordingFrameHandleCallbackTimestampBatch(timestamps, handles);
ICameraClient.cpp 97 const std::vector<nsecs_t>& timestamps,
102 uint32_t n = timestamps.size();
104 ALOGE("%s: size of timestamps(%zu) and handles(%zu) mismatch!",
105 __FUNCTION__, timestamps.size(), handles.size());
109 for (auto ts : timestamps) {
190 std::vector<nsecs_t> timestamps; local
192 timestamps.reserve(n);
202 timestamps.push_back(t);
215 recordingFrameHandleCallbackTimestampBatch(timestamps, handles);
  /external/strace/
strace-log-merge 39 option which prints timestamps (otherwise sorting won't do any good).
  /cts/tests/tests/nativemidi/java/android/nativemidi/cts/
NativeMidiEchoTest.java 87 private void generateRandomBufers(byte[][] buffers, long timestamps[], int numMessages) {
93 timestamps[buffIndex] = mRandom.nextLong();
307 long timestamps[] = new long[numMessages]; local
308 generateRandomBufers(buffers, timestamps, numMessages);
312 timestamps[msgIndex]);
326 compareMessages(buffers[msgIndex], timestamps[msgIndex], message);
341 long timestamps[] = new long[numMessages]; local
342 generateRandomBufers(buffers, timestamps, numMessages);
346 timestamps[msgIndex]);
363 compareMessages(buffers[msgIndex], timestamps[msgIndex], message)
442 long timestamps[] = new long[numMessages]; local
    [all...]
  /external/autotest/client/site_tests/hardware_TPMTakeOwnership/
hardware_TPMTakeOwnership.py 78 timestamps = dict()
117 timestamps[i] = self.tpm_obj.takeTpmOwnership()
127 for k, v in timestamps.iteritems():
133 self.perf_dict['num_total_iterations'] = len(timestamps)
  /frameworks/av/camera/include/camera/
ICameraRecordingProxyListener.h 44 const std::vector<nsecs_t>& timestamps,
Camera.h 48 const std::vector<nsecs_t>& timestamps,
177 const std::vector<nsecs_t>& timestamps,
  /frameworks/av/camera/include/camera/android/hardware/
ICameraClient.h 47 // Size of timestamps and handles must match
49 const std::vector<nsecs_t>& timestamps,
  /frameworks/av/media/libnblog/
Merger.cpp 92 std::priority_queue<MergeItem, std::vector<MergeItem>, std::greater<MergeItem>> timestamps; local
100 timestamps.emplace(abstractEntry->timestamp(), i);
104 while (!timestamps.empty()) {
105 int index = timestamps.top().index; // find minimum timestamp
110 timestamps.pop();
113 timestamps.emplace(ts, index);
  /external/toolchain-utils/cros_utils/
logger.py 44 timestamps = []
53 timestamps.append(os.stat(cmd_file).st_mtime)
59 suffix = str(timestamps.index(min(timestamps)))
216 timestamps = []
225 timestamps.append(os.stat(cmd_file).st_mtime)
231 suffix = str(timestamps.index(min(timestamps)))
  /external/deqp/modules/egl/
teglGetFrameTimestampsTests.cpp 80 typedef EGLW_APICALL eglw::EGLBoolean (EGLW_APIENTRY* eglGetFrameTimestampsANDROIDFunc) (eglw::EGLDisplay dpy, eglw::EGLSurface surface, EGLuint64KHR frameId, eglw::EGLint numTimestamps, const eglw::EGLint *timestamps, EGLnsecsANDROID *values);
98 // Careful: This has microsecond precision, which can cause timestamps to
99 // appear non monotonic when compared to the nanosecond precision timestamps
101 // Current test expectations only make sure microsecond precision timestamps
102 // are less than the nanosecond precision timestamps, so this is okay.
130 // Timestamps sampled by the test.
526 TimestampInfoMap timestamps; local
527 timestamps[EGL_REQUESTED_PRESENT_TIME_ANDROID] = TimestampInfo(true, false, 0);
528 timestamps[EGL_RENDERING_COMPLETE_TIME_ANDROID] = TimestampInfo(true, false, 0);
529 timestamps[EGL_COMPOSITION_LATCH_TIME_ANDROID] = TimestampInfo(true, false, 0)
    [all...]
  /external/autotest/site_utils/rpm_control_system/
utils_unittest.py 143 self.assertEqual(len(cache.timestamps), 1)
145 self.assertTrue('host2' in cache.timestamps)
  /external/mesa3d/src/gallium/state_trackers/omx_bellagio/
vid_dec.h 122 OMX_TICKS timestamps[2]; \
  /external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
MutableAggregationTest.java 168 List<Timestamp> timestamps = local
176 mutableDistribution.add(values.get(i), attachmentsList.get(i), timestamps.get(i));
177 mutableDistributionNoHistogram.add(values.get(i), attachmentsList.get(i), timestamps.get(i));
185 Exemplar.create(values.get(2), timestamps.get(2), attachmentsList.get(2)),
186 Exemplar.create(values.get(4), timestamps.get(4), attachmentsList.get(4)),
187 Exemplar.create(values.get(3), timestamps.get(3), attachmentsList.get(3)));

Completed in 578 milliseconds

1 2 3 4