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.java212 List<String> newDefault = new ArrayList<>(); in testSwapDefault() local
213 newDefault.add("phone"); in testSwapDefault()
222 thenReturn(newDefault); in testSwapDefault()
247 List<String> newDefault = new ArrayList<>(); in testSwapDefault_multipleOverlappingApps() local
248 newDefault.add("phone"); in testSwapDefault_multipleOverlappingApps()
249 newDefault.add("emerPhone"); in testSwapDefault_multipleOverlappingApps()
254 thenReturn(newDefault); in testSwapDefault_multipleOverlappingApps()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java1311 private void updateDefaultSubIdsIfNeeded(int newDefault, int subscriptionType) { in updateDefaultSubIdsIfNeeded() argument
1313 logdl("[updateDefaultSubIdsIfNeeded] newDefault=" + newDefault in updateDefaultSubIdsIfNeeded()
1320 logdl("[updateDefaultSubIdsIfNeeded] set mDefaultFallbackSubId=" + newDefault); in updateDefaultSubIdsIfNeeded()
1322 setDefaultFallbackSubId(newDefault, subscriptionType); in updateDefaultSubIdsIfNeeded()
1328 setDefaultSmsSubId(newDefault); in updateDefaultSubIdsIfNeeded()
1332 setDefaultDataSubId(newDefault); in updateDefaultSubIdsIfNeeded()
1336 setDefaultVoiceSubId(newDefault); in updateDefaultSubIdsIfNeeded()
1424 int newDefault = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in removeSubInfo() local