/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactoryTest.java | 31 import com.android.internal.telephony.NitzData; 60 TimestampedValue<NitzData> nitzSignal = in testNitzSignalInputFilterPredicateImpl_nullSecondArgumentRejected() 75 TimestampedValue<NitzData> nitzSignal = scenario in testNitzSignalInputFilterPredicateImpl_defaultIsTrue() 85 TimestampedValue<NitzData> nitzSignal = in testNitzSignalInputFilterPredicateImpl_nullIsIgnored() 97 TimestampedValue<NitzData> nitzSignal = in testNitzSignalInputFilterPredicateImpl_trueIsHonored() 117 TimestampedValue<NitzData> nitzSignal = in testNitzSignalInputFilterPredicateImpl_falseIsHonored() 149 TimestampedValue<NitzData> nitzSignal = scenario.createNitzSignal(elapsedRealtimeClock); in testTrivalentPredicate_bogusElapsedRealtimeCheck() 156 TimestampedValue<NitzData> bogusNitzSignal = new TimestampedValue<>( in testTrivalentPredicate_bogusElapsedRealtimeCheck() 164 TimestampedValue<NitzData> nitzSignal = in testTrivalentPredicate_noOldSignalCheck() 177 NitzData baseNitzData = scenario.createNitzData(); in testTrivalentPredicate_rateLimitCheck_elapsedRealtime() [all …]
|
D | TimeZoneLookupHelperTest.java | 34 import com.android.internal.telephony.NitzData; 82 NitzData lonSummerNitzDataWithOffset = NitzData.parse(lonSummerTimeString + ",4"); in testLookupByNitzByNitz() 89 NitzData lonWinterNitzDataWithOffset = NitzData.parse(lonWinterTimeString + ",0"); in testLookupByNitzByNitz() 96 NitzData lonSummerNitzDataWithoutOffset = NitzData.parse(lonSummerTimeString); in testLookupByNitzByNitz() 103 NitzData lonWinterNitzDataWithoutOffset = NitzData.parse(lonWinterTimeString); in testLookupByNitzByNitz() 123 NitzData mtvSummerNitzDataWithOffset = NitzData.parse(mtvSummerTimeString + ",4"); in testLookupByNitzByNitz() 130 NitzData mtvWinterNitzDataWithOffset = NitzData.parse(mtvWinterTimeString + ",0"); in testLookupByNitzByNitz() 137 NitzData mtvSummerNitzDataWithoutOffset = NitzData.parse(mtvSummerTimeString); in testLookupByNitzByNitz() 144 NitzData mtvWinterNitzDataWithoutOffset = NitzData.parse(mtvWinterTimeString); in testLookupByNitzByNitz() 161 NitzData nitzData = NitzData.parse(nitzString); in testLookupByNitzCountry_filterByEffectiveDate() [all …]
|
D | TimeZoneSuggesterImplTest.java | 45 import com.android.internal.telephony.NitzData; 98 TimestampedValue<NitzData> nitzSignal = in test_emptySuggestionForNullCountryWithNitz() 174 TimestampedValue<NitzData> badNitzSignal = in test_uniqueUsZone() 244 TimestampedValue<NitzData> badNitzSignal = in test_nonUniqueUsZone() 317 TimestampedValue<NitzData> badNitzSignal = in test_unitedKingdom() 396 TimestampedValue<NitzData> badNitzSignal = in test_cz() 433 TimestampedValue<NitzData> goodNitzSignal = in test_bogusCzNitzSignal() 435 NitzData bogusNitzData = NitzData.createForTests( in test_bogusCzNitzSignal() 439 TimestampedValue<NitzData> badNitzSignal = new TimestampedValue<>( in test_bogusCzNitzSignal() 469 TimestampedValue<NitzData> goodNitzSignal = in test_bogusUniqueUsNitzSignal() [all …]
|
D | NitzStateMachineTestSupport.java | 28 import com.android.internal.telephony.NitzData; 124 TimestampedValue<NitzData> createNitzSignal(long elapsedRealtimeClock) { in createNitzSignal() 129 NitzData createNitzData() { in createNitzData() 133 return NitzData.createForTests( in createNitzData() 278 int slotIndex, TimestampedValue<NitzData> nitzSignal) { in createTimeSuggestionFromNitzSignal() 286 TimestampedValue<NitzData> nitzSignal) { in createTimeSignalFromNitzSignal()
|
D | NitzStateMachineImplTest.java | 41 import com.android.internal.telephony.NitzData; 108 TimestampedValue<NitzData> nitzSignal = in test_countryThenNitz() 149 TimestampedValue<NitzData> nitzSignal = in test_nitzThenCountry() 191 TimestampedValue<NitzData> nitzSignal = in test_emptyCountryString_countryReceivedFirst() 233 TimestampedValue<NitzData> nitzSignal = in test_emptyCountryStringUsTime_nitzReceivedFirst() 284 TimestampedValue<NitzData> preFlightNitzSignal = in test_airplaneModeClearsState() 350 TimestampedValue<NitzData> postFlightNitzSignal = in test_airplaneModeClearsState() 383 TimestampedValue<NitzData> initialNitzSignal = in test_handleNetworkUnavailableClearsNetworkState() 436 TimestampedValue<NitzData> finalNitzSignal = in test_handleNetworkUnavailableClearsNetworkState() 456 TimestampedValue<NitzData> nitzSignal = in test_countryUnavailableClearsTimeZoneSuggestion() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NitzDataTest.java | 33 assertNull(NitzData.parse("38/06/20,00:00:00+0")); in testParse_dateOutsideAllowedRange() 41 assertNull(NitzData.parse("38/06/20,00:00:00")); in testParse_missingRequiredFields() 49 NitzData nitz = NitzData.parse("15/06/20,01:02:03-1,0"); in testParse_withDst() 56 NitzData nitz = NitzData.parse("15/06/20,01:02:03+8,1"); in testParse_withDst() 63 NitzData nitz = NitzData.parse("15/06/20,01:02:03-8,1"); in testParse_withDst() 74 NitzData nitz = NitzData.parse("15/06/20,01:02:03+4"); in testParse_noDstField() 81 NitzData nitz = NitzData.parse("15/06/20,01:02:03-4"); in testParse_noDstField() 91 NitzData nitz = NitzData.parse("15/06/20,01:02:03-32,1,America!Los_Angeles"); in testParse_androidEmulatorTimeZoneExtension() 100 assertNotNull(NitzData.parse("15/06/20,01:02:03-32").toString()); in testToString() 101 assertNotNull(NitzData.parse("15/06/20,01:02:03-32,4").toString()); in testToString() [all …]
|
D | ServiceStateTrackerTest.java | 1887 NitzData expectedNitzData = NitzData.parse(nitzStr); in testSetTimeFromNITZStr() 1891 ArgumentCaptor<TimestampedValue<NitzData>> argumentsCaptor = in testSetTimeFromNITZStr() 1897 TimestampedValue<NitzData> actualNitzSignal = argumentsCaptor.getValue(); in testSetTimeFromNITZStr()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactory.java | 27 import com.android.internal.telephony.NitzData; 87 @Nullable TimestampedValue<NitzData> previousSignal, in mustProcessNitzSignal() 88 @NonNull TimestampedValue<NitzData> newSignal); in mustProcessNitzSignal() 181 @NonNull TimestampedValue<NitzData> previousSignal, 182 @NonNull TimestampedValue<NitzData> newSignal) { 188 NitzData newNitzData = newSignal.getValue(); 189 NitzData previousNitzData = previousSignal.getValue(); 231 private boolean offsetInfoIsTheSame(NitzData one, NitzData two) { 259 public boolean mustProcessNitzSignal(@Nullable TimestampedValue<NitzData> oldSignal, 260 @NonNull TimestampedValue<NitzData> newSignal) {
|
D | NitzStateMachineImpl.java | 27 import com.android.internal.telephony.NitzData; 71 @Nullable TimestampedValue<NitzData> oldSignal, in mustProcessNitzSignal() 72 @NonNull TimestampedValue<NitzData> newSignal); in mustProcessNitzSignal() 92 @Nullable TimestampedValue<NitzData> nitzSignal); in getTimeZoneSuggestion() 117 private TimestampedValue<NitzData> mLatestNitzSignal; 230 public void handleNitzReceived(@NonNull TimestampedValue<NitzData> nitzSignal) { in handleNitzReceived() 237 TimestampedValue<NitzData> previousNitzSignal = mLatestNitzSignal; in handleNitzReceived() 281 @Nullable String countryIsoCode, @Nullable TimestampedValue<NitzData> nitzSignal, in doTimeZoneDetection() 309 private void doTimeDetection(@Nullable TimestampedValue<NitzData> nitzSignal, in doTimeDetection() 352 public NitzData getCachedNitzData() { in getCachedNitzData()
|
D | TimeZoneSuggesterImpl.java | 29 import com.android.internal.telephony.NitzData; 58 @Nullable String countryIsoCode, @Nullable TimestampedValue<NitzData> nitzSignal) { in getTimeZoneSuggestion() 63 NitzData nitzData = nitzSignal.getValue(); in getTimeZoneSuggestion() 138 int slotIndex, @NonNull TimestampedValue<NitzData> nitzSignal) { in findTimeZoneForTestNetwork() 140 NitzData nitzData = Objects.requireNonNull(nitzSignal.getValue()); in findTimeZoneForTestNetwork() 169 @NonNull TimestampedValue<NitzData> nitzSignal) { in findTimeZoneFromCountryAndNitz() 178 NitzData nitzData = Objects.requireNonNull(nitzSignal.getValue()); in findTimeZoneFromCountryAndNitz() 286 private boolean isNitzSignalOffsetInfoBogus(String countryIsoCode, NitzData nitzData) { in isNitzSignalOffsetInfoBogus() 296 private boolean countryUsesUtc(String countryIsoCode, NitzData nitzData) { in countryUsesUtc()
|
D | TimeZoneLookupHelper.java | 33 import com.android.internal.telephony.NitzData; 130 @NonNull NitzData nitzData, @NonNull String isoCountryCode) { in lookupByNitzCountry() 167 public OffsetResult lookupByNitz(@NonNull NitzData nitzData) { in lookupByNitz()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NitzData.java | 34 public final class NitzData { class 53 private NitzData(String originalString, int zoneOffsetMillis, Integer dstOffsetMillis, in NitzData() method in NitzData 68 public static NitzData parse(String nitz) { in parse() 130 return new NitzData(nitz, totalUtcOffsetMillis, dstAdjustmentMillis, in parse() 139 public static NitzData createForTests(int zoneOffsetMillis, Integer dstOffsetMillis, in createForTests() 141 return new NitzData("Test data", zoneOffsetMillis, dstOffsetMillis, utcTimeMillis, in createForTests() 219 NitzData nitzData = (NitzData) o; in equals()
|
D | NitzStateMachine.java | 68 void handleNitzReceived(@NonNull TimestampedValue<NitzData> nitzSignal); in handleNitzReceived()
|
D | ServiceStateTracker.java | 472 private NitzData mLastNitzData; 3850 NitzData lastNitzData = mLastNitzData; in fixUnknownMcc() 4171 NitzData newNitzData = NitzData.parse(nitzString); in setTimeFromNITZString() 4175 TimestampedValue<NitzData> nitzSignal = in setTimeFromNITZString()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 22384 HSPLcom/android/internal/telephony/NitzData;-><init>(Ljava/lang/String;ILjava/lang/Integer;JLjava/u… 22385 HSPLcom/android/internal/telephony/NitzData;->parse(Ljava/lang/String;)Lcom/android/internal/teleph… 22386 HSPLcom/android/internal/telephony/NitzData;->toString()Ljava/lang/String; 23030 …eZoneLookupHelper;->lookupByNitzCountry(Lcom/android/internal/telephony/NitzData;Ljava/lang/String… 37713 Lcom/android/internal/telephony/NitzData;
|