Home
last modified time | relevance | path

Searched refs:defaultSubId (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsUtils.java97 int defaultSubId = SubscriptionManager.getDefaultVoiceSubscriptionId(); in getPreferredActiveSubId() local
98 if (defaultSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID in getPreferredActiveSubId()
99 && isSubIdInInfoList(infos, defaultSubId)) { in getPreferredActiveSubId()
100 return defaultSubId; in getPreferredActiveSubId()
103 defaultSubId = SubscriptionManager.getDefaultSubscriptionId(); in getPreferredActiveSubId()
104 if (defaultSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID in getPreferredActiveSubId()
105 && isSubIdInInfoList(infos, defaultSubId)) { in getPreferredActiveSubId()
106 return defaultSubId; in getPreferredActiveSubId()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCarrierConfigManagerTest.java463 final int defaultSubId = SubscriptionManager.getDefaultSubscriptionId(); in testGetConfigForSubId_withValidSingleKey() local
464 PersistableBundle allConfigs = mConfigManager.getConfigForSubId(defaultSubId); in testGetConfigForSubId_withValidSingleKey()
469 PersistableBundle configSubset = mConfigManager.getConfigForSubId(defaultSubId, key); in testGetConfigForSubId_withValidSingleKey()
476 final int defaultSubId = SubscriptionManager.getDefaultSubscriptionId(); in testGetConfigForSubId_withValidMultipleKeys() local
477 PersistableBundle allConfigs = mConfigManager.getConfigForSubId(defaultSubId); in testGetConfigForSubId_withValidMultipleKeys()
488 PersistableBundle configSubset = mConfigManager.getConfigForSubId(defaultSubId, in testGetConfigForSubId_withValidMultipleKeys()
DTelephonyRegistryManagerTest.java711 int defaultSubId = SubscriptionManager.getDefaultSubscriptionId(); in testNotifyOutgoingEmergencyCall() local
712 int phoneId = SubscriptionManager.getSlotIndex(defaultSubId); in testNotifyOutgoingEmergencyCall()
725 (trm) -> trm.notifyOutgoingEmergencyCall(phoneId, defaultSubId, emergencyNumber)); in testNotifyOutgoingEmergencyCall()
DTelephonyManagerTest.java3247 int defaultSubId = mSubscriptionManager.getDefaultSubscriptionId(); in testGetEmergencyNumberList() local
3251 emergencyNumberList.get(defaultSubId), entry.getValue())); in testGetEmergencyNumberList()
3272 int defaultSubId = mSubscriptionManager.getDefaultSubscriptionId(); in testGetEmergencyNumberListForCategories() local
3277 emergencyNumberList.get(defaultSubId), country_us_police_number)); in testGetEmergencyNumberListForCategories()
3279 for (EmergencyNumber num : emergencyNumberList.get(defaultSubId)) { in testGetEmergencyNumberListForCategories()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestBase.java1376 int defaultSubId = SubscriptionManager.getDefaultVoiceSubscriptionId(); in getActiveSubIDForCarrierSatelliteTest() local
1377 if (defaultSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID in getActiveSubIDForCarrierSatelliteTest()
1378 && isSubIdInInfoList(infos, defaultSubId)) { in getActiveSubIDForCarrierSatelliteTest()
1379 return defaultSubId; in getActiveSubIDForCarrierSatelliteTest()
1382 defaultSubId = SubscriptionManager.getDefaultSubscriptionId(); in getActiveSubIDForCarrierSatelliteTest()
1383 if (defaultSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID in getActiveSubIDForCarrierSatelliteTest()
1384 && isSubIdInInfoList(infos, defaultSubId)) { in getActiveSubIDForCarrierSatelliteTest()
1385 return defaultSubId; in getActiveSubIDForCarrierSatelliteTest()