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/util/
DTelephonyUtilTest.java74 when(mDataTelephonyManager.getSubscriberId()).thenReturn("3214561234567890"); in getSimIdentityEapSim()
93 when(mDataTelephonyManager.getSubscriberId()).thenReturn("3214561234567890"); in getSimIdentityEapAka()
114 when(mDataTelephonyManager.getSubscriberId()).thenReturn("3214561234567890"); in getSimIdentityEapAkaPrime()
152 when(mDataTelephonyManager.getSubscriberId()).thenReturn(imsi); in getEncryptedIdentity_WithRfc4648()
186 when(mDataTelephonyManager.getSubscriberId()).thenReturn(imsi); in getEncryptedIdentityFailed()
208 when(mDataTelephonyManager.getSubscriberId()).thenReturn("321560123456789"); in getSimIdentity2DigitMnc()
224 when(mDataTelephonyManager.getSubscriberId()).thenReturn("3214560123456789"); in getSimIdentityUnknownMccMnc()
245 when(mDataTelephonyManager.getSubscriberId()).thenReturn("321560123456789"); in getSimIdentityNonTelephonyConfig()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageUtilsTest.java71 when(mTelephonyManager.getSubscriberId(SUB_ID)).thenReturn(SUBSCRIBER_ID); in setUp()
72 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/hotspot2/omadm/
DDevDetailMoTest.java76 when(mDataTelephonyManager.getSubscriberId()).thenReturn(TEST_IMSI); in setUp()
237 when(mDataTelephonyManager.getSubscriberId()).thenReturn(null); in serializeDevDetailMoWithoutSim()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSIMAccessor.java27 String imsi = mTelephonyManager.getSubscriberId(subId); in getMatchingImsis()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageUtils.java41 telephonyManager.createForSubscriptionId(subId).getSubscriberId()); in getMobileTemplate()
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.java104 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.java92 when(mDataTelephonyManager.getSubscriberId()).thenReturn(TEST_IMSI); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSubInfoController.java130 public String getSubscriberId(String callingPackage) { in getSubscriberId() method in PhoneSubInfoController
152 callingFeatureId, message, (phone) -> phone.getSubscriberId()); in getSubscriberIdForSubscriber()
DPhoneInternalInterface.java865 String getSubscriberId(); in getSubscriberId() method
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java383 doReturn("310260426283121").when(mPhone).getSubscriberId(); in testGetSubscriberId()
387 doReturn("310260426283122").when(mSecondPhone).getSubscriberId(); in testGetSubscriberId()
405 doReturn("310260426283121").when(mPhone).getSubscriberId(); in testGetSubscriberIdWithOutPermission()
406 doReturn("310260426283122").when(mSecondPhone).getSubscriberId(); in testGetSubscriberIdWithOutPermission()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java222 template.getMatchRule(), template.getSubscriberId(), strippedNetworkId); in buildUnquotedNetworkTemplate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DDevDetailMo.java213 .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/base/core/java/android/app/usage/
DNetworkStatsManager.java440 template.getSubscriberId(), callback); in registerUsageCallback()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java320 public String getSubscriberId() { in getSubscriberId() method in ImsPhoneBase

12