Home
last modified time | relevance | path

Searched refs:PhoneSwitcher (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DPhoneSwitcher.java114 public class PhoneSwitcher extends Handler { class
207 Message.obtain(PhoneSwitcher.this,
213 Message.obtain(PhoneSwitcher.this,
225 protected static PhoneSwitcher sPhoneSwitcher = null;
414 public static PhoneSwitcher getInstance() { in getInstance()
421 public static PhoneSwitcher make(int maxDataAttachModemCount, Context context, Looper looper, in make()
424 sPhoneSwitcher = new PhoneSwitcher(maxDataAttachModemCount, context, looper, flags); in make()
481 public PhoneSwitcher(int maxActivePhones, Context context, Looper looper, in PhoneSwitcher() method in PhoneSwitcher
530 PhoneSwitcher.this.onDataEnabledChanged(); in PhoneSwitcher()
534 PhoneSwitcher.this.mAutoDataSwitchController.evaluateAutoDataSwitch( in PhoneSwitcher()
[all …]
DTelephonyNetworkFactory.java66 private final PhoneSwitcher mPhoneSwitcher;
106 mPhoneSwitcher = PhoneSwitcher.getInstance(); in TelephonyNetworkFactory()
DAutoDataSwitchController.java149 private final PhoneSwitcher mPhoneSwitcher;
347 @NonNull PhoneSwitcher phoneSwitcher, @NonNull FeatureFlags featureFlags,
DDataNetwork.java2121 int preferredDataPhoneId = PhoneSwitcher.getInstance().getPreferredDataPhoneId();
DDataNetworkController.java1438 && mPhone.getPhoneId() != PhoneSwitcher.getInstance().getPreferredDataPhoneId() in serviceStateAllowsPSAttach()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DTelephonyNetworkFactoryTest.java66 PhoneSwitcher mPhoneSwitcher;
149 mPhoneSwitcher = mock(PhoneSwitcher.class); in setUp()
192 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mPhoneSwitcher); in createMockedTelephonyComponents()
DPhoneSwitcherTest.java34 import static com.android.internal.telephony.data.PhoneSwitcher.ECBM_DEFAULT_DATA_SWITCH_BASE_TIME_…
135 PhoneSwitcher.ImsRegTechProvider mMockImsRegTechProvider;
136 PhoneSwitcher.ImsRegisterCallback mMockImsRegisterCallback;
141 private PhoneSwitcher mPhoneSwitcherUT;
177 mMockImsRegTechProvider = mock(PhoneSwitcher.ImsRegTechProvider.class); in setUp()
178 mMockImsRegisterCallback = mock(PhoneSwitcher.ImsRegisterCallback.class); in setUp()
1238 PhoneSwitcher.ECBM_DEFAULT_DATA_SWITCH_BASE_TIME_MS = 500; in testEmergencyOverrideEndSuccess()
1276 PhoneSwitcher.ECBM_DEFAULT_DATA_SWITCH_BASE_TIME_MS = 500; in testEmergencyOverrideEcbmStartEnd()
1326 PhoneSwitcher.DEFAULT_DATA_OVERRIDE_TIMEOUT_MS = 500; in testEmergencyOverrideNoCallStart()
1344 moveTimeForward(PhoneSwitcher.DEFAULT_DATA_OVERRIDE_TIMEOUT_MS); in testEmergencyOverrideNoCallStart()
[all …]
DDataNetworkTest.java241 private PhoneSwitcher mMockedPhoneSwitcher;
388 mMockedPhoneSwitcher = Mockito.mock(PhoneSwitcher.class); in setUp()
389 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mMockedPhoneSwitcher); in setUp()
DDataNetworkControllerTest.java161 private PhoneSwitcher mMockedPhoneSwitcher;
856 mMockedPhoneSwitcher = Mockito.mock(PhoneSwitcher.class); in setUp()
878 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mMockedPhoneSwitcher); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyComponentFactory.java41 import com.android.internal.telephony.data.PhoneSwitcher;
493 public PhoneSwitcher makePhoneSwitcher(int maxDataAttachModemCount, Context context,
495 return PhoneSwitcher.make(maxDataAttachModemCount, context, looper, featureFlags);
DPhoneFactory.java47 import com.android.internal.telephony.data.PhoneSwitcher;
102 static private PhoneSwitcher sPhoneSwitcher;
272 PhoneSwitcher.class.getName()). in makeDefaultPhone()
DProxyController.java36 import com.android.internal.telephony.data.PhoneSwitcher;
79 private PhoneSwitcher mPhoneSwitcher;
143 mPhoneSwitcher = PhoneSwitcher.getInstance(); in ProxyController()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java111 import com.android.internal.telephony.data.PhoneSwitcher;
236 protected PhoneSwitcher mPhoneSwitcher;
523 mPhoneSwitcher = Mockito.mock(PhoneSwitcher.class); in setUp()
946 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mPhoneSwitcher); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java104 import com.android.internal.telephony.data.PhoneSwitcher;
2658 PhoneSwitcher phoneSwitcher = PhoneSwitcher.getInstance(); in setPreferredDataSubscriptionId()
2692 PhoneSwitcher phoneSwitcher = PhoneSwitcher.getInstance(); in getPreferredDataSubscriptionId()
3569 PhoneSwitcher phoneSwitcher = PhoneSwitcher.getInstance(); in getActiveDataSubscriptionId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java67 import com.android.internal.telephony.data.PhoneSwitcher;
221 PhoneSwitcher getPhoneSwitcher(); in getPhoneSwitcher()
224 private PhoneSwitcherProxy mPhoneSwitcherProxy = PhoneSwitcher::getInstance;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java82 import com.android.internal.telephony.data.PhoneSwitcher;
112 @Mock PhoneSwitcher mPhoneSwitcher;