Home
last modified time | relevance | path

Searched refs:timestamps (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/native/libs/ui/
DFrameStats.cpp39 nsecs_t* timestamps = reinterpret_cast<nsecs_t*>(buffer); in flatten() local
43 memcpy(timestamps, &refreshPeriodNano, timestampSize); in flatten()
44 timestamps += 1; in flatten()
46 memcpy(timestamps, desiredPresentTimesNano.array(), frameCount * timestampSize); in flatten()
47 timestamps += frameCount; in flatten()
49 memcpy(timestamps, actualPresentTimesNano.array(), frameCount * timestampSize); in flatten()
50 timestamps += frameCount; in flatten()
52 memcpy(timestamps, frameReadyTimesNano.array(), frameCount * timestampSize); in flatten()
64 nsecs_t const* timestamps = reinterpret_cast<nsecs_t const*>(buffer); in unflatten() local
67 memcpy(&refreshPeriodNano, timestamps, timestampSize); in unflatten()
[all …]
/frameworks/base/services/core/java/com/android/server/
DBootReceiver.java296 HashMap<String, Long> timestamps = readTimestamps(); in logBootEvents() local
304 addLastkToDropBox(db, timestamps, headers, lastKmsgFooter, in logBootEvents()
306 addLastkToDropBox(db, timestamps, headers, lastKmsgFooter, in logBootEvents()
308 addLastkToDropBox(db, timestamps, headers, lastKmsgFooter, in logBootEvents()
310 addFileToDropBox(db, timestamps, headers, "/cache/recovery/log", -LOG_SIZE, in logBootEvents()
312 addFileToDropBox(db, timestamps, headers, "/cache/recovery/last_kmsg", in logBootEvents()
314 addAuditErrorsToDropBox(db, timestamps, headers, -LOG_SIZE, "SYSTEM_AUDIT"); in logBootEvents()
322 addFsckErrorsToDropBoxAndLogFsStat(db, timestamps, headers, -LOG_SIZE, "SYSTEM_FSCK"); in logBootEvents()
324 writeTimestamps(timestamps); in logBootEvents()
366 HashMap<String, Long> timestamps = readTimestamps(); in addTombstoneToDropBox()
[all …]
/frameworks/av/camera/
DICameraClient.cpp97 const std::vector<nsecs_t>& timestamps, in recordingFrameHandleCallbackTimestampBatch() argument
102 uint32_t n = timestamps.size(); in recordingFrameHandleCallbackTimestampBatch()
105 __FUNCTION__, timestamps.size(), handles.size()); in recordingFrameHandleCallbackTimestampBatch()
109 for (auto ts : timestamps) { in recordingFrameHandleCallbackTimestampBatch()
194 std::vector<nsecs_t> timestamps; in onTransact() local
196 timestamps.reserve(n); in onTransact()
206 timestamps.push_back(t); in onTransact()
219 recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in onTransact()
DCamera.cpp352 const std::vector<nsecs_t>& timestamps, in recordingFrameHandleCallbackTimestampBatch() argument
362 listener->postRecordingFrameHandleTimestampBatch(timestamps, handles); in recordingFrameHandleCallbackTimestampBatch()
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/
DTestTransition.kt224 test.timestamps.forEach { tsAssertion -> in ComposeContentTestRule()
249 val timestamps = mutableListOf<TimestampAssertion>() in transitionTest() constant
256 check(timestamps.isEmpty()) { "before {} must be called before at(...) {}" } in transitionTest()
273 timestamps.add(TimestampAssertion(delta, builder)) in transitionTest()
285 timestamps = impl.timestamps, in transitionTest()
293 val timestamps: List<TimestampAssertion>, constant in com.android.compose.animation.scene.TransitionTest
/frameworks/av/media/libnblog/
DMerger.cpp92 std::priority_queue<MergeItem, std::vector<MergeItem>, std::greater<MergeItem>> timestamps; in merge() local
100 timestamps.emplace(abstractEntry->timestamp(), i); in merge()
104 while (!timestamps.empty()) { in merge()
105 int index = timestamps.top().index; // find minimum timestamp in merge()
110 timestamps.pop(); in merge()
113 timestamps.emplace(ts, index); in merge()
/frameworks/base/core/java/android/gesture/
DGestureStroke.java41 private final long[] timestamps; field in GestureStroke
78 timestamps = times; in GestureStroke()
91 timestamps = times.clone(); in GestureStroke()
96 return new GestureStroke(boundingBox, length, points, timestamps); in clone()
202 final long[] times = timestamps; in serialize()
/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp272 (timestamps.has_value() ? timestamps->getFlattenedSize() : 0); in getFlattenedSize()
277 (timestamps.has_value() ? timestamps->getFdCount() : 0); in getFdCount()
293 const int32_t hasTimestamps = timestamps.has_value() ? 1 : 0; in flatten()
295 if (timestamps.has_value()) { in flatten()
296 status = timestamps->flatten(buffer, size, fds, count); in flatten()
319 timestamps.emplace(); in unflatten()
320 status = timestamps->unflatten(buffer, size, fds, count); in unflatten()
/frameworks/native/opengl/specs/
DEGL_ANDROID_get_frame_timestamps.txt45 This extension allows querying various timestamps related to the composition
77 const EGLint *timestamps, EGLnsecsANDROID *values);
120 be used to correlate a particular eglSwapBuffers with its timestamps in
130 allows querying anticipated timestamps and durations related to the
151 const EGLint *timestamps, EGLnsecsANDROID *values);
153 allows querying various timestamps related to the composition and display
173 The eglGetFrameTimestampsANDROID function takes an array of timestamps to
174 query and returns timestamps in the corresponding indices of the values
175 array. The possible timestamps that can be queried are:
/frameworks/native/cmds/evemu-record/
DREADME.md40 By default, event timestamps are recorded relative to the time of the first event received during
41 the recording. Passing `--timestamp-base=boot` causes the timestamps to be recorded relative to the
43 for matching recorded events with other logs that use such timestamps, such as `dmesg` or the
/frameworks/av/camera/include/camera/
DCamera.h48 const std::vector<nsecs_t>& timestamps,
177 const std::vector<nsecs_t>& timestamps,
/frameworks/av/media/libaaudio/tests/
Dtest_timestamps.cpp50 TimestampInfo timestamps[MAX_TIMESTAMPS]; member
129 TimestampInfo *timestamp = &timestampData->timestamps[timestampData->timestampCount]; in timestampDataCallbackProc()
286 TimestampInfo *timestamp = &sTimestampData.timestamps[i]; in testTimeStamps()
/frameworks/av/camera/include/camera/android/hardware/
DICameraClient.h49 const std::vector<nsecs_t>& timestamps,
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/wakeups/
DCpuWakeupStatsTest.java89 final Set<Long> timestamps = new HashSet<>(); in removesOldWakeups() local
94 timestamps.add(firstWakeup); in removesOldWakeups()
97 if (timestamps.add(firstWakeup + delta)) { in removesOldWakeups()
101 assertThat(obj.mWakeupEvents.size()).isEqualTo(timestamps.size()); in removesOldWakeups()
104 assertThat(obj.mWakeupEvents.size()).isEqualTo(timestamps.size()); in removesOldWakeups()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java1752 long[] timestamps = getBase(CaptureResult.STATISTICS_OIS_TIMESTAMPS); in getOisSamples() local
1756 if (timestamps == null) { in getOisSamples()
1776 if (xShifts.length != timestamps.length) { in getOisSamples()
1778 "timestamps has %d entries but xShifts has %d", timestamps.length, in getOisSamples()
1782 if (yShifts.length != timestamps.length) { in getOisSamples()
1784 "timestamps has %d entries but yShifts has %d", timestamps.length, in getOisSamples()
1788 OisSample[] samples = new OisSample[timestamps.length]; in getOisSamples()
1789 for (int i = 0; i < timestamps.length; i++) { in getOisSamples()
1790 samples[i] = new OisSample(timestamps[i], xShifts[i], yShifts[i]); in getOisSamples()
1819 long[] timestamps = getBase(CaptureResult.STATISTICS_LENS_INTRINSIC_TIMESTAMPS); in getLensIntrinsicSamples() local
[all …]
/frameworks/av/camera/tests/fuzzer/
Dcamera_fuzzer.cpp333 std::vector<nsecs_t> timestamps; in invokeCamera() local
337 timestamps.push_back(mFDP->ConsumeIntegral<int64_t>()); in invokeCamera()
339 mCamera->recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in invokeCamera()
/frameworks/base/services/core/java/com/android/server/am/
DAppStartInfoTracker.java1222 Map<Integer, Long> timestamps = startInfo.getStartupTimestamps(); in isAddTimestampAllowed() local
1230 Long firstFrameTimeNs = timestamps in isAddTimestampAllowed()
1253 if (timestamps.get(key) != null) { in isAddTimestampAllowed()
1272 Map<Integer, Long> timestamps = startInfo.getStartupTimestamps(); in dumpLocked() local
1275 if (timestamps.containsKey(ApplicationStartInfo.START_TIMESTAMP_LAUNCH) in dumpLocked()
1276 && timestamps.containsKey( in dumpLocked()
1279 long time = timestamps.get(ApplicationStartInfo.START_TIMESTAMP_FIRST_FRAME) in dumpLocked()
1280 - timestamps.get(ApplicationStartInfo.START_TIMESTAMP_LAUNCH); in dumpLocked()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
Dtimestats.proto68 // There are multiple timestamps tracked in SurfaceFlinger, and these are the
69 // histograms of deltas between different combinations of those timestamps.
/frameworks/native/services/surfaceflinger/tests/
DLayerTransaction_test.cpp101 FrameEventHistoryDelta timestamps; in TEST_F() local
105 &age, &timestamps); in TEST_F()
/frameworks/base/data/keyboards/
DVendor_03f6_Product_a001.idc20 # batching, leading to bad timestamps that mess up finger velocity calculations.
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperManagerServiceTests.java452 final long[] timestamps = new long[2]; in testWallpaperManagerCallbackInRightOrder() local
453 doAnswer(invocation -> timestamps[0] = SystemClock.elapsedRealtime()) in testWallpaperManagerCallbackInRightOrder()
455 doAnswer(invocation -> timestamps[1] = SystemClock.elapsedRealtime()) in testWallpaperManagerCallbackInRightOrder()
469 assertTrue(timestamps[1] > timestamps[0]); in testWallpaperManagerCallbackInRightOrder()
/frameworks/base/core/java/android/app/
Dactivity_manager.aconfig47 description: "Additional timestamps."
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp415 static status_t writeWinscopeMetadataLegacy(const Vector<int64_t>& timestamps, in writeWinscopeMetadataLegacy() argument
422 sp<ABuffer> buffer = new ABuffer(timestamps.size() * sizeof(int64_t) in writeWinscopeMetadataLegacy()
427 writeValueLE<uint32_t>(timestamps.size(), pos); in writeWinscopeMetadataLegacy()
429 for (size_t idx = 0; idx < timestamps.size(); ++idx) { in writeWinscopeMetadataLegacy()
430 writeValueLE<uint64_t>(static_cast<uint64_t>(timestamps[idx] in writeWinscopeMetadataLegacy()
437 timestamps[0] /* presentationTimeUs */, in writeWinscopeMetadataLegacy()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java466 ArgumentCaptor<Long> timestamps = ArgumentCaptor.forClass(Long.class); in testCaptureStartedCallbacks() local
478 timestamps.capture()); in testCaptureStartedCallbacks()
481 for (Long nextTimestamp : timestamps.getAllValues()) { in testCaptureStartedCallbacks()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h288 Timestamp timestamps[MAX_TIMESTAMPS]; member
382 Timestamp *timestamp = &sineData->timestamps[sineData->timestampCount]; in SimplePlayerDataCallbackProc()

123