Searched refs:networkTimeSuggestion (Results 1 – 7 of 7) sorted by relevance
164 NetworkTimeSuggestion networkTimeSuggestion = in parseCommandLineArg() local166 networkTimeSuggestion.addDebugInfo("Command line injection"); in parseCommandLineArg()167 return networkTimeSuggestion; in parseCommandLineArg()
138 NetworkTimeSuggestion networkTimeSuggestion = mInterface.getLatestNetworkSuggestion(); in runGetLatestNetworkTime() local140 pw.println(networkTimeSuggestion); in runGetLatestNetworkTime()202 NetworkTimeSuggestion networkTimeSuggestion = in runSetSystemClockNetworkTime() local205 networkTimeSuggestion.getUnixEpochTime(), in runSetSystemClockNetworkTime()206 networkTimeSuggestion.getUncertaintyMillis()); in runSetSystemClockNetworkTime()
1034 NetworkTimeSuggestion networkTimeSuggestion = in testClearLatestNetworkSuggestion() local1050 script.calculateTimeInMillisForNow(networkTimeSuggestion.getUnixEpochTime()); in testClearLatestNetworkSuggestion()1051 script.simulateNetworkTimeSuggestion(networkTimeSuggestion) in testClearLatestNetworkSuggestion()1052 .assertLatestNetworkSuggestion(networkTimeSuggestion) in testClearLatestNetworkSuggestion()1664 NetworkTimeSuggestion networkTimeSuggestion = in highPrioritySuggestionsBeatLowerPrioritySuggestions_networkGnssOrigins() local1667 .simulateNetworkTimeSuggestion(networkTimeSuggestion) in highPrioritySuggestionsBeatLowerPrioritySuggestions_networkGnssOrigins()1670 networkTimeSuggestion.getUnixEpochTime())); in highPrioritySuggestionsBeatLowerPrioritySuggestions_networkGnssOrigins()1673 script.assertLatestNetworkSuggestion(networkTimeSuggestion) in highPrioritySuggestionsBeatLowerPrioritySuggestions_networkGnssOrigins()1676 assertEquals(networkTimeSuggestion, script.peekLatestValidNetworkSuggestion()); in highPrioritySuggestionsBeatLowerPrioritySuggestions_networkGnssOrigins()1692 script.assertLatestNetworkSuggestion(networkTimeSuggestion) in highPrioritySuggestionsBeatLowerPrioritySuggestions_networkGnssOrigins()[all …]
141 NetworkTimeSuggestion networkTimeSuggestion = createNetworkTimeSuggestion(); in testSuggestNetworkTime() local143 mTimeDetectorInternal.suggestNetworkTime(networkTimeSuggestion); in testSuggestNetworkTime()147 verify(mFakeTimeDetectorStrategySpy).suggestNetworkTime(networkTimeSuggestion); in testSuggestNetworkTime()
124 void setLatestNetworkTime(NetworkTimeSuggestion networkTimeSuggestion) { in setLatestNetworkTime() argument125 mLatestNetworkTimeSuggestion = networkTimeSuggestion; in setLatestNetworkTime()
304 NetworkTimeSuggestion networkTimeSuggestion = createNetworkTimeSuggestion(); in testSuggestNetworkTime_withoutPermission() local307 () -> mTimeDetectorService.suggestNetworkTime(networkTimeSuggestion)); in testSuggestNetworkTime_withoutPermission()316 NetworkTimeSuggestion networkTimeSuggestion = createNetworkTimeSuggestion(); in testSuggestNetworkTime() local317 mTimeDetectorService.suggestNetworkTime(networkTimeSuggestion); in testSuggestNetworkTime()324 verify(mFakeTimeDetectorStrategySpy).suggestNetworkTime(networkTimeSuggestion); in testSuggestNetworkTime()
216 @Nullable NetworkTimeSuggestion networkTimeSuggestion) { in calculateTimeSignalAgeMillis()217 if (networkTimeSuggestion == null) { in calculateTimeSignalAgeMillis()222 networkTimeSuggestion.getUnixEpochTime().getElapsedRealtimeMillis(); in calculateTimeSignalAgeMillis()