Home
last modified time | relevance | path

Searched refs:NitzData (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNitzDataTest.java33 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,4"); in testParse_withDst()
64 NitzData nitz = NitzData.parse("15/06/20,01:02:03-8,4"); in testParse_withDst()
76 NitzData nitz = NitzData.parse("15/06/20,01:02:03+4"); in testParse_noDstField()
83 NitzData nitz = NitzData.parse("15/06/20,01:02:03-4"); in testParse_noDstField()
93 NitzData nitz = NitzData.parse("15/06/20,01:02:03-32,4,America!Los_Angeles"); in testParse_androidEmulatorTimeZoneExtension()
103 assertNotNull(NitzData.parse("15/06/20,01:02:03-32").toString()); in testToString()
104 assertNotNull(NitzData.parse("15/06/20,01:02:03-32,4").toString()); in testToString()
[all …]
DTimeZoneLookupHelperTest.java77 NitzData lonSummerNitzDataWithOffset = NitzData.parse(lonSummerTimeString + ",4"); in testLookupByNitzdByNitz()
84 NitzData lonWinterNitzDataWithOffset = NitzData.parse(lonWinterTimeString + ",0"); in testLookupByNitzdByNitz()
91 NitzData lonSummerNitzDataWithoutOffset = NitzData.parse(lonSummerTimeString); in testLookupByNitzdByNitz()
98 NitzData lonWinterNitzDataWithoutOffset = NitzData.parse(lonWinterTimeString); in testLookupByNitzdByNitz()
118 NitzData mtvSummerNitzDataWithOffset = NitzData.parse(mtvSummerTimeString + ",4"); in testLookupByNitzdByNitz()
125 NitzData mtvWinterNitzDataWithOffset = NitzData.parse(mtvWinterTimeString + ",0"); in testLookupByNitzdByNitz()
132 NitzData mtvSummerNitzDataWithoutOffset = NitzData.parse(mtvSummerTimeString); in testLookupByNitzdByNitz()
139 NitzData mtvWinterNitzDataWithoutOffset = NitzData.parse(mtvWinterTimeString); in testLookupByNitzdByNitz()
165 NitzData nitzData = NitzData.parse(summerTimeNitzStringWithDst); in testLookupByNitzCountry()
192 NitzData nitzData = NitzData.parse(winterTimeNitzStringWithDst); in testLookupByNitzCountry()
[all …]
DNitzStateMachineTest.java446 Script nitzReceived(TimeStampedValue<NitzData> nitzSignal) { in nitzReceived()
551 void nitzSignalReceived(TimeStampedValue<NitzData> nitzSignal) { in nitzSignalReceived()
638 private TimeStampedValue<NitzData> mNitzSignal;
649 TimeStampedValue<NitzData> getNitzSignal() { in getNitzSignal()
654 NitzData nitzData = NitzData in getNitzSignal()
DServiceStateTrackerTest.java1493 NitzData expectedNitzData = NitzData.parse(nitzStr); in testSetTimeFromNITZStr()
1497 ArgumentCaptor<TimeStampedValue<NitzData>> argumentsCaptor = in testSetTimeFromNITZStr()
1503 TimeStampedValue<NitzData> actualNitzSignal = argumentsCaptor.getValue(); in testSetTimeFromNITZStr()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNitzData.java35 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()
197 NitzData nitzData = (NitzData) o; in equals()
DNitzStateMachine.java127 private TimeStampedValue<NitzData> mLatestNitzSignal;
264 NitzData nitzData = mLatestNitzSignal.mValue; in handleNetworkCountryCodeSet()
303 NitzData nitzData = mLatestNitzSignal.mValue; in handleNetworkCountryCodeSet()
343 String isoCountryCode, TimeStampedValue<NitzData> nitzSignal) { in countryUsesUtc()
377 private static boolean nitzOffsetMightBeBogus(NitzData nitzData) { in nitzOffsetMightBeBogus()
384 public void handleNitzReceived(TimeStampedValue<NitzData> nitzSignal) { in handleNitzReceived()
389 private void handleTimeZoneFromNitz(TimeStampedValue<NitzData> nitzSignal) { in handleTimeZoneFromNitz()
391 NitzData newNitzData = nitzSignal.mValue; in handleTimeZoneFromNitz()
452 private static boolean offsetInfoDiffers(NitzData one, NitzData two) { in offsetInfoDiffers()
457 private void handleTimeFromNitz(TimeStampedValue<NitzData> nitzSignal) { in handleTimeFromNitz()
[all …]
DTimeZoneLookupHelper.java157 public OffsetResult lookupByNitzCountry(NitzData nitzData, String isoCountryCode) { in lookupByNitzCountry()
183 public OffsetResult lookupByNitz(NitzData nitzData) { in lookupByNitz()
220 static TimeZone guessZoneByNitzStatic(NitzData nitzData) { in guessZoneByNitzStatic()
225 private static OffsetResult lookupByNitzStatic(NitzData nitzData) { in lookupByNitzStatic()
DServiceStateTracker.java3201 NitzData lastNitzData = mNitzState.getCachedNitzData(); in fixUnknownMcc()
3219 NitzData nitzData = mNitzState.getCachedNitzData(); in fixUnknownMcc()
3543 NitzData newNitzData = NitzData.parse(nitzString); in setTimeFromNITZString()
3546 TimeStampedValue<NitzData> nitzSignal = in setTimeFromNITZString()
/frameworks/base/config/
Dboot-image-profile.txt40413 HSPLcom/android/internal/telephony/NitzData;-><init>(Ljava/lang/String;ILjava/lang/Integer;JLjava/u…
40414 HSPLcom/android/internal/telephony/NitzData;->parse(Ljava/lang/String;)Lcom/android/internal/teleph…
40415 HSPLcom/android/internal/telephony/NitzData;->toString()Ljava/lang/String;
40953 …eZoneLookupHelper;->lookupByNitzCountry(Lcom/android/internal/telephony/NitzData;Ljava/lang/String…
60243 Lcom/android/internal/telephony/NitzData;