/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateDurations.java | 65 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 …]
|
D | BaseAppStateTimeEvents.java | 52 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
|
D | AppBatteryExemptionTracker.java | 274 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/ |
D | EventList.java | 37 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()
|
D | AggregateEventHistoryImpl.java | 84 if (lhs.get(i).getTimestamp() < rhs.get(j).getTimestamp()) { in combineEventLists()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | CallLogQueryHelperTest.java | 94 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()
|
D | SmsQueryHelperTest.java | 95 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()
|
D | MmsQueryHelperTest.java | 104 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()
|
D | EventListTest.java | 133 assertEquals(expected.get(i).getTimestamp(), actual.get(i).getTimestamp()); in assertEventListEquals()
|
/frameworks/base/core/java/com/android/internal/midi/ |
D | EventScheduler.java | 107 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/ |
D | Frame.java | 91 public final long getTimestamp() { in getTimestamp() method in Frame 92 return mBackingStore.getTimestamp(); in getTimestamp() 99 return mBackingStore.getTimestamp() / 1000000L; in getTimestampMillis()
|
D | InputPort.java | 188 long timestamp = frame.getTimestamp(); in pullFrame() 190 mFilter.onPulledFrameWithTimestamp(frame.getTimestamp()); in pullFrame()
|
/frameworks/native/libs/binder/tests/ |
D | binderRecordedTransactionTest.cpp | 51 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/ |
D | PollingFrame.java | 232 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/ |
D | NetworkEventTest.java | 169 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/ |
D | MessagingMessage.java | 91 && !Objects.equals(message.getTimestamp(), ownMessage.getTimestamp())) { in sameAs()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | NotificationHelper.java | 90 return (int) (message2.getTimestamp() - message1.getTimestamp()); 208 Comparator.comparing(Notification.MessagingStyle.Message::getTimestamp))); in getMessagingStyleMessages()
|
/frameworks/native/include/input/ |
D | TouchVideoFrame.h | 57 const struct timeval& getTimestamp() const;
|
/frameworks/base/media/java/android/media/ |
D | TimedMetaData.java | 70 public long getTimestamp() { in getTimestamp() method in TimedMetaData
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceEndpointShared.cpp | 207 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/ |
D | AudioStreamOutSink.h | 49 virtual status_t getTimestamp(ExtendedTimestamp ×tamp);
|
/frameworks/base/core/tests/coretests/src/android/metrics/ |
D | LogMakerTest.java | 66 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/ |
D | MonoPipe.h | 84 status_t getTimestamp(ExtendedTimestamp ×tamp);
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioTrack.aidl | 75 int getTimestamp(out AudioTimestampInternal timestamp); in getTimestamp() method
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | OisSample.java | 67 public long getTimestamp() { in getTimestamp() method in OisSample
|