Home
last modified time | relevance | path

Searched refs:subscriberId (Results 1 – 7 of 7) sorted by relevance

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DDataUsageController.java108 public DataUsageInfo getMobileDataUsageInfoForSubscriber(String subscriberId) { in getMobileDataUsageInfoForSubscriber() argument
109 if (subscriberId == null) { in getMobileDataUsageInfoForSubscriber()
112 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId); in getMobileDataUsageInfoForSubscriber()
122 public DataUsageInfo getMobileDataUsageInfoForUid(Integer uId, String subscriberId) { in getMobileDataUsageInfoForUid() argument
123 if (subscriberId == null) { in getMobileDataUsageInfoForUid()
126 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId); in getMobileDataUsageInfoForUid()
186 usage.subscriberId = template.getSubscriberId(); in getDataUsageInfo()
280 public String subscriberId; field in DataUsageController.DataUsageInfo
DConnectivityManagerFacade.java928 public void connectivityFactoryResetNetworkPolicies(String subscriberId) { in connectivityFactoryResetNetworkPolicies() argument
929 mNetPolicyManager.factoryReset(subscriberId); in connectivityFactoryResetNetworkPolicies()
936 public void connectivitySetDataWarningLimit(String subscriberId, Long dataLimit) { in connectivitySetDataWarningLimit() argument
940 if (subId != null && subId.equals(subscriberId)) { in connectivitySetDataWarningLimit()
952 public void connectivitySetDataUsageLimit(String subscriberId, Long dataLimit) { in connectivitySetDataUsageLimit() argument
956 if (subId != null && subId.equals(subscriberId)) { in connectivitySetDataUsageLimit()
968 public long connectivityGetDataUsageLimit(String subscriberId) { in connectivityGetDataUsageLimit() argument
972 if (subId != null && subId.equals(subscriberId)) return allPolicies[i].limitBytes; in connectivityGetDataUsageLimit()
981 public long connectivityGetDataWarningLimit(String subscriberId) { in connectivityGetDataWarningLimit() argument
985 if (subId != null && subId.equals(subscriberId)) return allPolicies[i].warningBytes; in connectivityGetDataWarningLimit()
[all …]
DSettingsFacade.java362 String subscriberId = mTelephonyManager.getSubscriberId(subId); in getMobileDataUsageInfo() local
363 return mDataController.getMobileDataUsageInfoForSubscriber(subscriberId); in getMobileDataUsageInfo()
377 String subscriberId = mTelephonyManager.getSubscriberId(subId); in getMobileDataUsageInfoForUid() local
378 return mDataController.getMobileDataUsageInfoForUid(uId, subscriberId); in getMobileDataUsageInfoForUid()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DCapabilityPolling.java321 String subscriberId = getSubscriberId(); in publishStateChanged() local
322 pref.setSubscriberId(subscriberId); in publishStateChanged()
767 String subscriberId = getSubscriberId(); in onSimLoaded() local
768 if (TextUtils.isEmpty(mdn) && TextUtils.isEmpty(subscriberId)) { in onSimLoaded()
777 if (TextUtils.isEmpty(subscriberId) || subscriberId.equals(subscriberId_old)) { in onSimLoaded()
835 String subscriberId = null; in getSubscriberId() local
841 subscriberId = telephony.getSubscriberId(subId); in getSubscriberId()
843 subscriberId = telephony.getSubscriberId(); in getSubscriberId()
846 logger.print("getSubscriberId: " + subscriberId); in getSubscriberId()
847 return subscriberId; in getSubscriberId()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTelephonyManager.java87 private String subscriberId; field in ShadowTelephonyManager
652 return subscriberId;
656 public void setSubscriberId(String subscriberId) {
657 this.subscriberId = subscriberId;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTelephonyManagerTest.java434 String subscriberId = "123451234512345"; in shouldSetSubscriberId() local
435 shadowTelephonyManager.setSubscriberId(subscriberId); in shouldSetSubscriberId()
437 assertThat(shadowTelephonyManager.getSubscriberId()).isEqualTo(subscriberId); in shouldSetSubscriberId()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java947 usage.put("SubscriberId", data.subscriberId); in buildDataUsageInfo()