/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/base/core/jni/ |
D | com_android_internal_os_KernelCpuTotalBpfMapReader.cpp | 29 for (const auto &timeNs : vec) { in KernelCpuTotalBpfMapReader_readInternal() local 30 allTimes.push_back(timeNs / 1000000); in KernelCpuTotalBpfMapReader_readInternal()
|
/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/audioflinger/datapath/ |
D | TrackMetrics.h | 189 const int64_t timeNs = systemTime(); in logVolume_l() local 191 ? 0 : timeNs - mLastVolumeChangeTimeNs; in logVolume_l() 202 mLastVolumeChangeTimeNs = timeNs; in logVolume_l()
|
/frameworks/av/services/mediametrics/ |
D | AudioPowerUsage.cpp | 449 const int64_t timeNs = item->getTimestamp(); in checkVoiceVolume() local 450 const int64_t durationNs = timeNs - mDeviceTimeNs; in checkVoiceVolume() 451 const int64_t volumeDurationNs = timeNs - mVolumeTimeNs; in checkVoiceVolume() 455 mVolumeTimeNs = timeNs; in checkVoiceVolume()
|
D | MediaMetricsService.cpp | 66 nsecs_t MediaMetricsService::roundTime(nsecs_t timeNs) in roundTime() argument 68 return (timeNs + NANOS_PER_SECOND / 2) / NANOS_PER_SECOND * NANOS_PER_SECOND; in roundTime()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetrics.java | 406 public Item(String key, int pid, int uid, long timeNs, int capacity) { in Item() argument 434 .putLong(timeNs); in Item() 594 public Item setTimestamp(long timeNs) { in setTimestamp() argument 595 mBuffer.putLong(mTimeNsOffset, timeNs); // time location in byte string. in setTimestamp()
|
D | MediaCodec.java | 4179 int index, boolean render, boolean updatePTS, long timeNs); in releaseOutputBuffer() argument
|
/frameworks/av/media/module/extractors/mkv/include/ |
D | MatroskaExtractor.h | 81 const mkvparser::CuePoint::TrackPosition *find(long long timeNs) const;
|
/frameworks/av/media/libstagefright/ |
D | AudioSource.cpp | 350 int64_t timeUs, position, timeNs; in onMoreData() local 356 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC, in onMoreData() 359 timeUs = timeNs / 1000 - in onMoreData()
|
/frameworks/av/services/mediametrics/include/mediametricsservice/ |
D | MediaMetricsService.h | 72 static nsecs_t roundTime(nsecs_t timeNs);
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppStartInfoTracker.java | 531 void addTimestampToStart(ProcessRecord app, long timeNs, int key) { in addTimestampToStart() argument 532 addTimestampToStart(app.info.packageName, app.uid, timeNs, key); in addTimestampToStart() 535 void addTimestampToStart(String packageName, int uid, long timeNs, int key) { in addTimestampToStart() argument 545 + ". Discarding timestamp key=" + key + " val=" + timeNs); in addTimestampToStart() 549 container.addTimestampToStartLocked(key, timeNs); in addTimestampToStart()
|
/frameworks/av/services/audioflinger/ |
D | PatchPanel.cpp | 719 if (recordFT.timeNs > 0 && playFT.timeNs > 0) { in getLatencyMs() 721 const int64_t timeDiffNs = recordFT.timeNs - playFT.timeNs; in getLatencyMs()
|
D | IAfTrack.h | 196 int64_t timeNs; member
|
D | Threads.h | 1194 nsecs_t timeNs = systemTime(); in waitForHalStart() local 1195 if (timeNs >= endWaitTimetNs) { in waitForHalStart() 1198 nsecs_t waitTimeLeftNs = endWaitTimetNs - timeNs; in waitForHalStart()
|
D | Threads.cpp | 2046 const int64_t timeNs = systemTime(SYSTEM_TIME_BOOTTIME); in sendStatistics() local 2047 const int64_t sinceNs = timeNs - mLastRecordedTimeNs; // ok if mLastRecordedTimeNs = 0 in sendStatistics() 2053 mLastRecordedTimeNs = timeNs; in sendStatistics() 4878 const int64_t timeNs = mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in getTimestamp_l() local 4879 timestamp.mTime.tv_sec = timeNs / NANOS_PER_SECOND; in getTimestamp_l() 4880 timestamp.mTime.tv_nsec = timeNs - (timestamp.mTime.tv_sec * NANOS_PER_SECOND); in getTimestamp_l()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audio_test_utils.cpp | 266 int64_t timeUs = 0, position = 0, timeNs = 0; in onMoreData() local 272 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC, &location) == in onMoreData() 275 timeUs = timeNs / 1000 - in onMoreData()
|
/frameworks/av/media/module/extractors/mkv/ |
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/av/media/libaudiohal/impl/ |
D | StreamHalAidl.cpp | 346 *timestamp = std::max<int64_t>(0, reply.observable.timeNs); in getObservablePosition() 356 *timestamp = std::max<int64_t>(0, reply.hardware.timeNs); in getHardwarePosition()
|
/frameworks/base/services/core/jni/gnss/ |
D | GnssMeasurementCallback.cpp | 348 SET(TimeNanos, clock.timeNs); in setClockFields_V1_0()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 5658 long timeNs = SystemClock.uptimeNanos(); in draw() local 5663 mRenderThreadDrawStartTimeNs = timeNs; in draw()
|