Home
last modified time | relevance | path

Searched refs:ORIGIN_NETWORK (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorStrategy.java53 @IntDef({ ORIGIN_TELEPHONY, ORIGIN_MANUAL, ORIGIN_NETWORK, ORIGIN_GNSS, ORIGIN_EXTERNAL })
65 @Origin int ORIGIN_NETWORK = 3; field
195 case ORIGIN_NETWORK: in originToString()
219 return ORIGIN_NETWORK; in stringToOrigin()
DServiceConfigAccessorImpl.java24 import static com.android.server.timedetector.TimeDetectorStrategy.ORIGIN_NETWORK;
84 DEFAULT_AUTOMATIC_TIME_ORIGIN_PRIORITIES = { ORIGIN_TELEPHONY, ORIGIN_NETWORK };
308 if (originSupported == ORIGIN_NETWORK in isAutoDetectionSupported()
DTimeDetectorStrategyImpl.java720 } else if (origin == ORIGIN_NETWORK) {
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DTimeDetectorInternalImplTest.java19 import static com.android.server.timedetector.TimeDetectorStrategy.ORIGIN_NETWORK;
53 private static final int[] ARBITRARY_ORIGIN_PRIORITIES = { ORIGIN_NETWORK };
DConfigurationInternalTest.java24 import static com.android.server.timedetector.TimeDetectorStrategy.ORIGIN_NETWORK;
56 private static final @Origin int[] ARBITRARY_ORIGIN_PRIORITIES = { ORIGIN_NETWORK };
DTimeDetectorStrategyImplTest.java24 import static com.android.server.timedetector.TimeDetectorStrategy.ORIGIN_NETWORK;
90 private static final @Origin int [] ORIGIN_PRIORITIES = { ORIGIN_TELEPHONY, ORIGIN_NETWORK };
968 .setOriginPriorities(ORIGIN_NETWORK) in testSuggestNetworkTime_autoTimeEnabled()
998 .setOriginPriorities(ORIGIN_NETWORK) in testSuggestNetworkTime_autoTimeDisabled()
1023 .setOriginPriorities(ORIGIN_NETWORK, ORIGIN_EXTERNAL) in testClearLatestNetworkSuggestion()
1081 .setOriginPriorities(ORIGIN_NETWORK) in testSuggestNetworkTime_rejectedBelowLowerBound()
1108 .setOriginPriorities(ORIGIN_NETWORK) in testSuggestNetworkTime_notRejectedAboveLowerBound()
1134 .setOriginPriorities(ORIGIN_NETWORK) in testSuggestNetworkTime_rejectedAboveUpperBound()
1160 .setOriginPriorities(ORIGIN_NETWORK) in testSuggestNetworkTime_notRejectedBelowUpperBound()
1524 .setOriginPriorities(ORIGIN_TELEPHONY, ORIGIN_NETWORK) in highPrioritySuggestionsBeatLowerPrioritySuggestions_telephonyNetworkOrigins()
[all …]
DTimeDetectorServiceTest.java19 import static com.android.server.timedetector.TimeDetectorStrategy.ORIGIN_NETWORK;
79 private static final int[] ARBITRARY_ORIGIN_PRIORITIES = { ORIGIN_NETWORK };