Home
last modified time | relevance | path

Searched refs:getTimestamp (Results 1 – 25 of 158) sorted by relevance

1234567

/frameworks/base/services/people/java/com/android/server/people/data/
DEventList.java37 int index = firstIndexOnOrAfter(event.getTimestamp()); in add()
39 && mEvents.get(index).getTimestamp() == event.getTimestamp() in add()
133 if (mEvents.get(mid).getTimestamp() >= timestamp) { in firstIndexOnOrAfter()
150 while (index < size && mEvents.get(index).getTimestamp() <= event.getTimestamp()) { in isDuplicate()
DAggregateEventHistoryImpl.java84 if (lhs.get(i).getTimestamp() < rhs.get(j).getTimestamp()) { in combineEventLists()
/frameworks/base/core/java/com/android/internal/midi/
DEventScheduler.java104 public long getTimestamp() { in getTimestamp() method in EventScheduler.SchedulableEvent
153 FastEventQueue list = mEventBuffer.get(event.getTimestamp()); in add()
158 mEventBuffer.put(event.getTimestamp(), list); in add()
161 if (event.getTimestamp() < lowestTime) { in add()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DCallLogQueryHelperTest.java94 assertEquals(100L, events.get(0).getTimestamp()); in testQueryIncomingCall()
110 assertEquals(100L, events.get(0).getTimestamp()); in testQueryOutgoingCall()
126 assertEquals(100L, events.get(0).getTimestamp()); in testQueryMissedCall()
145 assertEquals(100L, events.get(0).getTimestamp()); in testQueryMultipleCalls()
147 assertEquals(110L, events.get(1).getTimestamp()); in testQueryMultipleCalls()
DSmsQueryHelperTest.java95 assertEquals(100L, events.get(0).getTimestamp()); in testQueryIncomingMessage()
110 assertEquals(100L, events.get(0).getTimestamp()); in testQueryOutgoingMessage()
128 assertEquals(100L, events.get(0).getTimestamp()); in testQueryMultipleMessages()
130 assertEquals(110L, events.get(1).getTimestamp()); in testQueryMultipleMessages()
DMmsQueryHelperTest.java104 assertEquals(100_000L, events.get(0).getTimestamp()); in testQueryIncomingMessage()
122 assertEquals(100_000L, events.get(0).getTimestamp()); in testQueryOutgoingMessage()
146 assertEquals(100_000L, events.get(0).getTimestamp()); in testQueryMultipleMessages()
148 assertEquals(110_000L, events.get(1).getTimestamp()); in testQueryMultipleMessages()
DEventListTest.java133 assertEquals(expected.get(i).getTimestamp(), actual.get(i).getTimestamp()); in assertEventListEquals()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrame.java91 public final long getTimestamp() { in getTimestamp() method in Frame
92 return mBackingStore.getTimestamp(); in getTimestamp()
99 return mBackingStore.getTimestamp() / 1000000L; in getTimestampMillis()
DInputPort.java188 long timestamp = frame.getTimestamp(); in pullFrame()
190 mFilter.onPulledFrameWithTimestamp(frame.getTimestamp()); in pullFrame()
/frameworks/av/services/mediametrics/
Dstatsd_drm.cpp48 const nsecs_t timestamp = MediaMetricsService::roundTime(item->getTimestamp()); in statsd_mediadrm()
81 const nsecs_t timestamp = MediaMetricsService::roundTime(item->getTimestamp()); in statsd_widevineCDM()
114 const nsecs_t timestamp = MediaMetricsService::roundTime(item->getTimestamp()); in statsd_drmmanager()
DAudioPowerUsage.cpp260 const int64_t endCallNs = item->getTimestamp(); in checkMode()
268 mStartCallNs = item->getTimestamp(); // advisory only in checkMode()
288 const int64_t timeNs = item->getTimestamp(); in checkVoiceVolume()
319 const int64_t endDeviceNs = item->getTimestamp(); in checkCreatePatch()
Dstatsd_extractor.cpp45 const nsecs_t timestamp = MediaMetricsService::roundTime(item->getTimestamp()); in statsd_extractor()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DNetworkEventTest.java158 assertEquals(event.getTimestamp(), unparceledEvent.getTimestamp()); in testConnectEventParceling()
180 assertEquals(event.getTimestamp(), unparceledEvent.getTimestamp()); in testDnsEventParceling()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingMessage.java83 && !Objects.equals(message.getTimestamp(), ownMessage.getTimestamp())) { in sameAs()
/frameworks/av/services/oboeservice/
DAAudioServiceEndpointShared.cpp194 aaudio_result_t AAudioServiceEndpointShared::getTimestamp(int64_t *positionFrames, in getTimestamp() function in AAudioServiceEndpointShared
196 …aaudio_result_t result = mStreamInternal->getTimestamp(CLOCK_MONOTONIC, positionFrames, timeNanos); in getTimestamp()
DAAudioServiceEndpointShared.h53 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
/frameworks/native/include/input/
DTouchVideoFrame.h56 const struct timeval& getTimestamp() const;
/frameworks/av/media/libnbaio/include/media/nbaio/
DAudioStreamOutSink.h51 virtual status_t getTimestamp(ExtendedTimestamp &timestamp);
/frameworks/base/media/java/android/media/
DTimedMetaData.java70 public long getTimestamp() { in getTimestamp() method in TimedMetaData
DImageWriter.java382 nativeQueueInputImage(mNativeContext, image, image.getTimestamp(), crop.left, crop.top, in queueInputImage()
569 image.getTimestamp(), crop.left, crop.top, crop.right, crop.bottom, in attachAndQueueInputImage()
741 public long getTimestamp() { in getTimestamp() method in ImageWriter.WriterSurfaceImage
/frameworks/base/core/tests/coretests/src/android/metrics/
DLogMakerTest.java66 assertEquals(timestamp, parsed.getTimestamp()); in testSerializeDeserialize()
166 assertEquals(1, builder.getTimestamp()); in testSetAndClearTimestamp()
168 assertEquals(0, builder.getTimestamp()); in testSetAndClearTimestamp()
/frameworks/base/services/core/java/com/android/server/am/
DAppExitInfoTracker.java440 if (info == null || !isFresh(info.getTimestamp())) { in updateExistingExitInfoRecordLocked()
530 Collections.sort(list, (a, b) -> (int) (b.getTimestamp() - a.getTimestamp())); in getExitInfo()
1246 (a, b) -> (int) (b.getTimestamp() - a.getTimestamp())); in getExitInfoLocked()
1253 if (r.getTimestamp() < t.getTimestamp()) { in getExitInfoLocked()
1266 (a, b) -> (int) (b.getTimestamp() - a.getTimestamp())); in getExitInfoLocked()
1284 if (r.getTimestamp() < oldestTimeStamp) { in addExitInfoLocked()
1285 oldestTimeStamp = r.getTimestamp(); in addExitInfoLocked()
1360 Collections.sort(list, (a, b) -> (int) (b.getTimestamp() - a.getTimestamp())); in dumpLocked()
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
DMonoPipe.h84 status_t getTimestamp(ExtendedTimestamp &timestamp);
/frameworks/base/core/java/android/hardware/camera2/params/
DOisSample.java67 public long getTimestamp() { in getTimestamp() method in OisSample
/frameworks/av/media/libaudioclient/include/media/
DIAudioTrack.h77 virtual status_t getTimestamp(AudioTimestamp& timestamp) = 0;

1234567