Searched defs:nanoseconds (Results 1 - 6 of 6) sorted by last modified time

/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dclock_ns.h38 static inline double NsToSec(int64_t nanoseconds) { argument
39 return nanoseconds / static_cast<double>(kNanosPerSecond);
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java2144 private native void set(long nativeData, int type, long seconds, long nanoseconds); argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_AlarmManagerService.cpp388 static void android_server_AlarmManagerService_set(JNIEnv*, jobject, jlong nativeData, jint type, jlong seconds, jlong nanoseconds) argument
393 ts.tv_nsec = nanoseconds;
400 static_cast<long long>(nanoseconds), strerror(errno));
/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamShared.cpp229 void AAudioServiceStreamShared::markTransferTime(int64_t nanoseconds) { argument
231 mMarkedTime = nanoseconds;
/frameworks/av/media/libaaudio/src/binding/
H A DIAAudioService.cpp245 int64_t nanoseconds; local
331 data.readInt64(&nanoseconds);
332 result = registerAudioThread(stream, pid, tid, nanoseconds);
/frameworks/av/media/libaaudio/src/utility/
H A DAudioClock.h56 // Calculate the fractional nanoseconds. Avoids expensive % operation.
74 * Sleep for the specified number of relative nanoseconds in real-time.
75 * Return immediately with 0 if a negative nanoseconds is specified.
77 * @param nanoseconds time to sleep
81 static int sleepForNanos(int64_t nanoseconds, clockid_t clockId = CLOCK_MONOTONIC) { argument
82 if (nanoseconds > 0) {
84 time.tv_sec = nanoseconds / AAUDIO_NANOS_PER_SECOND;
85 // Calculate the fractional nanoseconds. Avoids expensive % operation.
86 time.tv_nsec = nanoseconds - (time.tv_sec * AAUDIO_NANOS_PER_SECOND);

Completed in 29 milliseconds