Home
last modified time | relevance | path

Searched refs:timeNs (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
DTimeReceiver.java48 public void addTimeForTypeToQueue(String type, long timeNs) { in addTimeForTypeToQueue() argument
52 if (timeNs < 0) { in addTimeForTypeToQueue()
54 "time is negative/non-existant (" + timeNs + ") when adding time to queue"); in addTimeForTypeToQueue()
56 mQueue.add(new ReceivedMessage(type, timeNs)); in addTimeForTypeToQueue()
63 public void sendTime(String type, long timeNs) throws RemoteException { in createReceiveTimeExtraBinder()
64 addTimeForTypeToQueue(type, timeNs); in createReceiveTimeExtraBinder()
/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/
DITimeReceiverCallback.aidl20 void sendTime(String type, long timeNs); in sendTime() argument
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp606 const int64_t timeNs = getElapsedRealtimeNs(); in SaveActiveConfigsToDisk() local
608 if (static_cast<unsigned long long> (timeNs) < in SaveActiveConfigsToDisk()
614 mLastActiveMetricsWriteNs = timeNs; in SaveActiveConfigsToDisk()
700 const int64_t timeNs = getElapsedRealtimeNs(); in WriteDataToDiskLocked() local
704 if (static_cast<unsigned long long> (timeNs) < in WriteDataToDiskLocked()
710 mLastWriteTimeNs = timeNs; in WriteDataToDiskLocked()
712 WriteDataToDiskLocked(pair.first, timeNs, dumpReportReason, dumpLatency); in WriteDataToDiskLocked()
/frameworks/av/media/libstagefright/
DAudioSource.cpp329 int64_t timeUs, position, timeNs; in dataCallback() local
335 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC, in dataCallback()
338 timeUs = timeNs / 1000 - in dataCallback()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.h81 const mkvparser::CuePoint::TrackPosition *find(long long timeNs) const;
DMatroskaExtractor.cpp194 long long timeNs) const { in find()
202 if (timeNs <= cp->GetTime(mExtractor->mSegment)) { in find()
214 if (cueTimeNs <= timeNs) { in find()
226 if (cp->GetTime(mExtractor->mSegment) > timeNs) { in find()
/frameworks/av/services/audioflinger/
DPatchPanel.cpp623 if (recordFT.timeNs > 0 && playFT.timeNs > 0) { in getLatencyMs()
625 const int64_t timeDiffNs = recordFT.timeNs - playFT.timeNs; in getLatencyMs()
DTrackBase.h194 int64_t timeNs; member
DThreads.cpp1740 const int64_t timeNs = systemTime(SYSTEM_TIME_BOOTTIME); in sendStatistics() local
1741 const int64_t sinceNs = timeNs - mLastRecordedTimeNs; // ok if mLastRecordedTimeNs = 0 in sendStatistics()
1747 mLastRecordedTimeNs = timeNs; in sendStatistics()
/frameworks/base/media/java/android/media/
DMediaCodec.java2904 int index, boolean render, boolean updatePTS, long timeNs); in releaseOutputBuffer() argument
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp1174 SET(TimeNanos, clock.timeNs); in translateGnssClock()