Home
last modified time | relevance | path

Searched refs:EmergencyStateTracker (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java28 import static com.android.internal.telephony.emergency.EmergencyStateTracker.DEFAULT_WAIT_FOR_IN_SE…
109 @Mock EmergencyStateTracker.PhoneFactoryProxy mPhoneFactoryProxy;
110 @Mock EmergencyStateTracker.PhoneSwitcherProxy mPhoneSwitcherProxy;
111 @Mock EmergencyStateTracker.TelephonyManagerProxy mTelephonyManagerProxy;
135 EmergencyStateTracker.getInstance(); in getInstance_notInitializedTillMake()
138 EmergencyStateTracker.make(mContext, true); in getInstance_notInitializedTillMake()
140 assertNotNull(EmergencyStateTracker.getInstance()); in getInstance_notInitializedTillMake()
146 EmergencyStateTracker.make(mContext, true); in getInstance_returnsSameInstance()
147 EmergencyStateTracker instance1 = EmergencyStateTracker.getInstance(); in getInstance_returnsSameInstance()
148 EmergencyStateTracker instance2 = EmergencyStateTracker.getInstance(); in getInstance_returnsSameInstance()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DEmergencySmsDomainSelectionConnection.java32 import com.android.internal.telephony.emergency.EmergencyStateTracker;
41 private @NonNull EmergencyStateTracker mEmergencyStateTracker;
47 this(phone, controller, EmergencyStateTracker.getInstance()); in EmergencySmsDomainSelectionConnection()
52 DomainSelectionController controller, EmergencyStateTracker tracker) { in EmergencySmsDomainSelectionConnection()
73 EmergencyStateTracker.EMERGENCY_TYPE_SMS, MODE_EMERGENCY_WLAN); in onWlanSelected()
95 EmergencyStateTracker.EMERGENCY_TYPE_SMS, MODE_EMERGENCY_WWAN); in onWwanSelected()
DEmergencyCallDomainSelectionConnection.java49 import com.android.internal.telephony.emergency.EmergencyStateTracker;
61 private @NonNull EmergencyStateTracker mEmergencyStateTracker = null;
73 this(phone, controller, EmergencyStateTracker.getInstance()); in EmergencyCallDomainSelectionConnection()
85 @NonNull DomainSelectionController controller, @NonNull EmergencyStateTracker tracker) { in EmergencyCallDomainSelectionConnection()
96 EmergencyStateTracker.EMERGENCY_TYPE_CALL, MODE_EMERGENCY_WLAN); in onWlanSelected()
115 EmergencyStateTracker.EMERGENCY_TYPE_CALL, MODE_EMERGENCY_WWAN); in onWwanSelected()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DEmergencyCallDomainSelectionConnectionTest.java61 import com.android.internal.telephony.emergency.EmergencyStateTracker;
85 private EmergencyStateTracker mEmergencyStateTracker;
95 mEmergencyStateTracker = Mockito.mock(EmergencyStateTracker.class); in setUp()
158 eq(EmergencyStateTracker.EMERGENCY_TYPE_CALL), eq(MODE_EMERGENCY_WLAN)); in testSelectDomainWifi()
191 eq(EmergencyStateTracker.EMERGENCY_TYPE_CALL), eq(MODE_EMERGENCY_WWAN)); in testSelectDomainCs()
229 eq(EmergencyStateTracker.EMERGENCY_TYPE_CALL), eq(MODE_EMERGENCY_WWAN)); in testSelectDomainPs()
DEmergencySmsDomainSelectionConnectionTest.java51 import com.android.internal.telephony.emergency.EmergencyStateTracker;
73 private EmergencyStateTracker mEmergencyStateTracker;
94 mEmergencyStateTracker = Mockito.mock(EmergencyStateTracker.class); in setUp()
135 eq(EmergencyStateTracker.EMERGENCY_TYPE_SMS), eq(MODE_EMERGENCY_WLAN)); in testOnWlanSelected()
157 eq(EmergencyStateTracker.EMERGENCY_TYPE_SMS), eq(MODE_EMERGENCY_WLAN)); in testOnWlanSelectedWithDifferentTransportType()
193 eq(EmergencyStateTracker.EMERGENCY_TYPE_SMS), eq(MODE_EMERGENCY_WLAN)); in testOnWlanSelectedWithDifferentTransportTypeAndImsPdn()
224 eq(EmergencyStateTracker.EMERGENCY_TYPE_SMS), eq(MODE_EMERGENCY_WLAN)); in testOnWlanSelectedWithDifferentTransportTypeWhilePreferredTransportChanged()
249 eq(EmergencyStateTracker.EMERGENCY_TYPE_SMS), eq(MODE_EMERGENCY_WWAN)); in testOnWwanSelected()
/frameworks/opt/telephony/
DOWNERS21 per-file EmergencyStateTracker*=hwangoo@google.com,forestchoi@google.com,avinashmp@google.com,mkoon…
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java83 public class EmergencyStateTracker { class
132 private static EmergencyStateTracker INSTANCE = null;
463 INSTANCE = new EmergencyStateTracker(context, Looper.myLooper(), in make()
473 public static EmergencyStateTracker getInstance() { in getInstance()
483 private EmergencyStateTracker(Context context, Looper looper, in EmergencyStateTracker() method in EmergencyStateTracker
528 public EmergencyStateTracker(Context context, Looper looper, in EmergencyStateTracker() method in EmergencyStateTracker
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsDispatchersController.java60 import com.android.internal.telephony.emergency.EmergencyStateTracker;
346 private EmergencyStateTracker mEmergencyStateTracker;
1119 mEmergencyStateTracker = EmergencyStateTracker.getInstance(); in handleSendSmsUsingDomainSelection()
DGsmCdmaCallTracker.java50 import com.android.internal.telephony.emergency.EmergencyStateTracker;
512 EmergencyStateTracker.getInstance().exitEmergencyCallbackMode(onComplete); in dialCdma()
DPhone.java96 import com.android.internal.telephony.emergency.EmergencyStateTracker;
3002 return EmergencyStateTracker.getInstance().isInEcm(); in getInEcmMode()
3014 return EmergencyStateTracker.getInstance().isInEcm(); in isInEcm()
3025 return EmergencyStateTracker.getInstance().isInCdmaEcm(); in isInCdmaEcm()
DGsmCdmaPhone.java109 import com.android.internal.telephony.emergency.EmergencyStateTracker;
603 EmergencyStateTracker.getInstance().exitEmergencyCallbackMode(); in initRatSpecific()
3301 EmergencyStateTracker.getInstance().exitEmergencyCallbackMode(); in handleMessage()
4191 EmergencyStateTracker.getInstance().exitEmergencyCallbackMode(); in exitEmergencyCallbackMode()
DServiceStateTracker.java98 import com.android.internal.telephony.emergency.EmergencyStateTracker;
4984 EmergencyStateTracker.getInstance().onCellularRadioPowerOffRequested(); in powerOffRadioSafely()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java96 import com.android.internal.telephony.emergency.EmergencyStateTracker;
2715 EmergencyStateTracker est = Mockito.mock(EmergencyStateTracker.class); in testEcbmWhenDomainSelectionEnabled()
2716 replaceInstance(EmergencyStateTracker.class, "INSTANCE", null, est); in testEcbmWhenDomainSelectionEnabled()
2757 EmergencyStateTracker est = Mockito.mock(EmergencyStateTracker.class); in testEcbmOnModemResetWhenDomainSelectionEnabled()
2759 replaceInstance(EmergencyStateTracker.class, "INSTANCE", null, est); in testEcbmOnModemResetWhenDomainSelectionEnabled()
DSmsDispatchersControllerTest.java65 import com.android.internal.telephony.emergency.EmergencyStateTracker;
188 private EmergencyStateTracker mEmergencyStateTracker;
1137 mEmergencyStateTracker = Mockito.mock(EmergencyStateTracker.class); in setUpEmergencyStateTracker()
DServiceStateTrackerTest.java102 import com.android.internal.telephony.emergency.EmergencyStateTracker;
149 private EmergencyStateTracker mEmergencyStateTracker;
396 mEmergencyStateTracker = Mockito.mock(EmergencyStateTracker.class); in setUp()
397 replaceInstance(EmergencyStateTracker.class, "INSTANCE", null, mEmergencyStateTracker); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java127 import com.android.internal.telephony.emergency.EmergencyStateTracker;
941 return EmergencyStateTracker.getInstance().isInImsEcm(); in isInImsEcm()
DImsPhoneCallTracker.java150 import com.android.internal.telephony.emergency.EmergencyStateTracker;
1795 EmergencyStateTracker.getInstance().exitEmergencyCallbackMode(onComplete); in dial()