Home
last modified time | relevance | path

Searched refs:timeReference (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java512 LogEntry fromBytes(byte[] bytes, long timeReference, LogEntry entryToReuse) { in fromBytes() argument
534 long time = (bytes[2] & 0xFF) + timeReference; in fromBytes()
546 long time = (bytes[1] & 0xFF) + timeReference; in fromBytes()
606 int toBytes(LogEntry entry, byte[] bytes, long timeReference) { in toBytes() argument
612 int relativeTime = getRelativeTime(timeReference, entry.time); in toBytes()
630 int relativeTime = getRelativeTime(timeReference, entry.time); in toBytes()
675 private int getRelativeTime(long timeReference, long time) { in getRelativeTime() argument
676 if (time < timeReference) { in getRelativeTime()
682 long relativeTime = time - timeReference; in getRelativeTime()
919 long timeReference = mStartTime; in removeTagIndex() local
[all …]
/frameworks/base/services/core/java/com/android/server/location/gnss/
DNtpTimeHelper.java90 void injectTime(long time, long timeReference, int uncertainty); in injectTime() argument
164 long timeReference = ntpResult.getElapsedRealtimeMillis(); in blockingGetNtpTimeAndInject() local
176 mHandler.post(() -> mCallback.injectTime(time, timeReference, (int) certainty)); in blockingGetNtpTimeAndInject()
DGnssLocationProvider.java755 public void injectTime(long time, long timeReference, int uncertainty) { in injectTime() argument
756 native_inject_time(time, timeReference, uncertainty); in injectTime()
2316 private native void native_inject_time(long time, long timeReference, int uncertainty);
/frameworks/base/services/robotests/src/com/android/server/location/gnss/
DNtpTimeHelperTest.java61 (time, timeReference, uncertainty) -> { in setUp()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp2620 jlong time, jlong timeReference, jint uncertainty) { in android_location_GnssLocationProvider_inject_time() argument
2625 auto result = gnssHal->injectTime(time, timeReference, uncertainty); in android_location_GnssLocationProvider_inject_time()