/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | DefaultSubscriptionControllerTest.java | 99 doReturn(sub1.getSubscriptionId()).when(mController).getDefaultSubscriptionId(); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() 127 doReturn(sub2.getSubscriptionId()).when(mController).getDefaultSubscriptionId(); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() 160 doReturn(sub1.getSubscriptionId()).when(mController).getDefaultSubscriptionId(); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues() 183 doReturn(sub1.getSubscriptionId()).when(mController).getDefaultSubscriptionId(); in onPreferenceChange_prefChangedToSub2_callbackCalledCorrectly() 196 doReturn(sub1.getSubscriptionId()).when(mController).getDefaultSubscriptionId(); in onPreferenceChange_prefChangedToAlwaysAsk_callbackCalledCorrectly() 213 doReturn(sub1.getSubscriptionId()).when(mController).getDefaultSubscriptionId(); in onPreferenceChange_prefBecomesAvailable_onPreferenceChangeCallbackNotNull() 233 doReturn(sub1.getSubscriptionId()).when(mController).getDefaultSubscriptionId(); in onSubscriptionsChanged_twoSubscriptionsDefaultChanges_selectedEntryGetsUpdated() 239 doReturn(sub2.getSubscriptionId()).when(mController).getDefaultSubscriptionId(); in onSubscriptionsChanged_twoSubscriptionsDefaultChanges_selectedEntryGetsUpdated() 250 doReturn(sub1.getSubscriptionId()).when(mController).getDefaultSubscriptionId(); in onSubscriptionsChanged_goFromTwoSubscriptionsToOne_prefDisappears() 268 doReturn(sub1.getSubscriptionId()).when(mController).getDefaultSubscriptionId(); in onSubscriptionsChanged_goFromOneSubscriptionToTwo_prefAppears() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/ |
D | DataUsageUtilsTest.java | 45 assertThat(DataUsageUtils.getDefaultSubscriptionId(null)).isEqualTo( in getDefaultSubscriptionId_nullSubscriptionManager_returnsInvalidId() 55 assertThat(DataUsageUtils.getDefaultSubscriptionId(subscriptionManager)).isEqualTo( in getDefaultSubscriptionId_noSubscriptions_returnsInvalidId() 71 assertThat(DataUsageUtils.getDefaultSubscriptionId(subscriptionManager)).isEqualTo(1); in getDefaultSubscriptionId_noDefaultSubscription_returnsFirstSubscription() 81 assertThat(DataUsageUtils.getDefaultSubscriptionId(subscriptionManager)).isEqualTo(1); in getDefaultSubscriptionId_hasDefaultSubscription_returnsDefaultSubscription()
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | OpportunisticNetworkService.java | 180 mContext, mSubscriptionManager.getDefaultSubscriptionId(), "setEnable"); 210 mContext, mSubscriptionManager.getDefaultSubscriptionId(), "isEnabled"); 234 … mSubscriptionManager.getDefaultSubscriptionId(), "setPreferredDataSubscriptionId"); 273 mSubscriptionManager.getDefaultSubscriptionId(), 310 mSubscriptionManager.getDefaultSubscriptionId(), "updateAvailableNetworks");
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | ResetNetworkSubscriptionPreferenceController.java | 78 int defaultSubscriptionId = getDefaultSubscriptionId(); in updateState() 112 private int getDefaultSubscriptionId() { in getDefaultSubscriptionId() method in ResetNetworkSubscriptionPreferenceController 121 defaultSubscriptionId = SubscriptionManager.getDefaultSubscriptionId(); in getDefaultSubscriptionId()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileDataSlice.java | 120 final int defaultSubId = getDefaultSubscriptionId(mSubscriptionManager); in onNotifyChange() 149 protected static int getDefaultSubscriptionId(SubscriptionManager subscriptionManager) { in getDefaultSubscriptionId() method in MobileDataSlice 223 getDefaultSubscriptionId(subscriptionManager)); in onSlicePinned()
|
D | CallsDefaultSubscriptionController.java | 31 return mManager.getActiveSubscriptionInfo(getDefaultSubscriptionId()); in getDefaultSubscriptionInfo() 35 protected int getDefaultSubscriptionId() { in getDefaultSubscriptionId() method in CallsDefaultSubscriptionController
|
D | SmsDefaultSubscriptionController.java | 31 return mManager.getActiveSubscriptionInfo(getDefaultSubscriptionId()); in getDefaultSubscriptionInfo() 35 protected int getDefaultSubscriptionId() { in getDefaultSubscriptionId() method in SmsDefaultSubscriptionController
|
D | DefaultSubscriptionController.java | 71 protected abstract int getDefaultSubscriptionId(); in getDefaultSubscriptionId() method in DefaultSubscriptionController 136 final int serviceDefaultSubId = getDefaultSubscriptionId(); in updateEntries()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | MobileDataSlice.java | 132 final int defaultSubId = getDefaultSubscriptionId(mSubscriptionManager); in onNotifyChange() 161 protected static int getDefaultSubscriptionId(SubscriptionManager subscriptionManager) { in getDefaultSubscriptionId() method in MobileDataSlice 238 getDefaultSubscriptionId(subscriptionManager)); in onSlicePinned()
|
D | DefaultSubscriptionController.java | 71 protected abstract int getDefaultSubscriptionId(); in getDefaultSubscriptionId() method in DefaultSubscriptionController 131 final int serviceDefaultSubId = getDefaultSubscriptionId(); in updateEntries()
|
D | SmsDefaultSubscriptionController.java | 35 protected int getDefaultSubscriptionId() { in getDefaultSubscriptionId() method in SmsDefaultSubscriptionController
|
D | CallsDefaultSubscriptionController.java | 35 protected int getDefaultSubscriptionId() { in getDefaultSubscriptionId() method in CallsDefaultSubscriptionController
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 95 int defaultSubId = DataUsageUtils.getDefaultSubscriptionId(mSubscriptionManager); in DataUsageSummaryPreferenceController() 233 int defaultSubId = SubscriptionManager.getDefaultSubscriptionId(); in refreshDataplanInfo()
|
D | DataUsagePreferenceController.java | 65 return DataUsageUtils.getDefaultSubscriptionId(mSubscriptionManager); in getDefaultSubId()
|
D | DataUsageEntryPreferenceController.java | 61 int defaultSubId = subscriptionManager.getDefaultSubscriptionId(); in formatUsedData()
|
D | DataWarningAndLimitFragment.java | 73 DataUsageUtils.getDefaultSubscriptionId(mSubscriptionManager)); in onAttach()
|
D | DataUsageUtils.java | 58 public static int getDefaultSubscriptionId(SubscriptionManager subscriptionManager) { in getDefaultSubscriptionId() method in DataUsageUtils
|
D | AppDataUsageFragment.java | 88 subId = DataUsageUtils.getDefaultSubscriptionId(subscriptionManager); in onAttach()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummary.java | 140 DataUsageUtils.getDefaultSubscriptionId(activity)); in createPreferenceControllers() 295 int defaultSubId = subscriptionManager.getDefaultSubscriptionId(); in formatUsedData()
|
D | DataUsageUtils.java | 164 public static int getDefaultSubscriptionId(Context context) { in getDefaultSubscriptionId() method in DataUsageUtils
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageSummary.java | 145 DataUsageUtils.getDefaultSubscriptionId(activity)); in createPreferenceControllers() 306 int defaultSubId = subscriptionManager.getDefaultSubscriptionId(); in formatUsedData()
|
D | DataUsageUtils.java | 161 public static int getDefaultSubscriptionId(Context context) { in getDefaultSubscriptionId() method in DataUsageUtils
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDataUsageUtils.java | 30 protected static int getDefaultSubscriptionId(Context context) { in getDefaultSubscriptionId() method in ShadowDataUsageUtils
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspActivationService.java | 214 int subId = SubscriptionManager.getDefaultSubscriptionId(); in updateActivationState()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/ |
D | SystemUpdatePreferenceControllerTest.java | 152 SubscriptionManager.getDefaultSubscriptionId(), config); in preferenceClicked_triggersClientInitiatedAction()
|