/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/ |
D | TimeReceiver.java | 48 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/av/services/audioflinger/ |
D | TrackMetrics.h | 120 const int64_t timeNs = systemTime(); in logVolume() local 124 mLastVolumeChangeTimeNs = mStartVolumeTimeNs = timeNs; in logVolume() 128 mVolume * (timeNs - mLastVolumeChangeTimeNs)) / (timeNs - mStartVolumeTimeNs); in logVolume() 130 mLastVolumeChangeTimeNs = timeNs; in logVolume()
|
D | PatchPanel.cpp | 624 if (recordFT.timeNs > 0 && playFT.timeNs > 0) { in getLatencyMs() 626 const int64_t timeDiffNs = recordFT.timeNs - playFT.timeNs; in getLatencyMs()
|
D | TrackBase.h | 199 int64_t timeNs; member
|
D | Threads.cpp | 1779 const int64_t timeNs = systemTime(SYSTEM_TIME_BOOTTIME); in sendStatistics() local 1780 const int64_t sinceNs = timeNs - mLastRecordedTimeNs; // ok if mLastRecordedTimeNs = 0 in sendStatistics() 1786 mLastRecordedTimeNs = timeNs; in sendStatistics()
|
/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/ |
D | ITimeReceiverCallback.aidl | 20 void sendTime(String type, long timeNs); in sendTime() argument
|
/frameworks/av/services/mediametrics/ |
D | AudioPowerUsage.cpp | 288 const int64_t timeNs = item->getTimestamp(); in checkVoiceVolume() local 289 const int64_t durationNs = timeNs - mDeviceTimeNs; in checkVoiceVolume() 292 mVoiceVolume * double(timeNs - mVolumeTimeNs)) / durationNs; in checkVoiceVolume() 293 mVolumeTimeNs = timeNs; in checkVoiceVolume()
|
D | MediaMetricsService.h | 65 static nsecs_t roundTime(nsecs_t timeNs);
|
D | MediaMetricsService.cpp | 58 nsecs_t MediaMetricsService::roundTime(nsecs_t timeNs) in roundTime() argument 60 return (timeNs + NANOS_PER_SECOND / 2) / NANOS_PER_SECOND * NANOS_PER_SECOND; in roundTime()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetrics.java | 358 public Item(String key, int pid, int uid, long timeNs, int capacity) { in Item() argument 386 .putLong(timeNs); in Item() 546 public Item setTimestamp(long timeNs) { in setTimestamp() argument 547 mBuffer.putLong(mTimeNsOffset, timeNs); // time location in byte string. in setTimestamp()
|
D | MediaCodec.java | 3574 int index, boolean render, boolean updatePTS, long timeNs); in releaseOutputBuffer() argument
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.h | 81 const mkvparser::CuePoint::TrackPosition *find(long long timeNs) const;
|
D | MatroskaExtractor.cpp | 194 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/base/cmds/statsd/src/ |
D | StatsLogProcessor.cpp | 819 const int64_t timeNs = getElapsedRealtimeNs(); in SaveActiveConfigsToDisk() local 821 if (static_cast<unsigned long long> (timeNs) < in SaveActiveConfigsToDisk() 827 mLastActiveMetricsWriteNs = timeNs; in SaveActiveConfigsToDisk() 1017 const int64_t timeNs = getElapsedRealtimeNs(); in WriteDataToDiskLocked() local 1021 if (static_cast<unsigned long long> (timeNs) < in WriteDataToDiskLocked() 1027 mLastWriteTimeNs = timeNs; in WriteDataToDiskLocked() 1029 WriteDataToDiskLocked(pair.first, timeNs, dumpReportReason, dumpLatency); in WriteDataToDiskLocked()
|
/frameworks/av/media/libstagefright/ |
D | AudioSource.cpp | 332 int64_t timeUs, position, timeNs; in dataCallback() local 338 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC, in dataCallback() 341 timeUs = timeNs / 1000 - in dataCallback()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 1526 SET(TimeNanos, clock.timeNs); in translateGnssClock()
|