Home
last modified time | relevance | path

Searched refs:injectTime (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/robotests/src/com/android/server/location/gnss/
DTimeDetectorNetworkTimeHelperTest.java102 verify(mMockInjectTimeCallback).injectTime( in testSetPeriodicTimeInjectionMode()
146 verify(mMockInjectTimeCallback).injectTime( in periodicInjectionBehavior()
165 verify(mMockInjectTimeCallback).injectTime( in periodicInjectionBehavior()
209 verify(mMockInjectTimeCallback).injectTime( in networkTimeAvailableBehavior()
252 verify(mMockInjectTimeCallback).injectTime( in networkConnectivityAvailableBehavior()
284 verify(mMockInjectTimeCallback, never()).injectTime(anyLong(), anyLong(), anyInt()); in oldTimesNotInjected()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DNetworkTimeHelper.java48 void injectTime(@CurrentTimeMillisLong long unixEpochTimeMillis, in injectTime() method
DNtpNetworkTimeHelper.java245 mHandler.post(() -> mCallback.injectTime(unixEpochTimeMillis, timeReferenceMillis, in maybeInjectCachedNtpTime()
DTimeDetectorNetworkTimeHelper.java251 mInjectTimeCallback.injectTime(unixEpochTimeMillis, timeReferenceMillis, uncertaintyMillis); in maybeInjectNetworkTime()
DGnssLocationProvider.java660 public void injectTime(long unixEpochTimeMillis, long elapsedRealtimeMillis, in injectTime() method in GnssLocationProvider
662 mGnssNative.injectTime(unixEpochTimeMillis, elapsedRealtimeMillis, uncertaintyMillis); in injectTime()
/frameworks/base/services/core/jni/gnss/
DGnss.h91 void injectTime(jlong time, jlong timeReference, jint uncertainty);
DGnss.cpp372 void GnssHal::injectTime(jlong time, jlong timeReference, jint uncertainty) { in injectTime() function in android::gnss::GnssHal
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/
DGnssNative.java733 public void injectTime(long time, long timeReference, int uncertainty) { in injectTime() method in GnssNative
735 mGnssHal.injectTime(time, timeReference, uncertainty); in injectTime()
1426 protected void injectTime(long time, long timeReference, int uncertainty) { in injectTime() method in GnssNative.GnssHal
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/hal/
DFakeGnssHal.java491 protected void injectTime(long time, long timeReference, int uncertainty) { in injectTime() method in FakeGnssHal
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp450 gnssHal->injectTime(time, timeReference, uncertainty); in android_location_gnss_hal_GnssNative_inject_time()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp5037 const nsecs_t injectTime = keyArgs.eventTime; in TEST_F() local
5042 ASSERT_TRUE((systemTime(SYSTEM_TIME_MONOTONIC) - injectTime) >= in TEST_F()