Searched refs:nitzData (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelperTest.java | 161 NitzData nitzData = NitzData.parse(nitzString); in testLookupByNitzCountry_filterByEffectiveDate() local 164 OffsetResult offsetResult = mTimeZoneLookupHelper.lookupByNitzCountry(nitzData, usIso); in testLookupByNitzCountry_filterByEffectiveDate() 171 NitzData nitzData = NitzData.parse(nitzString); in testLookupByNitzCountry_filterByEffectiveDate() local 172 OffsetResult offsetResult = mTimeZoneLookupHelper.lookupByNitzCountry(nitzData, usIso); in testLookupByNitzCountry_filterByEffectiveDate() 186 NitzData nitzData = NitzData.parse(nitzString); in testLookupByNitzCountry_multipleMatches() local 187 OffsetResult offsetResult = mTimeZoneLookupHelper.lookupByNitzCountry(nitzData, usIso); in testLookupByNitzCountry_multipleMatches() 194 NitzData nitzData = NitzData.parse(nitzString); in testLookupByNitzCountry_multipleMatches() local 195 OffsetResult offsetResult = mTimeZoneLookupHelper.lookupByNitzCountry(nitzData, usIso); in testLookupByNitzCountry_multipleMatches() 203 NitzData nitzData = NitzData.parse(nitzString); in testLookupByNitzCountry_multipleMatches() local 204 OffsetResult offsetResult = mTimeZoneLookupHelper.lookupByNitzCountry(nitzData, usIso); in testLookupByNitzCountry_multipleMatches() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | TimeZoneSuggesterImpl.java | 63 NitzData nitzData = nitzSignal.getValue(); in getTimeZoneSuggestion() local 64 if (nitzData.getEmulatorHostTimeZone() != null) { in getTimeZoneSuggestion() 67 .setZoneId(nitzData.getEmulatorHostTimeZone().getID()) in getTimeZoneSuggestion() 70 .addDebugInfo("Emulator time zone override: " + nitzData); in getTimeZoneSuggestion() 140 NitzData nitzData = Objects.requireNonNull(nitzSignal.getValue()); in findTimeZoneForTestNetwork() local 146 mTimeZoneLookupHelper.lookupByNitz(nitzData); in findTimeZoneForTestNetwork() 178 NitzData nitzData = Objects.requireNonNull(nitzSignal.getValue()); in findTimeZoneFromCountryAndNitz() local 179 if (isNitzSignalOffsetInfoBogus(countryIsoCode, nitzData)) { in findTimeZoneFromCountryAndNitz() 187 mTimeZoneLookupHelper.lookupByNitzCountry(nitzData, countryIsoCode); in findTimeZoneFromCountryAndNitz() 203 countryIsoCode, nitzData.getCurrentTimeInMillis()); in findTimeZoneFromCountryAndNitz() [all …]
|
D | TimeZoneLookupHelper.java | 130 @NonNull NitzData nitzData, @NonNull String isoCountryCode) { in lookupByNitzCountry() 141 Integer dstAdjustmentMillis = nitzData.getDstAdjustmentMillis(); in lookupByNitzCountry() 144 nitzData.getCurrentTimeInMillis(), bias, nitzData.getLocalOffsetMillis()); in lookupByNitzCountry() 151 nitzData.getCurrentTimeInMillis(), bias, in lookupByNitzCountry() 152 nitzData.getLocalOffsetMillis(), isDst); in lookupByNitzCountry() 167 public OffsetResult lookupByNitz(@NonNull NitzData nitzData) { in lookupByNitz() argument 168 int utcOffsetMillis = nitzData.getLocalOffsetMillis(); in lookupByNitz() 169 long timeMillis = nitzData.getCurrentTimeInMillis(); in lookupByNitz() 175 Integer dstAdjustmentMillis = nitzData.getDstAdjustmentMillis(); in lookupByNitz()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NitzData.java | 219 NitzData nitzData = (NitzData) o; in equals() local 221 if (mZoneOffset != nitzData.mZoneOffset) { in equals() 224 if (mCurrentTimeMillis != nitzData.mCurrentTimeMillis) { in equals() 227 if (!mOriginalString.equals(nitzData.mOriginalString)) { in equals() 230 if (mDstOffset != null ? !mDstOffset.equals(nitzData.mDstOffset) in equals() 231 : nitzData.mDstOffset != null) { in equals() 235 .equals(nitzData.mEmulatorHostTimeZone) : nitzData.mEmulatorHostTimeZone == null; in equals()
|