Home
last modified time | relevance | path

Searched refs:DEFAULT_SUB_ID (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telephony/tests/src/com/android/phone/
DCarrierConfigLoaderTest.java77 private static final int DEFAULT_SUB_ID = SubscriptionManager.getDefaultSubscriptionId(); field in CarrierConfigLoaderTest
172 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testUpdateConfigForPhoneId_simAbsent()
199 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testUpdateConfigForPhoneId_simLoaded_withCachedConfigInXml()
231 () -> mCarrierConfigLoader.overrideConfig(DEFAULT_SUB_ID, PersistableBundle.EMPTY, in testOverrideConfig_noPermission()
252 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testOverrideConfig_withNullBundle()
257 mCarrierConfigLoader.overrideConfig(DEFAULT_SUB_ID, null /*overrides*/, in testOverrideConfig_withNullBundle()
273 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testOverrideConfig_withNonNullBundle()
279 mCarrierConfigLoader.overrideConfig(DEFAULT_SUB_ID, config /*overrides*/, in testOverrideConfig_withNonNullBundle()
312 setCarrierPrivilegesForSubId(false, DEFAULT_SUB_ID); in testNotifyConfigChangedForSubId_noPermission()
315 () -> mCarrierConfigLoader.notifyConfigChangedForSubId(DEFAULT_SUB_ID)); in testNotifyConfigChangedForSubId_noPermission()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/
DUtils.java85 if (subId == MmsManager.DEFAULT_SUB_ID) { in getEffectiveSubscriptionId()
90 subId = MmsManager.DEFAULT_SUB_ID; in getEffectiveSubscriptionId()
DDefaultApnSettingsLoader.java245 final int subId = Utils.getEffectiveSubscriptionId(MmsManager.DEFAULT_SUB_ID); in get()
288 if (Utils.supportMSim() && subId != MmsManager.DEFAULT_SUB_ID) { in loadFromSystem()
DMmsManager.java33 public static final int DEFAULT_SUB_ID = -1; field in MmsManager
DMmsRequest.java136 final Bundle mmsConfig = carrierConfigValuesLoader.get(MmsManager.DEFAULT_SUB_ID); in execute()
DMmsHttpClient.java444 getSlotId(Utils.getEffectiveSubscriptionId(MmsManager.DEFAULT_SUB_ID))); in getEncodedNai()
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java386 if (OsUtil.isAtLeastL_MR1() && subId != MmsManager.DEFAULT_SUB_ID) { in loadFromSystem()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DParticipantData.java51 public static final int DEFAULT_SELF_SUB_ID = MmsManager.DEFAULT_SUB_ID;