Home
last modified time | relevance | path

Searched refs:SUB_ID_2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageControllerTest.java54 private static final String SUB_ID_2 = "Test Subscriber 2"; field in DataUsageControllerTest
91 mNetworkTemplate2 = NetworkTemplate.buildTemplateMobileAll(SUB_ID_2); in setUp()
148 doReturn(SUB_ID_2).when(mTelephonyManager).getSubscriberId(); in getDataUsageInfo_hasUsageData_shouldReturnCorrectUsageForExplicitSubId()
DDataUsageUtilsTest.java48 private static final int SUB_ID_2 = 2; field in DataUsageUtilsTest
73 when(mTelephonyManager.getSubscriberId(SUB_ID_2)).thenReturn(SUBSCRIBER_ID_2); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java63 private static final int SUB_ID_2 = 22222; field in TelephonyPermissionsTest
126 when(mMockTelephony.getCarrierPrivilegeStatusForUid(eq(SUB_ID_2), eq(UID))) in setUp()
381 new int[]{SUB_ID, SUB_ID_2}); in testCheckReadDeviceIdentifiers_hasCarrierPrivilegesOnOtherSubscription()
382 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID_2))).thenReturn( in testCheckReadDeviceIdentifiers_hasCarrierPrivilegesOnOtherSubscription()
455 new int[]{SUB_ID, SUB_ID_2}); in testCheckCallingOrSelfReadSubscriberIdentifiers_carrierPrivilegesOnOtherSub()
456 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID_2))).thenReturn( in testCheckCallingOrSelfReadSubscriberIdentifiers_carrierPrivilegesOnOtherSub()