Searched refs:getDefaultSubId (Results 1 – 8 of 8) sorted by relevance
50 int subId = mSubId != Integer.MIN_VALUE ? mSubId : getDefaultSubId(); in handlePreferenceClicked()64 private int getDefaultSubId() { in getDefaultSubId() method in DataUsagePreferenceController
242 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubService).getDefaultSubId(); in testInitializeSharedPreference_ifSystemUser_firstSub()247 doReturn(otherSubId).when(mSubService).getDefaultSubId(); in testInitializeSharedPreference_ifSystemUser_firstSub()252 doReturn(subId).when(mSubService).getDefaultSubId(); in testInitializeSharedPreference_ifSystemUser_firstSub()275 doReturn(firstSubId).when(mSubService).getDefaultSubId(); in testInitializeSharedPreference_ifSystemUser_carrierChange()282 doReturn(secondSubId).when(mSubService).getDefaultSubId(); in testInitializeSharedPreference_ifSystemUser_carrierChange()
64 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubService).getDefaultSubId(); in setUp()
156 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubService).getDefaultSubId(); in setUp()
315 public int getDefaultSubId() { in getDefaultSubId() method in ServiceStateProvider334 subId = getDefaultSubId(); in insert()385 subId = getDefaultSubId(); in query()391 subId = getDefaultSubId(); in query()
5063 return mSubscriptionController.getDefaultSubId(); in getDefaultSubscription()
75 when(mISub.getDefaultSubId()).thenReturn(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID); in setUp()
143 public int getDefaultSubId() { in setUp()