Searched refs:timeReference (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/ |
D | WakeLockLog.java | 575 LogEntry fromBytes(byte[] bytes, long timeReference, LogEntry entryToReuse) { in fromBytes() argument 597 long time = (bytes[2] & 0xFF) + timeReference; in fromBytes() 609 long time = (bytes[1] & 0xFF) + timeReference; in fromBytes() 669 int toBytes(LogEntry entry, byte[] bytes, long timeReference) { in toBytes() argument 675 int relativeTime = getRelativeTime(timeReference, entry.time); in toBytes() 693 int relativeTime = getRelativeTime(timeReference, entry.time); in toBytes() 738 private int getRelativeTime(long timeReference, long time) { in getRelativeTime() argument 739 if (time < timeReference) { in getRelativeTime() 745 long relativeTime = time - timeReference; in getRelativeTime() 991 long timeReference = mStartTime; in removeTagIndex() local [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/hal/ |
D | FakeGnssHal.java | 155 public GnssHalInjectedTime(long time, long timeReference, int uncertainty) { in GnssHalInjectedTime() argument 157 TimeReference = timeReference; in GnssHalInjectedTime() 491 protected void injectTime(long time, long timeReference, int uncertainty) { in injectTime() argument 492 mState.mInjectedTime = new GnssHalInjectedTime(time, timeReference, uncertainty); in injectTime()
|
/frameworks/base/services/robotests/src/com/android/server/location/gnss/ |
D | NtpNetworkTimeHelperTest.java | 66 (time, timeReference, uncertainty) -> { in setUp()
|
/frameworks/base/services/core/jni/gnss/ |
D | Gnss.h | 91 void injectTime(jlong time, jlong timeReference, jint uncertainty);
|
D | Gnss.cpp | 372 void GnssHal::injectTime(jlong time, jlong timeReference, jint uncertainty) { in injectTime() argument 374 auto status = gnssHalAidl->injectTime(time, timeReference, uncertainty); in injectTime() 382 auto result = gnssHal->injectTime(time, timeReference, uncertainty); in injectTime()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/hal/ |
D | GnssNative.java | 733 public void injectTime(long time, long timeReference, int uncertainty) { in injectTime() argument 735 mGnssHal.injectTime(time, timeReference, uncertainty); in injectTime() 1426 protected void injectTime(long time, long timeReference, int uncertainty) { in injectTime() argument 1427 native_inject_time(time, timeReference, uncertainty); in injectTime() 1626 private static native void native_inject_time(long time, long timeReference, int uncertainty); in native_inject_time() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 448 jlong timeReference, in android_location_gnss_hal_GnssNative_inject_time() argument 450 gnssHal->injectTime(time, timeReference, uncertainty); in android_location_gnss_hal_GnssNative_inject_time()
|