Home
last modified time | relevance | path

Searched refs:mLocaleTracker (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DLocaleTrackerTest.java65 private LocaleTracker mLocaleTracker; field in LocaleTrackerTest
74 mLocaleTracker = new LocaleTracker(mPhone, mNitzStateMachine, Looper.myLooper()); in setUp()
103 mLocaleTracker.sendMessage( in sendServiceState()
104 mLocaleTracker.obtainMessage(2 /*SERVICE_STATE_CHANGED*/, ar)); in sendServiceState()
110 mLocaleTracker in sendGsmCellInfo()
118 mLocaleTracker.sendMessage(mLocaleTracker.obtainMessage(6 /* EVENT_OPERATOR_LOST */)); in sendOperatorLost()
138 mLocaleTracker.updateOperatorNumeric(US_MCC + FAKE_MNC); in testUpdateOperatorNumericSync()
140 assertEquals(COUNTRY_CODE_UNAVAILABLE, mLocaleTracker.getCurrentCountry()); in testUpdateOperatorNumericSync()
148 assertEquals(US_COUNTRY_CODE, mLocaleTracker.getCurrentCountry()); in testNoSim()
152 mLocaleTracker.updateOperatorNumeric(""); in testNoSim()
[all …]
DTelephonyTest.java265 protected LocaleTracker mLocaleTracker; field in TelephonyTest
487 doReturn(mLocaleTracker).when(mTelephonyComponentFactory) in setUp()
DServiceStateTrackerTest.java2544 doReturn("us").when(mLocaleTracker).getCurrentCountry(); in testShouldForceDisplayNoService_forceBasedOnLocale()
2554 doReturn("us").when(mLocaleTracker).getCurrentCountry(); in testShouldForceDisplayNoService_forceBasedOnLocale()
2558 doReturn("de").when(mLocaleTracker).getCurrentCountry(); in testShouldForceDisplayNoService_forceBasedOnLocale()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java359 private final LocaleTracker mLocaleTracker; field in ServiceStateTracker
655 mLocaleTracker = TelephonyComponentFactory.getInstance() in ServiceStateTracker()
2869 String currentCountry = mLocaleTracker.getCurrentCountry(); in shouldForceDisplayNoService()
3492 mLocaleTracker.updateOperatorNumeric(""); in pollStateDone()
3497 mLocaleTracker.updateOperatorNumeric(localeOperator); in pollStateDone()
5245 mLocaleTracker.dump(fd, pw, args); in dump()
5629 return mLocaleTracker; in getLocaleTracker()