/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | PhoneSwitcher.java | 114 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 …]
|
D | TelephonyNetworkFactory.java | 66 private final PhoneSwitcher mPhoneSwitcher; 106 mPhoneSwitcher = PhoneSwitcher.getInstance(); in TelephonyNetworkFactory()
|
D | AutoDataSwitchController.java | 149 private final PhoneSwitcher mPhoneSwitcher; 347 @NonNull PhoneSwitcher phoneSwitcher, @NonNull FeatureFlags featureFlags,
|
D | DataNetwork.java | 2121 int preferredDataPhoneId = PhoneSwitcher.getInstance().getPreferredDataPhoneId();
|
D | DataNetworkController.java | 1438 && mPhone.getPhoneId() != PhoneSwitcher.getInstance().getPreferredDataPhoneId() in serviceStateAllowsPSAttach()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | TelephonyNetworkFactoryTest.java | 66 PhoneSwitcher mPhoneSwitcher; 149 mPhoneSwitcher = mock(PhoneSwitcher.class); in setUp() 192 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mPhoneSwitcher); in createMockedTelephonyComponents()
|
D | PhoneSwitcherTest.java | 34 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 …]
|
D | DataNetworkTest.java | 241 private PhoneSwitcher mMockedPhoneSwitcher; 388 mMockedPhoneSwitcher = Mockito.mock(PhoneSwitcher.class); in setUp() 389 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mMockedPhoneSwitcher); in setUp()
|
D | DataNetworkControllerTest.java | 161 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/ |
D | TelephonyComponentFactory.java | 41 import com.android.internal.telephony.data.PhoneSwitcher; 493 public PhoneSwitcher makePhoneSwitcher(int maxDataAttachModemCount, Context context, 495 return PhoneSwitcher.make(maxDataAttachModemCount, context, looper, featureFlags);
|
D | PhoneFactory.java | 47 import com.android.internal.telephony.data.PhoneSwitcher; 102 static private PhoneSwitcher sPhoneSwitcher; 272 PhoneSwitcher.class.getName()). in makeDefaultPhone()
|
D | ProxyController.java | 36 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/ |
D | TelephonyTest.java | 111 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/ |
D | SubscriptionManagerService.java | 104 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/ |
D | EmergencyStateTracker.java | 67 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/ |
D | EmergencyStateTrackerTest.java | 82 import com.android.internal.telephony.data.PhoneSwitcher; 112 @Mock PhoneSwitcher mPhoneSwitcher;
|