Home
last modified time | relevance | path

Searched refs:timestamps (Results 1 – 25 of 37) 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/core/java/com/android/server/
DBootReceiver.java213 HashMap<String, Long> timestamps = readTimestamps(); in logBootEvents() local
227 addFileWithFootersToDropBox(db, timestamps, headers, lastKmsgFooter, in logBootEvents()
229 addFileWithFootersToDropBox(db, timestamps, headers, lastKmsgFooter, in logBootEvents()
231 addFileWithFootersToDropBox(db, timestamps, headers, lastKmsgFooter, in logBootEvents()
233 addFileToDropBox(db, timestamps, headers, "/cache/recovery/log", -LOG_SIZE, in logBootEvents()
235 addFileToDropBox(db, timestamps, headers, "/cache/recovery/last_kmsg", in logBootEvents()
237 addAuditErrorsToDropBox(db, timestamps, headers, -LOG_SIZE, "SYSTEM_AUDIT"); in logBootEvents()
245 addFsckErrorsToDropBoxAndLogFsStat(db, timestamps, headers, -LOG_SIZE, "SYSTEM_FSCK"); in logBootEvents()
252 addFileToDropBox(db, timestamps, headers, tombstoneFiles[i].getPath(), in logBootEvents()
257 writeTimestamps(timestamps); in logBootEvents()
[all …]
/frameworks/av/camera/
DICameraRecordingProxyListener.cpp68 const std::vector<nsecs_t>& timestamps, in recordingFrameHandleCallbackTimestampBatch() argument
74 uint32_t n = timestamps.size(); in recordingFrameHandleCallbackTimestampBatch()
77 __FUNCTION__, timestamps.size(), handles.size()); in recordingFrameHandleCallbackTimestampBatch()
81 for (auto ts : timestamps) { in recordingFrameHandleCallbackTimestampBatch()
144 std::vector<nsecs_t> timestamps; in onTransact() local
146 timestamps.reserve(n); in onTransact()
156 timestamps.push_back(t); in onTransact()
169 recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in onTransact()
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()
190 std::vector<nsecs_t> timestamps; in onTransact() local
192 timestamps.reserve(n); in onTransact()
202 timestamps.push_back(t); in onTransact()
215 recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in onTransact()
DCamera.cpp430 const std::vector<nsecs_t>& timestamps, in recordingFrameHandleCallbackTimestampBatch() argument
442 proxylistener->recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in recordingFrameHandleCallbackTimestampBatch()
453 listener->postRecordingFrameHandleTimestampBatch(timestamps, handles); in recordingFrameHandleCallbackTimestampBatch()
/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/base/cmds/statsd/tests/guardrail/
DStatsdStats_test.cpp376 vector<int32_t> timestamps; in TEST() local
378 timestamps.push_back(i); in TEST()
384 stats.noteDataDropped(key, timestamps[i]); in TEST()
385 stats.noteBroadcastSent(key, timestamps[i]); in TEST()
386 stats.noteMetricsReportSent(key, 0, timestamps[i]); in TEST()
387 stats.noteActiveStatusChanged(key, true, timestamps[i]); in TEST()
388 stats.noteActiveStatusChanged(key, false, timestamps[i]); in TEST()
428 vector<int32_t> timestamps; in TEST() local
430 timestamps.push_back(i); in TEST()
431 stats.noteSystemServerRestart(timestamps[i]); in TEST()
/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/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/
DCamera.h48 const std::vector<nsecs_t>& timestamps,
177 const std::vector<nsecs_t>& timestamps,
DICameraRecordingProxyListener.h44 const std::vector<nsecs_t>& timestamps,
/frameworks/av/camera/include/camera/android/hardware/
DICameraClient.h49 const std::vector<nsecs_t>& timestamps,
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
Dtimestats.proto64 // There are multiple timestamps tracked in SurfaceFlinger, and these are the
65 // histograms of deltas between different combinations of those timestamps.
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java1331 long[] timestamps = getBase(CaptureResult.STATISTICS_OIS_TIMESTAMPS); in getOisSamples() local
1335 if (timestamps == null) { in getOisSamples()
1355 if (xShifts.length != timestamps.length) { in getOisSamples()
1357 "timestamps has %d entries but xShifts has %d", timestamps.length, in getOisSamples()
1361 if (yShifts.length != timestamps.length) { in getOisSamples()
1363 "timestamps has %d entries but yShifts has %d", timestamps.length, in getOisSamples()
1367 OisSample[] samples = new OisSample[timestamps.length]; in getOisSamples()
1368 for (int i = 0; i < timestamps.length; i++) { in getOisSamples()
1369 samples[i] = new OisSample(timestamps[i], xShifts[i], yShifts[i]); in getOisSamples()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java815 long[] timestamps; in processMessagePart() local
830 timestamps = new long[]{tracker.getTimestamp()}; in processMessagePart()
857 timestamps = new long[messageCount]; in processMessagePart()
890 timestamps[index] = cursor.getLong( in processMessagePart()
923 format, timestamps, block); in processMessagePart() local
947 SmsConstants.FORMAT_3GPP, timestamps, false); in processMessagePart() local
973 format, timestamps, true); in processMessagePart() local
976 format, timestamps, false); in processMessagePart() local
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java463 ArgumentCaptor<Long> timestamps = ArgumentCaptor.forClass(Long.class); in testCaptureStartedCallbacks() local
475 timestamps.capture()); in testCaptureStartedCallbacks()
478 for (Long nextTimestamp : timestamps.getAllValues()) { in testCaptureStartedCallbacks()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h263 Timestamp timestamps[MAX_TIMESTAMPS]; member
343 Timestamp *timestamp = &sineData->timestamps[sineData->timestampCount]; in SimplePlayerDataCallbackProc()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp909 std::vector<nsecs_t> timestamps; in handleCallbackTimestampBatch() local
911 timestamps.reserve(n); in handleCallbackTimestampBatch()
934 timestamps.push_back(msg.timestamp); in handleCallbackTimestampBatch()
937 c->recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in handleCallbackTimestampBatch()
/frameworks/base/core/proto/android/service/
Dgraphicsstats.proto43 // The start & end timestamps in UTC as
/frameworks/base/libs/hwui/protos/
Dgraphicsstats.proto38 // The start & end timestamps in UTC as
/frameworks/opt/telephony/proto/src/
Dpersist_atoms.proto25 // NOTE: using int64 rather than google.protobuf.Timestamp for timestamps simplifies implementation.
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp193 Timestamp *timestamp = &myData.timestamps[i]; in testOpenPlayClose()
/frameworks/av/media/libstagefright/
DCameraSource.cpp62 const std::vector<nsecs_t>& timestamps,
118 const std::vector<nsecs_t>& timestamps, in postRecordingFrameHandleTimestampBatch() argument
122 int n = timestamps.size(); in postRecordingFrameHandleTimestampBatch()
125 modifiedTimestamps[i] = timestamps[i] / 1000; in postRecordingFrameHandleTimestampBatch()
/frameworks/base/tests/ActivityManagerPerfTests/
DREADME.txt48 * Each timestamp sent to the instrumentation test is tagged with a tag since multiple timestamps

12