Home
last modified time | relevance | path

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

12345678

/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateDurations.java65 trimEvents(getEarliest(event.getTimestamp()), index); in addEvent()
79 if (current.getTimestamp() >= earliest) { in trimEvents()
83 if (events.get(1).getTimestamp() > earliest) { in trimEvents()
94 events.get(0).trimTo(Math.max(earliest, events.peek().getTimestamp())); in trimEvents()
114 for (long lts = l.getTimestamp(), rts = r.getTimestamp(); in add()
122 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in add()
123 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
127 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in add()
131 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
188 for (long lts = l.getTimestamp(), rts = r.getTimestamp(); in subtract()
[all …]
DBaseAppStateTimeEvents.java52 for (long lts = l.getTimestamp(), rts = r.getTimestamp(); in add()
56 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in add()
57 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
60 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in add()
63 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
77 if (event.getTimestamp() >= since) { in getTotalEventsSince()
92 if (current.getTimestamp() >= earliest) { in trimEvents()
120 long getTimestamp() { in getTimestamp() method in BaseAppStateTimeEvents.BaseTimeEvent
DAppBatteryExemptionTracker.java274 if (event.getTimestamp() < since || event.isStart()) { in getBatteryUsageSince()
277 batteryUsage.add(event.getBatteryUsage(since, Math.min(now, event.getTimestamp()))); in getBatteryUsageSince()
278 if (now <= event.getTimestamp()) { in getBatteryUsageSince()
323 for (long lts = l.getTimestamp(), rts = r.getTimestamp(); in add()
336 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in add()
337 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
343 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in add()
349 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
353 recentActTs = earliest.getTimestamp(); in add()
361 final long startTs = lastEvent.getTimestamp(); in add()
[all …]
/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/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/core/java/com/android/internal/midi/
DEventScheduler.java107 public long getTimestamp() { in getTimestamp() method in EventScheduler.SchedulableEvent
157 FastEventQueue list = mEventBuffer.get(event.getTimestamp()); in add()
162 mEventBuffer.put(event.getTimestamp(), list); in add()
165 if (event.getTimestamp() < lowestTime) { in add()
/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/native/libs/binder/tests/
DbinderRecordedTransactionTest.cpp51 EXPECT_EQ(retrievedTransaction->getTimestamp().tv_sec, ts.tv_sec); in TEST()
52 EXPECT_EQ(retrievedTransaction->getTimestamp().tv_nsec, ts.tv_nsec); in TEST()
125 EXPECT_EQ(retrievedTransaction->getTimestamp().tv_sec, ts.tv_sec); in TEST()
126 EXPECT_EQ(retrievedTransaction->getTimestamp().tv_nsec, ts.tv_nsec); in TEST()
/frameworks/base/nfc/java/android/nfc/cardemulation/
DPollingFrame.java232 public long getTimestamp() { in getTimestamp() method in PollingFrame
271 frame.putLong(KEY_POLLING_LOOP_TIMESTAMP, getTimestamp()); in toBundle()
280 + ", timestamp: " + Long.toUnsignedString(getTimestamp()) in toString()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DNetworkEventTest.java169 assertThat(unparceledEvent.getTimestamp()).isEqualTo(event.getTimestamp()); in testConnectEventParceling()
194 assertThat(unparceledEvent.getTimestamp()).isEqualTo(event.getTimestamp()); in testDnsEventParceling()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingMessage.java91 && !Objects.equals(message.getTimestamp(), ownMessage.getTimestamp())) { in sameAs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java90 return (int) (message2.getTimestamp() - message1.getTimestamp());
208 Comparator.comparing(Notification.MessagingStyle.Message::getTimestamp))); in getMessagingStyleMessages()
/frameworks/native/include/input/
DTouchVideoFrame.h57 const struct timeval& getTimestamp() const;
/frameworks/base/media/java/android/media/
DTimedMetaData.java70 public long getTimestamp() { in getTimestamp() method in TimedMetaData
/frameworks/av/services/oboeservice/
DAAudioServiceEndpointShared.cpp207 aaudio_result_t AAudioServiceEndpointShared::getTimestamp(int64_t *positionFrames, in getTimestamp() function in AAudioServiceEndpointShared
209 …aaudio_result_t result = mStreamInternal->getTimestamp(CLOCK_MONOTONIC, positionFrames, timeNanos); in getTimestamp()
/frameworks/av/media/libnbaio/include/media/nbaio/
DAudioStreamOutSink.h49 virtual status_t getTimestamp(ExtendedTimestamp &timestamp);
/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/av/media/libnbaio/include_mono/media/nbaio/
DMonoPipe.h84 status_t getTimestamp(ExtendedTimestamp &timestamp);
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioTrack.aidl75 int getTimestamp(out AudioTimestampInternal timestamp); in getTimestamp() method
/frameworks/base/core/java/android/hardware/camera2/params/
DOisSample.java67 public long getTimestamp() { in getTimestamp() method in OisSample

12345678