Home
last modified time | relevance | path

Searched refs:mPhoneFactoryProxy (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DIccSmsInterfaceManagerTest.java57 protected IccSmsInterfaceManager.PhoneFactoryProxy mPhoneFactoryProxy; field in IccSmsInterfaceManagerTest
66 mPhoneFactoryProxy = mock(IccSmsInterfaceManager.PhoneFactoryProxy.class); in setUp()
67 mIccSmsInterfaceManager.setPhoneFactoryProxy(mPhoneFactoryProxy); in setUp()
163 when(mPhoneFactoryProxy.getPhones()).thenReturn(phones); in testNotifyIfOutgoingEmergencySmsWithDualSim()
DConnectionTest.java53 protected Connection.PhoneFactoryProxy mPhoneFactoryProxy; field in ConnectionTest
140 mPhoneFactoryProxy = mock(Connection.PhoneFactoryProxy.class); in setUp()
141 mTestConnection.setPhoneFactoryProxy(mPhoneFactoryProxy); in setUp()
184 when(mPhoneFactoryProxy.getPhones()).thenReturn(phones); in testSetEmergencyCallInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java215 private PhoneFactoryProxy mPhoneFactoryProxy = PhoneFactory::getPhones; field in EmergencyStateTracker
535 mPhoneFactoryProxy = phoneFactoryProxy; in EmergencyStateTracker()
1529 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in isRadioOn()
1539 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in isPowerOff()
1548 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in registerForVoiceRegStateOrRatChanged()
1557 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in unregisterForVoiceRegStateOrRatChanged()
1977 Phone[] phones = mPhoneFactoryProxy.getPhones(); in maybeRejectIncomingCall()
2027 Phone[] phones = mPhoneFactoryProxy.getPhones(); in registerForNewRingingConnection()
2148 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in isThereOtherPhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java352 private PhoneFactoryProxy mPhoneFactoryProxy = new PhoneFactoryProxy() { field in Connection
374 mPhoneFactoryProxy = proxy; in setPhoneFactoryProxy()
645 Phone[] allPhones = mPhoneFactoryProxy.getPhones(); in setEmergencyCallInfo()
DIccSmsInterfaceManager.java191 private PhoneFactoryProxy mPhoneFactoryProxy = new PhoneFactoryProxy() { field in IccSmsInterfaceManager
213 mPhoneFactoryProxy = proxy; in setPhoneFactoryProxy()
1507 Phone[] allPhones = mPhoneFactoryProxy.getPhones(); in notifyIfOutgoingEmergencySms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java109 @Mock EmergencyStateTracker.PhoneFactoryProxy mPhoneFactoryProxy; field in EmergencyStateTrackerTest
3381 isSuplDdsSwitchRequiredForEmergencyCall, mPhoneFactoryProxy, mPhoneSwitcherProxy, in setupEmergencyStateTracker()
3397 when(mPhoneFactoryProxy.getPhones()).thenReturn(phones.toArray(new Phone[phones.size()])); in setupTestPhoneForEmergencyCall()
3403 Phone[] phones = mPhoneFactoryProxy.getPhones(); in getPhone()