Searched refs:mNitzStateMachine (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | OldNitzStateMachineTest.java | 87 private OldNitzStateMachine mNitzStateMachine; field in OldNitzStateMachineTest 96 mNitzStateMachine = new OldNitzStateMachine( in setUp() 178 assertTrue(mNitzStateMachine.getNitzTimeZoneDetectionSuccessful()); in test_uniqueUsZone_timeEnabledTimeZoneEnabled_countryThenNitz() 179 assertEquals(scenario.getNitzSignal().getValue(), mNitzStateMachine.getCachedNitzData()); in test_uniqueUsZone_timeEnabledTimeZoneEnabled_countryThenNitz() 180 assertEquals(scenario.getTimeZoneId(), mNitzStateMachine.getSavedTimeZoneId()); in test_uniqueUsZone_timeEnabledTimeZoneEnabled_countryThenNitz() 206 assertTrue(mNitzStateMachine.getNitzTimeZoneDetectionSuccessful()); in test_unitedKingdom_timeEnabledTimeZoneEnabled_countryThenNitz() 207 assertEquals(scenario.getNitzSignal().getValue(), mNitzStateMachine.getCachedNitzData()); in test_unitedKingdom_timeEnabledTimeZoneEnabled_countryThenNitz() 208 assertEquals(scenario.getTimeZoneId(), mNitzStateMachine.getSavedTimeZoneId()); in test_unitedKingdom_timeEnabledTimeZoneEnabled_countryThenNitz() 233 assertTrue(mNitzStateMachine.getNitzTimeZoneDetectionSuccessful()); in test_uniqueUsZone_timeEnabledTimeZoneDisabled_countryThenNitz() 234 assertEquals(scenario.getNitzSignal().getValue(), mNitzStateMachine.getCachedNitzData()); in test_uniqueUsZone_timeEnabledTimeZoneDisabled_countryThenNitz() [all …]
|
D | NewNitzStateMachineTest.java | 86 private NewNitzStateMachine mNitzStateMachine; field in NewNitzStateMachineTest 95 mNitzStateMachine = new NewNitzStateMachine( in setUp() 173 assertTrue(mNitzStateMachine.getNitzTimeZoneDetectionSuccessful()); in test_uniqueUsZone_timeZoneEnabled_countryThenNitz() 174 assertEquals(scenario.getNitzSignal().getValue(), mNitzStateMachine.getCachedNitzData()); in test_uniqueUsZone_timeZoneEnabled_countryThenNitz() 175 assertEquals(scenario.getTimeZoneId(), mNitzStateMachine.getSavedTimeZoneId()); in test_uniqueUsZone_timeZoneEnabled_countryThenNitz() 197 assertTrue(mNitzStateMachine.getNitzTimeZoneDetectionSuccessful()); in test_unitedKingdom_timeZoneEnabled_countryThenNitz() 198 assertEquals(scenario.getNitzSignal().getValue(), mNitzStateMachine.getCachedNitzData()); in test_unitedKingdom_timeZoneEnabled_countryThenNitz() 199 assertEquals(scenario.getTimeZoneId(), mNitzStateMachine.getSavedTimeZoneId()); in test_unitedKingdom_timeZoneEnabled_countryThenNitz() 220 assertTrue(mNitzStateMachine.getNitzTimeZoneDetectionSuccessful()); in test_uniqueUsZone_timeZoneDisabled_countryThenNitz() 221 assertEquals(scenario.getNitzSignal().getValue(), mNitzStateMachine.getCachedNitzData()); in test_uniqueUsZone_timeZoneDisabled_countryThenNitz() [all …]
|
D | LocaleTrackerTest.java | 69 mLocaleTracker = new LocaleTracker(mPhone, mNitzStateMachine, this.getLooper()); in onLooperPrepared()
|
D | TelephonyTest.java | 226 protected NitzStateMachine mNitzStateMachine; field in TelephonyTest 422 doReturn(mNitzStateMachine).when(mTelephonyComponentFactory) in setUp()
|
D | ServiceStateTrackerTest.java | 1710 verify(mNitzStateMachine, times(0)).handleNitzReceived(any()); in testSetTimeFromNITZStr() 1721 verify(mNitzStateMachine, times(1)) in testSetTimeFromNITZStr()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | LocaleTracker.java | 93 private final NitzStateMachine mNitzStateMachine; field in LocaleTracker 184 mNitzStateMachine = nitzStateMachine; in LocaleTracker() 431 mNitzStateMachine.handleNetworkCountryCodeUnavailable(); in updateLocale() 433 mNitzStateMachine.handleNetworkCountryCodeSet(countryChanged); in updateLocale()
|