Home
last modified time | relevance | path

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

12

/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.java283 HashMap<String, Long> timestamps = readTimestamps(); in logBootEvents() local
291 addLastkToDropBox(db, timestamps, headers, lastKmsgFooter, in logBootEvents()
293 addLastkToDropBox(db, timestamps, headers, lastKmsgFooter, in logBootEvents()
295 addLastkToDropBox(db, timestamps, headers, lastKmsgFooter, in logBootEvents()
297 addFileToDropBox(db, timestamps, headers, "/cache/recovery/log", -LOG_SIZE, in logBootEvents()
299 addFileToDropBox(db, timestamps, headers, "/cache/recovery/last_kmsg", in logBootEvents()
301 addAuditErrorsToDropBox(db, timestamps, headers, -LOG_SIZE, "SYSTEM_AUDIT"); in logBootEvents()
309 addFsckErrorsToDropBoxAndLogFsStat(db, timestamps, headers, -LOG_SIZE, "SYSTEM_FSCK"); in logBootEvents()
311 writeTimestamps(timestamps); in logBootEvents()
346 HashMap<String, Long> timestamps = readTimestamps(); in addTombstoneToDropBox()
[all …]
/frameworks/base/packages/SystemUI/compose/core/tests/src/com/android/compose/animation/scene/
DTestTransition.kt142 test.timestamps.forEach { tsAssertion -> in ComposeContentTestRule()
167 val timestamps = mutableListOf<TimestampAssertion>() in transitionTest() constant
174 check(timestamps.isEmpty()) { "before {} must be called before at(...) {}" } in transitionTest()
191 timestamps.add(TimestampAssertion(delta, builder)) in transitionTest()
203 timestamps = impl.timestamps, in transitionTest()
211 val timestamps: List<TimestampAssertion>, constant in com.android.compose.animation.scene.TransitionTest
/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/services/tests/servicestests/src/com/android/server/power/stats/
DBatteryUsageStatsStoreTest.java91 final long[] timestamps = mBatteryUsageStatsStore.listBatteryUsageStatsTimestamps(); in testStoreSnapshot() local
92 assertThat(timestamps).hasLength(1); in testStoreSnapshot()
93 assertThat(timestamps[0]).isEqualTo(1_600_000); in testStoreSnapshot()
127 final long[] timestamps = mBatteryUsageStatsStore.listBatteryUsageStatsTimestamps(); in testGarbageCollectOldSnapshots() local
128 Arrays.sort(timestamps); in testGarbageCollectOldSnapshots()
129 assertThat(timestamps).hasLength(numberOfSnapshots); in testGarbageCollectOldSnapshots()
131 assertThat(timestamps[0]).isEqualTo(30_000_000); in testGarbageCollectOldSnapshots()
/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()
DBatchBufferOps.cpp60 input.getTimestamps ? &output.timestamps.emplace() : nullptr); in dequeueBuffers()
/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/av/camera/include/camera/
DCamera.h47 const std::vector<nsecs_t>& timestamps,
175 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/base/services/core/java/com/android/server/power/stats/
DBatteryUsageStatsStore.java153 LongArray timestamps = new LongArray(100); in listBatteryUsageStatsTimestamps() local
162 timestamps.add(Long.parseLong(fileNameWithoutExtension)); in listBatteryUsageStatsTimestamps()
172 return timestamps.toArray(); in listBatteryUsageStatsTimestamps()
DBatteryUsageStatsProvider.java318 final long[] timestamps = mBatteryUsageStatsStore.listBatteryUsageStatsTimestamps(); in getAggregatedBatteryUsageStats() local
319 for (long timestamp : timestamps) { in getAggregatedBatteryUsageStats()
/frameworks/av/camera/include/camera/android/hardware/
DICameraClient.h49 const std::vector<nsecs_t>& timestamps,
/frameworks/base/services/tests/servicestests/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/native/services/surfaceflinger/tests/
DLayerTransaction_test.cpp101 FrameEventHistoryDelta timestamps; in TEST_F() local
105 &age, &timestamps); in TEST_F()
/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/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/av/cmds/screenrecord/
Dscreenrecord.cpp414 static status_t writeWinscopeMetadataLegacy(const Vector<int64_t>& timestamps, in writeWinscopeMetadataLegacy() argument
421 sp<ABuffer> buffer = new ABuffer(timestamps.size() * sizeof(int64_t) in writeWinscopeMetadataLegacy()
426 writeValueLE<uint32_t>(timestamps.size(), pos); in writeWinscopeMetadataLegacy()
428 for (size_t idx = 0; idx < timestamps.size(); ++idx) { in writeWinscopeMetadataLegacy()
429 writeValueLE<uint64_t>(static_cast<uint64_t>(timestamps[idx] in writeWinscopeMetadataLegacy()
436 timestamps[0] /* presentationTimeUs */, in writeWinscopeMetadataLegacy()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java467 ArgumentCaptor<Long> timestamps = ArgumentCaptor.forClass(Long.class); in testCaptureStartedCallbacks() local
479 timestamps.capture()); in testCaptureStartedCallbacks()
482 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()
/frameworks/proto_logging/stats/enums/media/codec/
Denums.proto95 // The video framerate as detected by looking at timestamps.

12