/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 | 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) {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
SimpleCaptureStream.java | 36 public Surface bind(BufferQueue<Long> timestamps) throws InterruptedException { 39 timestamps.close();
|
TimestampResponseListener.java | 30 * A {@link ResponseListener} which provides a stream of timestamps. 37 public TimestampResponseListener(Updatable<Long> timestamps) { 38 mTimestamps = 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...] |
/frameworks/base/core/java/com/android/server/ |
BootReceiver.java | 144 HashMap<String, Long> timestamps = readTimestamps(); local 158 addFileWithFootersToDropBox(db, timestamps, headers, lastKmsgFooter, 160 addFileWithFootersToDropBox(db, timestamps, headers, lastKmsgFooter, 162 addFileToDropBox(db, timestamps, headers, "/cache/recovery/log", -LOG_SIZE, 164 addFileToDropBox(db, timestamps, headers, "/cache/recovery/last_kmsg", 166 addAuditErrorsToDropBox(db, timestamps, headers, -LOG_SIZE, "SYSTEM_AUDIT"); 167 addFsckErrorsToDropBox(db, timestamps, headers, -LOG_SIZE, "SYSTEM_FSCK"); 176 addFileToDropBox(db, timestamps, headers, tombstoneFiles[i].getPath(), 181 writeTimestamps(timestamps); 188 HashMap<String, Long> timestamps = readTimestamps() 294 HashMap<String, Long> timestamps = new HashMap<String, Long>(); local [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
CaptureStream.java | 29 * called for each Request with a queue which will contain the timestamps of 34 * timestamps. 39 * of image timestamps as well as the images added to the {@link Surface}, and 49 * @param timestamps A stream of monotonically-increasing timestamps of 51 * will be bound Images with timestamps not present in the queue 60 public Surface bind(BufferQueue<Long> timestamps)
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
counter.py | 30 return self._counter.timestamps[self._sample_index] 34 self._counter.timestamps[self._sample_index] = start 65 self.timestamps = [] 75 if not event_type_predicate(CounterSample) or not self.timestamps: 81 for i in xrange(len(self.timestamps)): 92 return len(self.timestamps) 97 '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] 55 self.counter.timestamps = [111, 222]
|
/external/autotest/client/cros/video/ |
video_screenshot_collector.py | 55 def collect_multiple_screenshots(self, timestamps): 59 @param timestamps: time_delta list, time values to collect 68 return [self.collect_screenshot(t) for t in timestamps
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
ImageStreamImpl.java | 54 public Surface bind(BufferQueue<Long> timestamps) throws InterruptedException, 56 mLifetime.add(timestamps); 57 mImageDistributor.addRoute(timestamps, mImageStreamController);
|
AllocatingImageStream.java | 77 public Surface bind(BufferQueue<Long> timestamps) throws InterruptedException, 80 return super.bind(timestamps);
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
ts_parser.cpp | 142 ptemp->input_timestamps[i].timestamps = -1; 188 table_entry = &pcurrent->input_timestamps[i].timestamps; 228 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) { 276 if (element->timestamps > phead->input_timestamps[i].timestamps) { 279 } else if (element->timestamps == phead->input_timestamps[i].timestamps) 287 header->nTimeStamp = element->timestamps; 305 else if (element->timestamps > phead->input_timestamps[i].timestamps) [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
ts_parser.cpp | 142 ptemp->input_timestamps[i].timestamps = -1; 188 table_entry = &pcurrent->input_timestamps[i].timestamps; 228 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) { 276 if (element->timestamps > phead->input_timestamps[i].timestamps) { 279 } else if (element->timestamps == phead->input_timestamps[i].timestamps) 287 header->nTimeStamp = element->timestamps; 305 else if (element->timestamps > phead->input_timestamps[i].timestamps) [all...] |
/hardware/qcom/media/msm8974/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-trace/catapult/telemetry/telemetry/internal/image_processing/ |
fake_frame_generator.py | 16 _timestamps: A generator of timestamps to return, or None. 22 timestamps=(x for x in iter(int, 1))): 28 timestamps: generator, A generator of timestamps to return. The default 33 self._timestamps = timestamps
|
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
statistics.py | 128 def TimestampsDiscrepancy(timestamps, absolute=True, 133 of timestamps. Note that this is different from metrics based on the 156 |timestamps| may be a list of lists S = [S_1, S_2, ..., S_N], where each 160 if not timestamps: 163 if isinstance(timestamps[0], list): 164 range_discrepancies = [TimestampsDiscrepancy(r) for r in timestamps] 167 samples, sample_scale = NormalizeSamples(timestamps) 189 Because timestamp discrepancy is defined in terms of timestamps, we first 190 convert the list of durations to monotonically increasing timestamps. 200 timestamps = reduce(lambda x, y: x + [x[-1] + y], durations, [0] [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)
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/ |
ts_parser.h | 62 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 78 timestamps = times; 91 timestamps = times.clone(); 96 return new GestureStroke(boundingBox, length, points, timestamps); 202 final long[] times = timestamps;
|