Home
last modified time | relevance | path

Searched refs:getSubscriberId (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevDetailMoTest.java73 when(mDataTelephonyManager.getSubscriberId()).thenReturn(TEST_IMSI); in setUp()
228 when(mDataTelephonyManager.getSubscriberId()).thenReturn(null); in serializeDevDetailMoWithoutSim()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageUtilsTest.java72 when(mTelephonyManager.getSubscriberId(SUB_ID)).thenReturn(SUBSCRIBER_ID); in setUp()
73 when(mTelephonyManager.getSubscriberId(SUB_ID_2)).thenReturn(SUBSCRIBER_ID_2); in setUp()
DDataUsageControllerTest.java88 doReturn(SUB_ID).when(mTelephonyManager).getSubscriberId(); in setUp()
148 doReturn(SUB_ID_2).when(mTelephonyManager).getSubscriberId(); in getDataUsageInfo_hasUsageData_shouldReturnCorrectUsageForExplicitSubId()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java212 when(mDataTelephonyManager.getSubscriberId()).thenReturn(DATA_FULL_IMSI); in setUp()
213 when(mNonDataTelephonyManager.getSubscriberId()).thenReturn(NON_DATA_FULL_IMSI); in setUp()
418 when(mDataTelephonyManager.getSubscriberId()).thenReturn("3214561234567890"); in getSimIdentityEapSim()
441 when(mDataTelephonyManager.getSubscriberId()).thenReturn("3214561234567890"); in getSimIdentityEapAka()
466 when(mDataTelephonyManager.getSubscriberId()).thenReturn("3214561234567890"); in getSimIdentityEapAkaPrime()
507 when(mDataTelephonyManager.getSubscriberId()).thenReturn(imsi); in getEncryptedIdentity_WithRfc4648()
542 when(mDataTelephonyManager.getSubscriberId()).thenReturn(imsi); in getEncryptedIdentityFailed()
567 when(mDataTelephonyManager.getSubscriberId()).thenReturn("321560123456789"); in getSimIdentity2DigitMnc()
584 when(mDataTelephonyManager.getSubscriberId()).thenReturn("3214560123456789"); in getSimIdentityUnknownMccMnc()
598 when(mDataTelephonyManager.getSubscriberId()).thenReturn("321560123456789"); in getSimIdentityNonTelephonyConfig()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageUtils.java76 return NetworkTemplate.buildTemplateMobileAll(telephonyManager.getSubscriberId(subId)); in getMobileTemplateForSubId()
DDataUsageController.java267 final String actualSubscriberId = getTelephonyManager().getSubscriberId(); in getActiveSubscriberId()
/frameworks/base/tests/net/common/java/android/net/
DNetworkAgentConfigTest.kt65 assertEquals("MySubId", config.getSubscriberId()) in testBuilder()
/frameworks/base/tests/net/java/android/app/usage/
DNetworkStatsManagerTest.java116 assertEquals(subscriberId, template.getSubscriberId()); in testQueryDetails()
127 assertEquals(subscriberId, template.getSubscriberId()); in testQueryDetails()
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DDataIdleTest.java64 String subscriberId = mTelephonyManager.getSubscriberId(); in testMobile()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneSubInfo.aidl66 String getSubscriberId(String callingPackage); in getSubscriberId() method
/frameworks/base/services/core/java/com/android/server/net/
DNetworkIdentitySet.java98 writeOptionalString(out, ident.getSubscriberId()); in writeToStream()
DNetworkStatsSubscriptionsMonitor.java103 final String subscriberId = mTeleManager.getSubscriberId(subId); in onSubscriptionsChanged()
/frameworks/base/core/java/android/net/
DNetworkAgentConfig.java129 public String getSubscriberId() { in getSubscriberId() method in NetworkAgentConfig
DNetworkIdentity.java134 public String getSubscriberId() { in getSubscriberId() method in NetworkIdentity
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DPostDevDataMessageTest.java89 when(mDataTelephonyManager.getSubscriberId()).thenReturn(TEST_IMSI); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSubInfoController.java134 public String getSubscriberId(String callingPackage) { in getSubscriberId() method in PhoneSubInfoController
156 callingFeatureId, message, (phone) -> phone.getSubscriberId()); in getSubscriberIdForSubscriber()
DPhoneInternalInterface.java856 String getSubscriberId(); in getSubscriberId() method
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java222 template.getMatchRule(), template.getSubscriberId(), strippedNetworkId); in buildUnquotedNetworkTemplate()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java398 doReturn("310260426283121").when(mPhone).getSubscriberId(); in testGetSubscriberId()
402 doReturn("310260426283122").when(mSecondPhone).getSubscriberId(); in testGetSubscriberId()
421 doReturn("310260426283121").when(mPhone).getSubscriberId(); in testGetSubscriberIdWithOutPermission()
422 doReturn("310260426283122").when(mSecondPhone).getSubscriberId(); in testGetSubscriberIdWithOutPermission()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCarrierInfoManager.java505 String imsi = specifiedTm.getSubscriberId(); in getSimIdentity()
1205 .createForSubscriptionId(subInfo.getSubscriptionId()).getSubscriberId(); in tryUpdateCarrierIdForPasspoint()
1229 return mTelephonyManager.createForSubscriptionId(subId).getSubscriberId(); in getMatchingImsi()
1272 String curImsi = specifiedTm.getSubscriberId(); in getMatchingImsiCarrierId()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DDevDetailMo.java209 .getSubscriberId(); in serializeToXml()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitorTest.java134 when(mTelephonyManager.getSubscriberId(subId)).thenReturn(subscriberId); in addTestSub()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java279 public String getSubscriberId() { in getSubscriberId() method in SipPhoneBase
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java320 public String getSubscriberId() { in getSubscriberId() method in ImsPhoneBase
/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java471 template.getSubscriberId(), callback); in registerUsageCallback()

12