Home
last modified time | relevance | path

Searched refs:isActiveSubscriptionId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageUtilsTest.java75 when(mSubscriptionManager.isActiveSubscriptionId(anyInt())).thenReturn(true); in setUp()
81 when(mSubscriptionManager.isActiveSubscriptionId(SUB_ID)).thenReturn(false); in getMobileTemplate_infoNull_returnMobileAll()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java1528 if (!isActiveSubscriptionId(getDefaultSubId())) { in updateDefaultSubIdsIfNeeded()
1537 if (!isActiveSubscriptionId(value)) { in updateDefaultSubIdsIfNeeded()
1542 if (!isActiveSubscriptionId(value)) { in updateDefaultSubIdsIfNeeded()
1546 if (!isActiveSubscriptionId(value)) { in updateDefaultSubIdsIfNeeded()
1555 private boolean isActiveSubscriptionId(int subId) { in isActiveSubscriptionId() method in SubscriptionController
3976 if (enable == isActiveSubscriptionId(subId)) return true; in setSubscriptionEnabled()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2671 public boolean isActiveSubscriptionId(int subscriptionId) { in isActiveSubscriptionId() method in SubscriptionManager
/frameworks/base/core/api/
Dcurrent.txt42427 …ermission(android.Manifest.permission.READ_PHONE_STATE) public boolean isActiveSubscriptionId(int);