Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java199 public Bucket querySummaryForDevice(int networkType, String subscriberId, in querySummaryForDevice() argument
203 template = createTemplate(networkType, subscriberId); in querySummaryForDevice()
232 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, in querySummaryForUser() argument
236 template = createTemplate(networkType, subscriberId); in querySummaryForUser()
269 public NetworkStats querySummary(int networkType, String subscriberId, long startTime, in querySummary() argument
273 template = createTemplate(networkType, subscriberId); in querySummary()
291 public NetworkStats queryDetailsForUid(int networkType, String subscriberId, in queryDetailsForUid() argument
293 return queryDetailsForUidTagState(networkType, subscriberId, startTime, endTime, uid, in queryDetailsForUid()
302 public NetworkStats queryDetailsForUidTag(int networkType, String subscriberId, in queryDetailsForUidTag() argument
304 return queryDetailsForUidTagState(networkType, subscriberId, startTime, endTime, uid, in queryDetailsForUidTag()
[all …]
/frameworks/base/core/java/android/net/
DNetworkIdentity.java64 int type, int subType, String subscriberId, String networkId, boolean roaming, in NetworkIdentity() argument
68 mSubscriberId = subscriberId; in NetworkIdentity()
169 public static String scrubSubscriberId(String subscriberId) { in scrubSubscriberId() argument
171 return subscriberId; in scrubSubscriberId()
172 } else if (subscriberId != null) { in scrubSubscriberId()
174 return subscriberId.substring(0, Math.min(6, subscriberId.length())) + "..."; in scrubSubscriberId()
183 public static String[] scrubSubscriberId(String[] subscriberId) { in scrubSubscriberId() argument
184 if (subscriberId == null) return null; in scrubSubscriberId()
185 final String[] res = new String[subscriberId.length]; in scrubSubscriberId()
187 res[i] = NetworkIdentity.scrubSubscriberId(subscriberId[i]); in scrubSubscriberId()
[all …]
DNetworkState.java37 public final String subscriberId; field in NetworkState
41 NetworkCapabilities networkCapabilities, Network network, String subscriberId, in NetworkState() argument
47 this.subscriberId = subscriberId; in NetworkState()
66 subscriberId = in.readString(); in NetworkState()
81 out.writeString(subscriberId); in writeToParcel()
DNetworkMisc.java66 public String subscriberId; field in NetworkMisc
76 subscriberId = nm.subscriberId; in NetworkMisc()
91 out.writeString(subscriberId); in writeToParcel()
102 networkMisc.subscriberId = in.readString();
DNetworkTemplate.java99 public static NetworkTemplate buildTemplateMobileAll(String subscriberId) { in buildTemplateMobileAll() argument
100 return new NetworkTemplate(MATCH_MOBILE, subscriberId, null); in buildTemplateMobileAll()
176 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { in NetworkTemplate() argument
177 this(matchRule, subscriberId, new String[] { subscriberId }, networkId); in NetworkTemplate()
180 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, in NetworkTemplate() argument
182 this(matchRule, subscriberId, matchSubscriberIds, networkId, METERED_ALL, ROAMING_ALL, in NetworkTemplate()
186 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, in NetworkTemplate() argument
189 mSubscriberId = subscriberId; in NetworkTemplate()
356 public boolean matchesSubscriberId(String subscriberId) { in matchesSubscriberId() argument
357 return ArrayUtils.contains(mMatchSubscriberIds, subscriberId); in matchesSubscriberId()
[all …]
/frameworks/base/cmds/statsd/src/subscriber/
DSubscriberReporter.cpp33 int64_t subscriberId, in setBroadcastSubscriber() argument
37 mIntentMap[configKey][subscriberId] = intentSender; in setBroadcastSubscriber()
41 int64_t subscriberId) { in unsetBroadcastSubscriber() argument
46 subscriberMapIt->second.erase(subscriberId); in unsetBroadcastSubscriber()
78 int64_t subscriberId = subscription.broadcast_subscriber_details().subscriber_id(); in alertBroadcastSubscriber() local
91 auto it2 = it1->second.find(subscriberId); in alertBroadcastSubscriber()
94 configKey.ToString().c_str(), (long long)subscriberId); in alertBroadcastSubscriber()
DSubscriberReporter.h65 int64_t subscriberId,
71 void unsetBroadcastSubscriber(const ConfigKey& configKey, int64_t subscriberId);
/frameworks/base/core/java/android/app/
DStatsManager.java198 PendingIntent pendingIntent, long configKey, long subscriberId) in setBroadcastSubscriber() argument
206 service.setBroadcastSubscriber(configKey, subscriberId, intentSender, in setBroadcastSubscriber()
209 service.unsetBroadcastSubscriber(configKey, subscriberId, in setBroadcastSubscriber()
227 long configKey, long subscriberId, PendingIntent pendingIntent) { in setBroadcastSubscriber() argument
229 setBroadcastSubscriber(pendingIntent, configKey, subscriberId); in setBroadcastSubscriber()
/frameworks/base/core/java/android/os/
DIStatsManager.aidl144 void setBroadcastSubscriber(long configKey, long subscriberId, in IBinder intentSender, in setBroadcastSubscriber() argument
154 void unsetBroadcastSubscriber(long configKey, long subscriberId, in String packageName); in unsetBroadcastSubscriber() argument
/frameworks/base/tests/net/java/android/app/usage/
DNetworkStatsManagerTest.java72 final String subscriberId = "subid"; in testQueryDetails() local
116 assertEquals(subscriberId, template.getSubscriberId()); in testQueryDetails()
127 assertEquals(subscriberId, template.getSubscriberId()); in testQueryDetails()
133 ConnectivityManager.TYPE_MOBILE, subscriberId, startTime, endTime); in testQueryDetails()
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DDataIdleTest.java64 String subscriberId = mTelephonyManager.getSubscriberId(); in testMobile() local
65 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId); in testMobile()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java189 final String subscriberId; field in MultipathPolicyTracker.MultipathTracker
220 subscriberId = tele.getSubscriberId(); in MultipathTracker()
222 NetworkTemplate.MATCH_MOBILE, subscriberId, new String[] { subscriberId }, in MultipathTracker()
227 public void onThresholdReached(int networkType, String subscriberId) { in MultipathTracker()
268 subscriberId, in getTemplateMatchingNetworkIdentity()
DNetworkAgentInfo.java475 final String subscriberId = (networkMisc != null) ? networkMisc.subscriberId : null; in getNetworkState() local
478 new NetworkCapabilities(networkCapabilities), network, subscriberId, null); in getNetworkState()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkIdentitySet.java56 final String subscriberId = readOptionalString(in); in NetworkIdentitySet() local
87 add(new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered, in NetworkIdentitySet()
DNetworkPolicyManagerService.java1270 final String subscriberId = mSubIdToSubscriberId.valueAt(i); in findRelevantSubIdNL() local
1272 TelephonyManager.NETWORK_TYPE_UNKNOWN, subscriberId, null, false, true, in findRelevantSubIdNL()
1462 private boolean maybeUpdateMobilePolicyCycleAL(int subId, String subscriberId) { in maybeUpdateMobilePolicyCycleAL() argument
1468 TelephonyManager.NETWORK_TYPE_UNKNOWN, subscriberId, null, false, true, true); in maybeUpdateMobilePolicyCycleAL()
1596 final String subscriberId = mSubIdToSubscriberId.get(subId, null);
1597 if (subscriberId != null) {
1598 ensureActiveMobilePolicyAL(subId, subscriberId);
1599 maybeUpdateMobilePolicyCycleAL(subId, subscriberId);
1691 final String subscriberId = mSubIdToSubscriberId.valueAt(i);
1694 TelephonyManager.NETWORK_TYPE_UNKNOWN, subscriberId, null, false, true,
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java112 final String subscriberId = getActiveSubscriberId(mContext); in getDataUsageInfo() local
113 if (subscriberId == null) { in getDataUsageInfo()
116 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId); in getDataUsageInfo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java186 final String subscriberId = "123456789"; in testGetSubscriberIdForGsmPhone() local
188 doReturn(subscriberId).when(iccRecords).getIMSI(); in testGetSubscriberIdForGsmPhone()
198 assertEquals(subscriberId, spyPhone.getSubscriberId()); in testGetSubscriberIdForGsmPhone()
204 final String subscriberId = "abcdefghijk"; in testGetSubscriberIdForCdmaLtePhone() local
206 doReturn(subscriberId).when(iccRecords).getIMSI(); in testGetSubscriberIdForCdmaLtePhone()
216 assertEquals(subscriberId, spyPhone.getSubscriberId()); in testGetSubscriberIdForCdmaLtePhone()
222 final String subscriberId = "987654321"; in testGetSubscriberIdForCdmaPhone() local
223 doReturn(subscriberId).when(mSST).getImsi(); in testGetSubscriberIdForCdmaPhone()
231 assertEquals(subscriberId, spyPhone.getSubscriberId()); in testGetSubscriberIdForCdmaPhone()
/frameworks/base/cmds/statsd/src/
DStatsService.h128 int64_t subscriberId,
136 int64_t subscriberId,
DStatsService.cpp971 int64_t subscriberId, in setBroadcastSubscriber() argument
980 .setBroadcastSubscriber(configKey, subscriberId, intentSender); in setBroadcastSubscriber()
985 int64_t subscriberId, in unsetBroadcastSubscriber() argument
993 .unsetBroadcastSubscriber(configKey, subscriberId); in unsetBroadcastSubscriber()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java1242 private static NetworkState buildMobile3gState(String subscriberId) { in buildMobile3gState() argument
1243 return buildMobile3gState(subscriberId, false /* isRoaming */); in buildMobile3gState()
1246 private static NetworkState buildMobile3gState(String subscriberId, boolean isRoaming) { in buildMobile3gState() argument
1256 return new NetworkState(info, prop, capabilities, MOBILE_NETWORK, subscriberId, null); in buildMobile3gState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java1773 String subscriberId = sp.getString(CF_ID, null); in getCallForwardingIndicatorFromSharedPref() local
1774 if (subscriberId != null) { in getCallForwardingIndicatorFromSharedPref()
1777 if (subscriberId.equals(currentSubscriberId)) { in getCallForwardingIndicatorFromSharedPref()
2326 String subscriberId = sp.getString(VM_ID, null); in getStoredVoiceMessageCount() local
2327 if (subscriberId != null) { in getStoredVoiceMessageCount()
2330 if (currentSubscriberId != null && currentSubscriberId.equals(subscriberId)) { in getStoredVoiceMessageCount()
DGsmCdmaPhone.java1516 String subscriberId = null; in getSubscriberId() local
1518 subscriberId = mSST.getImsi(); in getSubscriberId()
1524 subscriberId = iccRecords.getIMSI(); in getSubscriberId()
1527 return subscriberId; in getSubscriberId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1718 misc.subscriberId = mPhone.getSubscriberId(); in enter()