/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SubscriptionControllerTest.java | 39 import android.telephony.SubscriptionManager; 61 SubscriptionManager.UNIQUE_KEY_SUBSCRIPTION_ID, 62 SubscriptionManager.ICC_ID, SubscriptionManager.SIM_SLOT_INDEX, 63 SubscriptionManager.DISPLAY_NAME, SubscriptionManager.CARRIER_NAME, 64 SubscriptionManager.NAME_SOURCE, SubscriptionManager.COLOR, 65 SubscriptionManager.NUMBER, SubscriptionManager.DISPLAY_NUMBER_FORMAT [all...] |
SubscriptionInfoUpdaterTest.java | 31 import android.telephony.SubscriptionManager; 129 SubscriptionManager.CONTENT_URI.getAuthority(), 155 verify(mSubscriptionContent).put(eq(SubscriptionManager.SIM_SLOT_INDEX), 156 eq(SubscriptionManager.INVALID_SIM_SLOT_INDEX)); 255 SubscriptionManager mSubscriptionManager = SubscriptionManager.from(mContext); 303 SubscriptionManager mSubscriptionManager = SubscriptionManager.from(mContext); 345 verify(mSubscriptionContent).put(eq(SubscriptionManager.SIM_SLOT_INDEX), 346 eq(SubscriptionManager.INVALID_SIM_SLOT_INDEX)) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
SIMAccessor.java | 4 import android.telephony.SubscriptionManager; 12 private final SubscriptionManager mSubscriptionManager; 16 mSubscriptionManager = SubscriptionManager.from(context);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
SubscriptionManagerFacade.java | 21 import android.telephony.SubscriptionManager; 32 * Exposes SubscriptionManager functionality. 38 private final SubscriptionManager mSubscriptionManager; 44 mSubscriptionManager = SubscriptionManager.from(mContext); 49 return SubscriptionManager.getDefaultSubscriptionId(); 54 return SubscriptionManager.getDefaultDataSubscriptionId(); 66 return SubscriptionManager.getDefaultVoiceSubscriptionId(); 78 return SubscriptionManager.getDefaultSmsSubscriptionId(); 107 if (roaming != SubscriptionManager.DATA_ROAMING_DISABLE) { 109 SubscriptionManager.DATA_ROAMING_ENABLE, subId) [all...] |
TelephonyStateListeners.java | 29 import android.telephony.SubscriptionManager; 49 public int subscriptionId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 54 subscriptionId = SubscriptionManager.getDefaultVoiceSubscriptionId(); 114 public int subscriptionId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 119 subscriptionId = SubscriptionManager.getDefaultDataSubscriptionId(); 150 public int subscriptionId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 156 subscriptionId = SubscriptionManager.getDefaultDataSubscriptionId(); 189 public int subscriptionId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 194 subscriptionId = SubscriptionManager.getDefaultDataSubscriptionId();
|
TelephonyManagerFacade.java | 34 import android.telephony.SubscriptionManager; 94 private final SubscriptionManager mSubscriptionManager; 130 mSubscriptionManager = SubscriptionManager.from(mService); 137 SubscriptionManager.getDefaultSubscriptionId()); 157 SubscriptionManager.getDefaultSubscriptionId()); 170 SubscriptionManager.getDefaultSubscriptionId()); 183 SubscriptionManager.getDefaultSubscriptionId()); 202 SubscriptionManager.getDefaultSubscriptionId()); 216 SubscriptionManager.getDefaultVoiceSubscriptionId()); 238 SubscriptionManager.getDefaultVoiceSubscriptionId()) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SubscriptionController.java | 36 import android.telephony.SubscriptionManager; 133 private static int mDefaultFallbackSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 134 private static int mDefaultPhoneId = SubscriptionManager.DEFAULT_PHONE_INDEX; 266 SubscriptionManager.UNIQUE_KEY_SUBSCRIPTION_ID)); 268 SubscriptionManager.ICC_ID)); 270 SubscriptionManager.SIM_SLOT_INDEX)); 272 SubscriptionManager.DISPLAY_NAME)); 274 SubscriptionManager.CARRIER_NAME)); 276 SubscriptionManager.NAME_SOURCE)); 278 SubscriptionManager.COLOR)) [all...] |
SubscriptionInfoUpdater.java | 42 import android.telephony.SubscriptionManager; 108 private SubscriptionManager mSubscriptionManager = null; 122 mSubscriptionManager = SubscriptionManager.from(mContext); 207 SubscriptionManager.INVALID_SIM_SLOT_INDEX); 209 if (slotId == SubscriptionManager.INVALID_SIM_SLOT_INDEX) { 264 SubscriptionManager.NAME_SOURCE_DEFAULT_SOURCE && newSubName != null) || 265 (oldNameSource == SubscriptionManager.NAME_SOURCE_SIM_SOURCE && newSubName != null 404 int subId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; 410 if (SubscriptionManager.isValidSubscriptionId(subId)) { 429 number.put(SubscriptionManager.NUMBER, msisdn) [all...] |
IccProvider.java | 29 import android.telephony.SubscriptionManager; 80 private SubscriptionManager mSubscriptionManager; 84 mSubscriptionManager = SubscriptionManager.from(getContext()); 96 SubscriptionManager.getDefaultSubscriptionId()); 103 SubscriptionManager.getDefaultSubscriptionId()); 110 SubscriptionManager.getDefaultSubscriptionId()); 174 subId = SubscriptionManager.getDefaultSubscriptionId(); 184 subId = SubscriptionManager.getDefaultSubscriptionId(); 267 subId = SubscriptionManager.getDefaultSubscriptionId(); 277 subId = SubscriptionManager.getDefaultSubscriptionId() [all...] |
/packages/apps/Settings/src/com/android/settings/sim/ |
SimSelectNotification.java | 28 import android.telephony.SubscriptionManager; 47 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); 79 List<SubscriptionInfo> sil = subscriptionManager.getActiveSubscriptionInfoList(); 86 subscriptionManager.clearDefaultsForInactiveSubIds(); 88 boolean dataSelected = SubscriptionManager.isUsableSubIdValue( 89 SubscriptionManager.getDefaultDataSubscriptionId()); 90 boolean smsSelected = SubscriptionManager.isUsableSubIdValue( 91 SubscriptionManager.getDefaultSmsSubscriptionId()) [all...] |
SimDialogActivity.java | 30 import android.telephony.SubscriptionManager; 83 final SubscriptionInfo sir = SubscriptionManager.from(context) 120 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); 121 subscriptionManager.setDefaultDataSubId(subId); 126 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); 127 subscriptionManager.setDefaultSmsSubId(subId) [all...] |
/frameworks/base/docs/html/sdk/api_diff/24/changes/ |
android.telephony.SubscriptionManager.html | 10 android.telephony.SubscriptionManager 74 Class android.telephony.<A HREF="../../../../reference/android/telephony/SubscriptionManager.html" target="_top"><font size="+2"><code>SubscriptionManager</code></font></A> 86 <A NAME="android.telephony.SubscriptionManager.getDefaultDataSubscriptionId_added()"></A> 87 <nobr><code>int</code> <A HREF="../../../../reference/android/telephony/SubscriptionManager.html#getDefaultDataSubscriptionId()" target="_top"><code>getDefaultDataSubscriptionId</code></A>()</nobr> 93 <A NAME="android.telephony.SubscriptionManager.getDefaultSmsSubscriptionId_added()"></A> 94 <nobr><code>int</code> <A HREF="../../../../reference/android/telephony/SubscriptionManager.html#getDefaultSmsSubscriptionId()" target="_top"><code>getDefaultSmsSubscriptionId</code></A>()</nobr> 100 <A NAME="android.telephony.SubscriptionManager.getDefaultSubscriptionId_added()"></A> 101 <nobr><code>int</code> <A HREF="../../../../reference/android/telephony/SubscriptionManager.html#getDefaultSubscriptionId()" target="_top"><code>getDefaultSubscriptionId</code></A>()</nobr> 107 <A NAME="android.telephony.SubscriptionManager.getDefaultVoiceSubscriptionId_added()"></A [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SubscriptionManagerTest.java | 24 import android.telephony.SubscriptionManager; 31 private SubscriptionManager mSubscriptionManager; 33 private SubscriptionManager.OnSubscriptionsChangedListener mListener; 42 mSubscriptionManager = new SubscriptionManager(getContext());
|
CarrierConfigManagerTest.java | 23 import android.telephony.SubscriptionManager; 91 mConfigManager.getConfigForSubId(SubscriptionManager.getDefaultSubscriptionId()); 104 SubscriptionManager.getDefaultSubscriptionId());
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
TemplatePreference.java | 23 import android.telephony.SubscriptionManager; 36 SubscriptionManager mSubscriptionManager;
|
DataUsageBase.java | 29 import android.telephony.SubscriptionManager; 54 services.mSubscriptionManager = SubscriptionManager.from(context); 78 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) {
|
CellDataPreference.java | 30 import android.telephony.SubscriptionManager; 48 public int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 52 private SubscriptionManager mSubscriptionManager; 65 if (mSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { 95 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { 98 mSubscriptionManager = SubscriptionManager.from(getContext()); 100 if (mSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) {
|
/packages/services/Mms/src/com/android/mms/service/ |
MmsConfigManager.java | 29 import android.telephony.SubscriptionManager; 30 import android.telephony.SubscriptionManager.OnSubscriptionsChangedListener; 42 * {@link android.telephony.SubscriptionManager} for more details. 55 private SubscriptionManager mSubscriptionManager; 86 mSubscriptionManager = SubscriptionManager.from(context); 95 // SubscriptionManager.getInstance(mContext).unregister(mOnSubscriptionsChangedListener); 101 SubscriptionManager.from(mContext).addOnSubscriptionsChangedListener(
|
/packages/apps/Settings/src/com/android/settings/ |
ResetNetwork.java | 26 import android.telephony.SubscriptionManager; 135 mSubscriptions = SubscriptionManager.from(getActivity()).getActiveSubscriptionInfoList(); 138 int defaultSubscription = SubscriptionManager.getDefaultDataSubscriptionId(); 139 if (!SubscriptionManager.isUsableSubIdValue(defaultSubscription)) { 140 defaultSubscription = SubscriptionManager.getDefaultVoiceSubscriptionId(); 142 if (!SubscriptionManager.isUsableSubIdValue(defaultSubscription)) { 143 defaultSubscription = SubscriptionManager.getDefaultSmsSubscriptionId(); 145 if (!SubscriptionManager.isUsableSubIdValue(defaultSubscription)) { 146 defaultSubscription = SubscriptionManager.getDefaultSubscriptionId();
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSecurityModel.java | 20 import android.telephony.SubscriptionManager; 60 if (SubscriptionManager.isValidSubscriptionId( 65 if (mIsPukScreenAvailable && SubscriptionManager.isValidSubscriptionId(
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastSettings.java | 33 import android.telephony.SubscriptionManager; 272 int subId = SubscriptionManager.getDefaultSmsSubscriptionId(); 273 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { 274 subId = SubscriptionManager.getDefaultSubscriptionId(); 318 int subId = SubscriptionManager.getDefaultSmsSubscriptionId(); 319 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { 320 subId = SubscriptionManager.getDefaultSubscriptionId(); 321 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) 349 int subId = SubscriptionManager.getDefaultSmsSubscriptionId(); 350 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) [all...] |
/packages/services/Telephony/src/com/android/phone/vvm/omtp/ |
SimChangeReceiver.java | 25 import android.telephony.SubscriptionManager; 71 SubscriptionManager.INVALID_SUBSCRIPTION_ID); 73 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { 92 SubscriptionManager.getPhoneId(subId));
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
Utils.java | 24 import android.telephony.SubscriptionManager; 105 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); 106 final SubscriptionInfo subInfo = subscriptionManager.getActiveSubscriptionInfo(subId);
|
MmsHttpClient.java | 23 import android.telephony.SubscriptionManager; 395 final SubscriptionManager subscriptionManager = SubscriptionManager.from(mContext); 396 final SubscriptionInfo info = subscriptionManager.getActiveSubscriptionInfo( 416 final SubscriptionManager subscriptionManager = SubscriptionManager.from(mContext); 417 final SubscriptionInfo info = subscriptionManager.getActiveSubscriptionInfo( 469 * Invoke hidden SubscriptionManager.getSlotId(int [all...] |
/frameworks/base/services/core/java/com/android/server/ |
TelephonyRegistry.java | 39 import android.telephony.SubscriptionManager; 75 * compare properly. Because SubscriptionManager.getPhoneId(int subId) handles 99 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 101 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX; 177 private int mDefaultSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 179 private int mDefaultPhoneId = SubscriptionManager.INVALID_PHONE_INDEX; 238 if(r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { 263 SubscriptionManager.getDefaultSubscriptionId())); 265 SubscriptionManager.getPhoneId(mDefaultSubId)); 457 listenForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, pkgForDebug, callback [all...] |