Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNitzDataTest.java33 assertNull(NitzData.parse("00/06/20,00:00:00+0,0")); in testParse_invalidYear()
38 NitzData nitz = NitzData.parse("40/06/20,01:02:03+4,1"); in testParse_beyond2038()
50 assertNull(NitzData.parse("22/06/20,00:00:00")); in testParse_missingRequiredFields()
58 NitzData nitz = NitzData.parse("15/06/20,01:02:03-1,0"); in testParse_withDst()
65 NitzData nitz = NitzData.parse("15/06/20,01:02:03+8,1"); in testParse_withDst()
72 NitzData nitz = NitzData.parse("15/06/20,01:02:03-8,1"); in testParse_withDst()
83 NitzData nitz = NitzData.parse("15/06/20,01:02:03+4"); in testParse_noDstField()
90 NitzData nitz = NitzData.parse("15/06/20,01:02:03-4"); in testParse_noDstField()
100 NitzData nitz = NitzData.parse("15/06/20,01:02:03-32,1,America!Los_Angeles"); in testParse_androidEmulatorTimeZoneExtension()
109 assertNotNull(NitzData.parse("15/06/20,01:02:03-32").toString()); in testToString()
[all …]
DNitzSignalTest.java30 NitzData nitzData1 = NitzData.createForTests(0, 0, 1234, null); in testEqualsAndHashCode()
42 NitzData nitzData2 = NitzData.createForTests(0, 0, 2345, null); in testEqualsAndHashCode()
51 NitzData nitzData = NitzData.createForTests(0, 0, 1234, null); in testGetAgeAdjustedRealtimeMillis_zeroAge()
65 NitzData nitzData = NitzData.createForTests(0, 0, 1234, null); in testGetAgeAdjustedRealtimeMillis_withAge()
DServiceStateTrackerTest.java2005 NitzData expectedNitzData = NitzData.parse(nitzStr); in testSetTimeFromNITZStr_withoutAge()
2030 NitzData expectedNitzData = NitzData.parse(nitzStr); in testSetTimeFromNITZStr_withAge()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneLookupHelperTest.java35 import com.android.internal.telephony.NitzData;
91 NitzData lonSummerNitzDataWithOffset = NitzData.parse(lonSummerTimeString + ",4"); in testLookupByNitzByNitz()
98 NitzData lonWinterNitzDataWithOffset = NitzData.parse(lonWinterTimeString + ",0"); in testLookupByNitzByNitz()
105 NitzData lonSummerNitzDataWithoutOffset = NitzData.parse(lonSummerTimeString); in testLookupByNitzByNitz()
112 NitzData lonWinterNitzDataWithoutOffset = NitzData.parse(lonWinterTimeString); in testLookupByNitzByNitz()
132 NitzData mtvSummerNitzDataWithOffset = NitzData.parse(mtvSummerTimeString + ",4"); in testLookupByNitzByNitz()
139 NitzData mtvWinterNitzDataWithOffset = NitzData.parse(mtvWinterTimeString + ",0"); in testLookupByNitzByNitz()
146 NitzData mtvSummerNitzDataWithoutOffset = NitzData.parse(mtvSummerTimeString); in testLookupByNitzByNitz()
153 NitzData mtvWinterNitzDataWithoutOffset = NitzData.parse(mtvWinterTimeString); in testLookupByNitzByNitz()
170 NitzData nitzData = NitzData.parse(nitzString); in testLookupByNitzCountry_filterByEffectiveDate()
[all …]
DNitzSignalInputFilterPredicateFactoryTest.java31 import com.android.internal.telephony.NitzData;
204 NitzData baseNitzData = scenario.createNitzData(); in testTrivalentPredicate_rateLimitCheck_elapsedRealtime_zeroAge()
248 NitzData baseNitzData = scenario.createNitzData(); in testTrivalentPredicate_rateLimitCheck_elapsedRealtime_withAge()
307 NitzData baseNitzData = scenario.createNitzData(); in testTrivalentPredicate_rateLimitCheck_offsetDifference()
317 NitzData intermediateNitzData = intermediateNitzSignal.getNitzData(); in testTrivalentPredicate_rateLimitCheck_offsetDifference()
325 NitzData differentOffsetNitzData = NitzData.createForTests( in testTrivalentPredicate_rateLimitCheck_offsetDifference()
350 NitzData baseNitzData = scenario.createNitzData(); in testTrivalentPredicate_rateLimitCheck_unixEpochTimeDifferences_withZeroAge()
411 NitzData baseNitzData = scenario.createNitzData(); in testTrivalentPredicate_rateLimitCheck_unixEpochTimeDifferences_withAge()
480 NitzData adjustedNitzData = in createAdjustedNitzSignal()
487 private static NitzData createAdjustedNitzData(NitzData baseData, int unixMillisAdjustment) { in createAdjustedNitzData()
[all …]
DTimeZoneSuggesterImplTest.java45 import com.android.internal.telephony.NitzData;
437 NitzData bogusNitzData = NitzData.createForTests( in test_bogusCzNitzSignal()
474 NitzData bogusNitzData = NitzData.createForTests( in test_bogusUniqueUsNitzSignal()
496 NitzData originalNitzData = originalNitzSignal.getNitzData(); in test_emulatorNitzExtensionUsedForTimeZone()
501 NitzData emulatorNitzData = NitzData.createForTests( in test_emulatorNitzExtensionUsedForTimeZone()
DNitzStateMachineTestSupport.java27 import com.android.internal.telephony.NitzData;
134 NitzData createNitzData() { in createNitzData()
138 return NitzData.createForTests( in createNitzData()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNitzData.java38 public final class NitzData { class
56 private NitzData(String originalString, int zoneOffsetMillis, Integer dstOffsetMillis, in NitzData() method in NitzData
71 public static NitzData parse(String nitz) { in parse()
137 return new NitzData(nitz, totalUtcOffsetMillis, dstAdjustmentMillis, epochMillis, zone); in parse()
145 public static NitzData createForTests(int zoneOffsetMillis, Integer dstOffsetMillis, in createForTests()
147 return new NitzData("Test data", zoneOffsetMillis, dstOffsetMillis, unixEpochTimeMillis, in createForTests()
225 NitzData nitzData = (NitzData) o; in equals()
DNitzSignal.java31 @NonNull private final NitzData mNitzData;
44 @NonNull NitzData nitzData, in NitzSignal()
67 public NitzData getNitzData() { in getNitzData()
DServiceStateTracker.java477 private NitzData mLastNitzData;
4137 NitzData lastNitzData = mLastNitzData; in fixUnknownMcc()
4461 NitzData newNitzData = NitzData.parse(nitzString); in setTimeFromNITZString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DNitzSignalInputFilterPredicateFactory.java26 import com.android.internal.telephony.NitzData;
189 NitzData newNitzData = newSignal.getNitzData();
190 NitzData previousNitzData = previousSignal.getNitzData();
242 private boolean offsetInfoIsTheSame(NitzData one, NitzData two) {
DTimeZoneSuggesterImpl.java28 import com.android.internal.telephony.NitzData;
63 NitzData nitzData = nitzSignal.getNitzData(); in getTimeZoneSuggestion()
140 NitzData nitzData = Objects.requireNonNull(nitzSignal.getNitzData()); in findTimeZoneForTestNetwork()
178 NitzData nitzData = Objects.requireNonNull(nitzSignal.getNitzData()); in findTimeZoneFromCountryAndNitz()
286 private boolean isNitzSignalOffsetInfoBogus(String countryIsoCode, NitzData nitzData) { in isNitzSignalOffsetInfoBogus()
296 private boolean countryUsesUtc(String countryIsoCode, NitzData nitzData) { in countryUsesUtc()
DTimeZoneLookupHelper.java33 import com.android.internal.telephony.NitzData;
130 @NonNull NitzData nitzData, @NonNull String isoCountryCode) { in lookupByNitzCountry()
167 public OffsetResult lookupByNitz(@NonNull NitzData nitzData) { in lookupByNitz()
DNitzStateMachineImpl.java28 import com.android.internal.telephony.NitzData;
407 public NitzData getLatestNitzData() {
413 public NitzData getLastNitzDataCleared() {
/frameworks/base/boot/
Dpreloaded-classes11872 com.android.internal.telephony.NitzData
Dboot-image-profile.txt34309 Lcom/android/internal/telephony/NitzData;
/frameworks/base/config/
Dpreloaded-classes11903 com.android.internal.telephony.NitzData
Dboot-image-profile.txt44470 Lcom/android/internal/telephony/NitzData;