Home
last modified time | relevance | path

Searched refs:newDefault (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRoleObserverTest.java231 List<String> newDefault = new ArrayList<>(); in testSwapDefault() local
232 newDefault.add("phone"); in testSwapDefault()
241 thenReturn(newDefault); in testSwapDefault()
266 List<String> newDefault = new ArrayList<>(); in testSwapDefault_multipleOverlappingApps() local
267 newDefault.add("phone"); in testSwapDefault_multipleOverlappingApps()
268 newDefault.add("emerPhone"); in testSwapDefault_multipleOverlappingApps()
273 thenReturn(newDefault); in testSwapDefault_multipleOverlappingApps()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java1475 private void updateDefaultSubIdsIfNeeded(int newDefault, int subscriptionType) { in updateDefaultSubIdsIfNeeded() argument
1477 logdl("[updateDefaultSubIdsIfNeeded] newDefault=" + newDefault in updateDefaultSubIdsIfNeeded()
1484 logdl("[updateDefaultSubIdsIfNeeded] set sDefaultFallbackSubId=" + newDefault); in updateDefaultSubIdsIfNeeded()
1486 setDefaultFallbackSubId(newDefault, subscriptionType); in updateDefaultSubIdsIfNeeded()
1492 setDefaultSmsSubId(newDefault); in updateDefaultSubIdsIfNeeded()
1496 setDefaultDataSubId(newDefault); in updateDefaultSubIdsIfNeeded()
1500 setDefaultVoiceSubId(newDefault); in updateDefaultSubIdsIfNeeded()
1577 int newDefault = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in removeSubInfo() local