/packages/services/Telephony/src/com/android/services/telephony/ |
TelecomAccountRegistry.java | 42 import android.telephony.SubscriptionManager; 43 import android.telephony.SubscriptionManager.OnSubscriptionsChangedListener; 66 // is not supported, i.e. SubscriptionManager.INVALID_SLOT_ID or the 5th SIM in a phone. 116 int slotId = SubscriptionManager.INVALID_SIM_SLOT_INDEX; 154 if (SubscriptionManager.isValidSlotId(slotId)) { 482 private final SubscriptionManager mSubscriptionManager; 496 mSubscriptionManager = SubscriptionManager.from(context); 591 SubscriptionManager getSubscriptionManager() { 617 // SubscriptionManager.getInstance(mContext).unregister(mOnSubscriptionsChangedListener); 623 SubscriptionManager.from(mContext).addOnSubscriptionsChangedListener [all...] |
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
CarrierApiTest.java | 26 import android.telephony.SubscriptionManager;
|
/packages/apps/Settings/src/com/android/settings/sim/ |
SimPreferenceDialog.java | 29 import android.telephony.SubscriptionManager; 52 private SubscriptionManager mSubscriptionManager; 64 mSubscriptionManager = SubscriptionManager.from(mContext); 162 SubscriptionManager.NAME_SOURCE_USER_INPUT);
|
SimSettings.java | 33 import android.telephony.SubscriptionManager; 70 private SubscriptionManager mSubscriptionManager; 92 mSubscriptionManager = SubscriptionManager.from(getActivity()); 104 private final SubscriptionManager.OnSubscriptionsChangedListener mOnSubscriptionsChangeListener 105 = new SubscriptionManager.OnSubscriptionsChangedListener() {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SubscriptionMonitor.java | 19 import static android.telephony.SubscriptionManager.INVALID_PHONE_INDEX; 20 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 32 import android.telephony.SubscriptionManager;
|
PhoneSubInfoController.java | 28 import android.telephony.SubscriptionManager; 60 return getDeviceIdForPhone(SubscriptionManager.getPhoneId(getDefaultSubscription()), 68 if (!SubscriptionManager.isValidPhoneId(phoneId)) { 270 int phoneId = SubscriptionManager.getPhoneId(subId); 271 if (!SubscriptionManager.isValidPhoneId(phoneId)) {
|
UiccSmsController.java | 33 import android.telephony.SubscriptionManager; 273 subInfoList = SubscriptionManager.from(context).getActiveSubscriptionInfoList(); 333 if (!SubscriptionManager.isValidPhoneId(phoneId) 334 || phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) {
|
CarrierServiceBindHelper.java | 33 import android.telephony.SubscriptionManager; 110 if (!SubscriptionManager.isValidPhoneId(phoneId)) {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
TelephonyRegistryMock.java | 28 import android.telephony.SubscriptionManager; 51 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 53 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX;
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
ImeiInformation.java | 22 import android.telephony.SubscriptionManager; 47 private SubscriptionManager mSubscriptionManager; 53 mSubscriptionManager = SubscriptionManager.from(getContext());
|
SimStatus.java | 36 import android.telephony.SubscriptionManager; 146 mSelectableSubInfos = SubscriptionManager.from(getContext()) 419 final Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId( 422 && SubscriptionManager.isValidSubscriptionId(mSir.getSubscriptionId())) {
|
/packages/services/Telephony/src/com/android/phone/settings/ |
PhoneAccountSettingsFragment.java | 20 import android.telephony.SubscriptionManager; 69 private SubscriptionManager mSubscriptionManager; 85 mSubscriptionManager = SubscriptionManager.from(getActivity()); 311 if (subId1 != SubscriptionManager.INVALID_SUBSCRIPTION_ID && 312 subId2 != SubscriptionManager.INVALID_SUBSCRIPTION_ID) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkControllerImpl.java | 34 import android.telephony.SubscriptionManager; 35 import android.telephony.SubscriptionManager.OnSubscriptionsChangedListener; 79 private final SubscriptionManager mSubscriptionManager; 142 SubscriptionManager.from(context), Config.readConfig(context), bgLooper, 153 SubscriptionManager subManager, Config config, Looper bgLooper, 270 if (!SubscriptionManager.isValidSubscriptionId(dataSubId)) { 294 if (!SubscriptionManager.isValidSubscriptionId(voiceSubId)) { 401 SubscriptionManager.INVALID_SUBSCRIPTION_ID); 402 if (SubscriptionManager.isValidSubscriptionId(subId)) { [all...] |
/packages/services/Telephony/src/com/android/phone/ |
PhoneGlobals.java | 45 import android.telephony.SubscriptionManager; 424 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); 432 return getCarrierConfigForSubId(SubscriptionManager.getDefaultSubscriptionId()); 722 SubscriptionManager.INVALID_SUBSCRIPTION_ID); 723 int phoneId = SubscriptionManager.getPhoneId(subId); 733 Phone phone = SubscriptionManager.isValidPhoneId(phoneId) ? 760 SubscriptionManager.INVALID_PHONE_INDEX) [all...] |
NetworkSetting.java | 41 import android.telephony.SubscriptionManager; 79 int mPhoneId = SubscriptionManager.INVALID_PHONE_INDEX; 258 if (SubscriptionManager.isValidSubscriptionId(subId)) { 259 mPhoneId = SubscriptionManager.getPhoneId(subId);
|
/frameworks/base/telephony/java/android/telephony/ |
SubscriptionManager.java | 42 * SubscriptionManager is the application interface to SubscriptionController 50 public class SubscriptionManager { 51 private static final String LOG_TAG = "SubscriptionManager"; 395 public SubscriptionManager(Context context) { 396 if (DBG) logd("SubscriptionManager created"); 401 * Get an instance of the SubscriptionManager from the Context. 406 * @return SubscriptionManager instance 408 public static SubscriptionManager from(Context context) { 409 return (SubscriptionManager) context.getSystemService( [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
PhoneUtils.java | 33 import android.telephony.SubscriptionManager; 54 * platform APIs, mostly involving TelephonyManager, SubscriptionManager and 253 SubscriptionManager.OnSubscriptionsChangedListener listener); 411 private final SubscriptionManager mSubscriptionManager; 415 mSubscriptionManager = SubscriptionManager.from(Factory.get().getApplicationContext()); 541 SubscriptionManager.OnSubscriptionsChangedListener listener) { 603 return subInfo.getDataRoaming() != SubscriptionManager.DATA_ROAMING_DISABLE; [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
NetworkControllerBaseTest.java | 28 import android.telephony.SubscriptionManager; 66 protected SubscriptionManager mMockSm; 82 mMockSm = mock(SubscriptionManager.class); 110 mSubId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
ImsManager.java | 34 import android.telephony.SubscriptionManager; 240 SubscriptionManager.getDefaultVoicePhoneId()); 289 SubscriptionManager.getDefaultVoicePhoneId()); 305 SubscriptionManager.getDefaultVoicePhoneId()); 321 SubscriptionManager.getDefaultVoicePhoneId()); 369 SubscriptionManager.getDefaultVoicePhoneId()); 428 SubscriptionManager.getDefaultVoicePhoneId()); 482 SubscriptionManager.getDefaultVoicePhoneId()); 526 SubscriptionManager.getDefaultVoicePhoneId()); 600 SubscriptionManager.getDefaultVoicePhoneId()) [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSimPinView.java | 36 import android.telephony.SubscriptionManager; 80 if (SubscriptionManager.isValidSubscriptionId(mSubId)) {
|
/frameworks/opt/telephony/src/java/android/provider/ |
Telephony.java | 31 import android.telephony.SubscriptionManager; 342 return addMessageToUri(SubscriptionManager.getDefaultSmsSubscriptionId(), 386 return addMessageToUri(SubscriptionManager.getDefaultSmsSubscriptionId(), 526 return addMessageToUri(SubscriptionManager.getDefaultSmsSubscriptionId(), 585 return addMessageToUri(SubscriptionManager.getDefaultSmsSubscriptionId(), 630 return addMessageToUri(SubscriptionManager.getDefaultSmsSubscriptionId(), 695 return addMessageToUri(SubscriptionManager.getDefaultSmsSubscriptionId(), [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
DataModelImpl.java | 22 import android.telephony.SubscriptionManager; 223 new SubscriptionManager.OnSubscriptionsChangedListener() {
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
FakeFactory.java | 24 import android.telephony.SubscriptionManager; 129 final SubscriptionManager.OnSubscriptionsChangedListener listener) {
|
/packages/services/Mms/src/com/android/mms/service/ |
MmsService.java | 39 import android.telephony.SubscriptionManager; 131 if (!SubscriptionManager.isValidSubscriptionId(subId)) { 134 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { 135 return SubscriptionManager.getDefaultSmsSubscriptionId(); 355 return SubscriptionManager.from(MmsService.this).isActiveSubId(subId); 429 mCurrentSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 433 if (!SubscriptionManager.isValidSubscriptionId(mCurrentSubId) 469 mCurrentSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
RespondViaSmsManager.java | 36 import android.telephony.SubscriptionManager; 188 if (SubscriptionManager.isValidSubscriptionId(subId)) {
|