HomeSort by relevance Sort by last modified time
    Searched refs:subscriberId (Results 1 - 25 of 40) sorted by null

1 2

  /frameworks/base/core/java/android/net/
NetworkMisc.java 66 public String subscriberId;
76 subscriberId = nm.subscriberId;
91 out.writeString(subscriberId);
102 networkMisc.subscriberId = in.readString();
NetworkState.java 37 public final String subscriberId;
41 NetworkCapabilities networkCapabilities, Network network, String subscriberId,
47 this.subscriberId = subscriberId;
66 subscriberId = in.readString();
81 out.writeString(subscriberId);
NetworkIdentity.java 64 int type, int subType, String subscriberId, String networkId, boolean roaming,
68 mSubscriberId = subscriberId;
107 builder.append(", subscriberId=").append(scrubSubscriberId(mSubscriberId));
169 public static String scrubSubscriberId(String subscriberId) {
171 return subscriberId;
172 } else if (subscriberId != null) {
174 return subscriberId.substring(0, Math.min(6, subscriberId.length())) + "...";
183 public static String[] scrubSubscriberId(String[] subscriberId) {
184 if (subscriberId == null) return null
    [all...]
NetworkTemplate.java 99 public static NetworkTemplate buildTemplateMobileAll(String subscriberId) {
100 return new NetworkTemplate(MATCH_MOBILE, subscriberId, null);
176 public NetworkTemplate(int matchRule, String subscriberId, String networkId) {
177 this(matchRule, subscriberId, new String[] { subscriberId }, networkId);
180 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds,
182 this(matchRule, subscriberId, matchSubscriberIds, networkId, METERED_ALL, ROAMING_ALL,
186 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds,
189 mSubscriberId = subscriberId;
233 builder.append(", subscriberId=").append
    [all...]
  /frameworks/base/core/java/android/app/usage/
NetworkStatsManager.java 191 * @param subscriberId If applicable, the subscriber id of the network interface.
199 public Bucket querySummaryForDevice(int networkType, String subscriberId,
203 template = createTemplate(networkType, subscriberId);
224 * @param subscriberId If applicable, the subscriber id of the network interface.
232 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime,
236 template = createTemplate(networkType, subscriberId);
261 * @param subscriberId If applicable, the subscriber id of the network interface.
269 public NetworkStats querySummary(int networkType, String subscriberId, long startTime,
273 template = createTemplate(networkType, subscriberId);
291 public NetworkStats queryDetailsForUid(int networkType, String subscriberId,
    [all...]
  /frameworks/base/cmds/statsd/src/subscriber/
SubscriberReporter.cpp 33 int64_t subscriberId,
37 mIntentMap[configKey][subscriberId] = intentSender;
41 int64_t subscriberId) {
46 subscriberMapIt->second.erase(subscriberId);
78 int64_t subscriberId = subscription.broadcast_subscriber_details().subscriber_id();
91 auto it2 = it1->second.find(subscriberId);
93 ALOGW("Cannot inform subscriber of config %s for missing subscriberId %lld ",
94 configKey.ToString().c_str(), (long long)subscriberId);
SubscriberReporter.h 61 * Stores the given intentSender, associating it with the given (configKey, subscriberId) pair.
65 int64_t subscriberId,
69 * Erases any intentSender information from the given (configKey, subscriberId) pair.
71 void unsetBroadcastSubscriber(const ConfigKey& configKey, int64_t subscriberId);
78 * given (configKey, subscriberId) pair by setBroadcastSubscriber.
95 /** Maps <ConfigKey, SubscriberId> -> IBinder (which represents an IIntentSender). */
  /frameworks/base/core/java/android/os/
IStatsManager.aidl 128 * information to the given subscriberId within the given config.
132 * a BroadcastSubscriber with id subscriberId. This function links the given intentSender with
133 * that subscriberId (for that config), so that this intentSender is used to send the broadcast
144 void setBroadcastSubscriber(long configKey, long subscriberId, in IBinder intentSender,
148 * Undoes setBroadcastSubscriber() for the (configKey, subscriberId) pair.
149 * Any broadcasts associated with subscriberId will henceforth not be sent.
154 void unsetBroadcastSubscriber(long configKey, long subscriberId, in String packageName);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DataUsageController.java 108 public DataUsageInfo getMobileDataUsageInfoForSubscriber(String subscriberId) {
109 if (subscriberId == null) {
112 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId);
122 public DataUsageInfo getMobileDataUsageInfoForUid(Integer uId, String subscriberId) {
123 if (subscriberId == null) {
126 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId);
186 usage.subscriberId = template.getSubscriberId();
280 public String subscriberId;
ConnectivityManagerFacade.java     [all...]
SettingsFacade.java 360 String subscriberId = mTelephonyManager.getSubscriberId(subId);
361 return mDataController.getMobileDataUsageInfoForSubscriber(subscriberId);
375 String subscriberId = mTelephonyManager.getSubscriberId(subId);
376 return mDataController.getMobileDataUsageInfoForUid(uId, subscriberId);
  /frameworks/base/core/java/android/app/
StatsManager.java 169 * subscriberId within the given config.
173 * a BroadcastSubscriber with id subscriberId. This function links the given pendingIntent with
174 * that subscriberId (for that config), so that this pendingIntent is used to send the broadcast
190 * associated with the given subscriberId. May be null, in which case
191 * it undoes any previous setting of this subscriberId.
193 * @param subscriberId ID of the subscriber, as used in the config.
198 PendingIntent pendingIntent, long configKey, long subscriberId)
206 service.setBroadcastSubscriber(configKey, subscriberId, intentSender,
209 service.unsetBroadcastSubscriber(configKey, subscriberId,
227 long configKey, long subscriberId, PendingIntent pendingIntent)
    [all...]
  /frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DataIdleTest.java 64 String subscriberId = mTelephonyManager.getSubscriberId();
65 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId);
  /frameworks/base/services/core/java/com/android/server/net/
NetworkIdentitySet.java 56 final String subscriberId = readOptionalString(in);
87 add(new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered,
NetworkPolicyManagerService.java 335 private static final String ATTR_SUBSCRIBER_ID = "subscriberId";
524 /** Map from subId to subscriberId as of last update */
527 /** Set of all merged subscriberId as of last update */
    [all...]
  /frameworks/base/tests/net/java/android/app/usage/
NetworkStatsManagerTest.java 72 final String subscriberId = "subid";
116 assertEquals(subscriberId, template.getSubscriberId());
127 assertEquals(subscriberId, template.getSubscriberId());
133 ConnectivityManager.TYPE_MOBILE, subscriberId, startTime, endTime);
188 // No subscriberId: MATCH_MOBILE_WILDCARD template
196 // No subscriberId: MATCH_MOBILE_WILDCARD template
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
CapabilityPolling.java 321 String subscriberId = getSubscriberId();
322 pref.setSubscriberId(subscriberId);
767 String subscriberId = getSubscriberId();
768 if (TextUtils.isEmpty(mdn) && TextUtils.isEmpty(subscriberId)) {
777 if (TextUtils.isEmpty(subscriberId) || subscriberId.equals(subscriberId_old)) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/
MultipathPolicyTracker.java 189 final String subscriberId;
220 subscriberId = tele.getSubscriberId();
222 NetworkTemplate.MATCH_MOBILE, subscriberId, new String[] { subscriberId },
227 public void onThresholdReached(int networkType, String subscriberId) {
268 subscriberId,
NetworkAgentInfo.java 475 final String subscriberId = (networkMisc != null) ? networkMisc.subscriberId : null;
478 new NetworkCapabilities(networkCapabilities), network, subscriberId, null);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DataUsageController.java 112 final String subscriberId = getActiveSubscriberId(mContext);
113 if (subscriberId == null) {
116 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
GsmCdmaPhoneTest.java 186 final String subscriberId = "123456789";
188 doReturn(subscriberId).when(iccRecords).getIMSI();
198 assertEquals(subscriberId, spyPhone.getSubscriberId());
204 final String subscriberId = "abcdefghijk";
206 doReturn(subscriberId).when(iccRecords).getIMSI();
216 assertEquals(subscriberId, spyPhone.getSubscriberId());
222 final String subscriberId = "987654321";
223 doReturn(subscriberId).when(mSST).getImsi();
231 assertEquals(subscriberId, spyPhone.getSubscriberId());
    [all...]
  /frameworks/base/cmds/statsd/src/
StatsService.h 124 * Binder call to associate the given config's subscriberId with the given intentSender.
128 int64_t subscriberId,
133 * Binder call to unassociate the given config's subscriberId with any intentSender.
136 int64_t subscriberId,
StatsService.cpp     [all...]
  /packages/apps/Settings/src/com/android/settings/
ResetNetworkConfirm.java 140 String subscriberId = telephonyManager.getSubscriberId(mSubId);
141 policyManager.factoryReset(subscriberId);
  /packages/services/Telephony/src/com/android/services/telephony/
TelecomAccountRegistry.java 122 String subscriberId = mPhone.getSubscriberId();
288 if (mergedImsis != null && subscriberId != null && !isEmergency) {
290 if (imsi.equals(subscriberId)) {
    [all...]

Completed in 519 milliseconds

1 2