/aosp12/frameworks/av/media/libaaudio/tests/ |
H A D | test_clock_model.cpp | 33 #define NANOS_PER_BURST (NANOS_PER_SECOND * HW_FRAMES_PER_BURST / SAMPLE_RATE) 67 double elapsedTimeSeconds = startTimeNanos / (double) NANOS_PER_SECOND; in checkDriftingClock() 70 const double timeDelaySeconds = 10.0 * drand48() * NANOS_PER_BURST / NANOS_PER_SECOND; in checkDriftingClock() 72 const int64_t elapsedTimeNanos = (int64_t)(elapsedTimeSeconds * NANOS_PER_SECOND); in checkDriftingClock() 98 int64_t position = model.convertDeltaTimeToPosition(NANOS_PER_SECOND); in TEST_F() 103 constexpr int64_t kNanosPerBurst = HW_FRAMES_PER_BURST * NANOS_PER_SECOND / SAMPLE_RATE; in TEST_F() 104 position = model.convertDeltaTimeToPosition(NANOS_PER_SECOND + (kNanosPerBurst / 2)); in TEST_F() 108 ASSERT_EQ(NANOS_PER_SECOND, time); in TEST_F() 112 ASSERT_EQ(NANOS_PER_SECOND + (kNanosPerBurst / 2), time); in TEST_F()
|
H A D | test_aaudio_monkey.cpp | 29 #define DEFAULT_TIMEOUT_NANOS (1 * NANOS_PER_SECOND)
|
/aosp12/frameworks/av/media/libaaudio/examples/utils/ |
H A D | AAudioExampleUtils.h | 33 #define NANOS_PER_SECOND (NANOS_PER_MILLISECOND * 1000) macro 112 time->tv_sec = nanoseconds / NANOS_PER_SECOND; in convertNanosecondsToTimespec() 114 time->tv_nsec = nanoseconds - (time->tv_sec * NANOS_PER_SECOND); in convertNanosecondsToTimespec() 124 return (time.tv_sec * NANOS_PER_SECOND) + time.tv_nsec; 152 (NANOS_PER_SECOND * deltaFrames / sampleRate); in calculateLatencyMillis()
|
H A D | AAudioSimplePlayer.h | 229 ¤tState, NANOS_PER_SECOND); in waitUntilPaused()
|
/aosp12/frameworks/av/services/mediametrics/ |
H A D | MediaMetricsService.cpp | 51 static constexpr nsecs_t kMaxRecordAgeNs = 28 * 3600 * NANOS_PER_SECOND; 68 return (timeNs + NANOS_PER_SECOND / 2) / NANOS_PER_SECOND * NANOS_PER_SECOND; in roundTime() 291 sinceNs = systemTime(SYSTEM_TIME_REALTIME) + sec * NANOS_PER_SECOND; in dump() 293 sinceNs = sec * NANOS_PER_SECOND; in dump()
|
H A D | AudioPowerUsage.cpp | 144 const int32_t duration_secs = (int32_t)(duration_ns / NANOS_PER_SECOND); in sendItem()
|
/aosp12/system/media/audio_utils/include/audio_utils/ |
H A D | clock.h | 33 #define NANOS_PER_SECOND 1000000000LL macro 40 #define NANOS_PER_MINUTE (NANOS_PER_SECOND * SECONDS_PER_MINUTE)
|
/aosp12/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
H A D | input_monitor_callback.cpp | 77 .tv_nsec = NANOS_PER_SECOND / displayRateHz }; in main() 113 .tv_nsec = NANOS_PER_SECOND / displayRateHz }; in main()
|
/aosp12/frameworks/av/media/libaaudio/examples/write_sine/src/ |
H A D | write_sine_callback.cpp | 119 myData.waker.wait(AAUDIO_OK, NANOS_PER_SECOND); in testOpenPlayClose()
|
/aosp12/frameworks/base/media/jni/soundpool/ |
H A D | StreamManager.cpp | 44 static constexpr int64_t kWaitTimeBeforeCloseNs = 9 * NANOS_PER_SECOND;
|
/aosp12/packages/services/Car/tests/BugReportApp/libs/ |
H A D | grpc-context-1.19.0.jar | META-INF/
META-INF/MANIFEST.MF
io/
io/grpc/
io/ ... |
H A D | opencensus-api-0.21.0.jar | META-INF/
META-INF/MANIFEST.MF
io/
io/opencensus/
io/ ... |
/aosp12/frameworks/av/media/utils/ |
H A D | ServiceUtilities.cpp | 428 static constexpr nsecs_t INFO_EXPIRATION_NS = 24 * 60 * 60 * NANOS_PER_SECOND;
|
/aosp12/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 81 tv.tv_sec = static_cast<time_t>(ns / NANOS_PER_SECOND); in convertNsToTimespec() 82 tv.tv_nsec = static_cast<int64_t>(ns % NANOS_PER_SECOND); in convertNsToTimespec() 3150 * NANOS_PER_SECOND / mSampleRate; in getTimestamp_l() 3347 deltaPosition * (long long)NANOS_PER_SECOND / deltaTime; in getTimestamp_l()
|
/aosp12/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.h | 471 static const int kDumpLockTimeoutNs = 1 * NANOS_PER_SECOND;
|
H A D | Tracks.cpp | 2873 newTimeOut.tv_sec = newTimeOutNs / NANOS_PER_SECOND; in obtainBuffer() 2874 newTimeOut.tv_nsec = newTimeOutNs - newTimeOut.tv_sec * NANOS_PER_SECOND; in obtainBuffer()
|
H A D | Threads.cpp | 4464 timestamp.mTime.tv_sec = timeNs / NANOS_PER_SECOND; in getTimestamp_l() 4465 timestamp.mTime.tv_nsec = timeNs - (timestamp.mTime.tv_sec * NANOS_PER_SECOND); in getTimestamp_l() 10345 *timeNanos = timestamp.tv_sec * NANOS_PER_SECOND + timestamp.tv_nsec; in getExternalPosition()
|
H A D | AudioFlinger.cpp | 718 audio_utils_get_real_time_ns() - 10 * 60 * NANOS_PER_SECOND); in dump()
|
/aosp12/hardware/qcom/audio/hal/ |
H A D | audio_hw.c | 3642 (current_ns - out->last_fifo_time_ns) * out->config.rate / NANOS_PER_SECOND; in out_write() 3658 long ns = (frames * (int64_t) NANOS_PER_SECOND) / out->config.rate; in out_write() 6226 NANOS_PER_SECOND /* aggregate consecutive identical errors within one second */); in adev_open_input_stream()
|
/aosp12/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyService.cpp | 57 static const int kDumpLockTimeoutNs = 1 * NANOS_PER_SECOND;
|
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/ |
H A D | opencensus-api-0.24.0.jar | META-INF/
META-INF/MANIFEST.MF
io/
io/opencensus/
io/ ... |
/aosp12/art/build/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o-low-priority.txt | 2495 Ljava/lang/Daemons;->NANOS_PER_SECOND:I 4274 Ljava/nio/file/attribute/FileTime;->NANOS_PER_SECOND:J 5796 Ljava/time/LocalTime;->NANOS_PER_SECOND:J
|