/frameworks/base/core/java/android/net/ |
H A D | NetworkMisc.java | 66 public String subscriberId; field in class:NetworkMisc 76 subscriberId = nm.subscriberId; 91 out.writeString(subscriberId); 102 networkMisc.subscriberId = in.readString();
|
H A D | NetworkState.java | 37 public final String subscriberId; field in class:NetworkState 41 NetworkCapabilities networkCapabilities, Network network, String subscriberId, 47 this.subscriberId = subscriberId; 66 subscriberId = in.readString(); 81 out.writeString(subscriberId); 40 NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, Network network, String subscriberId, String networkId) argument
|
H A D | 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) { argument 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) { argument 184 if (subscriberId 63 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming, boolean metered, boolean defaultNetwork) argument [all...] |
H A D | NetworkTemplate.java | 99 public static NetworkTemplate buildTemplateMobileAll(String subscriberId) { argument 100 return new NetworkTemplate(MATCH_MOBILE, subscriberId, null); 176 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { argument 177 this(matchRule, subscriberId, new String[] { subscriberId }, networkId); 180 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, argument 182 this(matchRule, subscriberId, matchSubscriberIds, networkId, METERED_ALL, ROAMING_ALL, 186 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, argument 189 mSubscriberId = subscriberId; 233 builder.append(", subscriberId 356 matchesSubscriberId(String subscriberId) argument [all...] |
/frameworks/base/cmds/statsd/src/subscriber/ |
H A D | 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(); local 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); 32 setBroadcastSubscriber(const ConfigKey& configKey, int64_t subscriberId, const sp<IBinder>& intentSender) argument 40 unsetBroadcastSubscriber(const ConfigKey& configKey, int64_t subscriberId) argument
|
/frameworks/base/core/java/android/app/ |
H A D | 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, PendingInten 197 setBroadcastSubscriber( PendingIntent pendingIntent, long configKey, long subscriberId) argument 226 setBroadcastSubscriber( long configKey, long subscriberId, PendingIntent pendingIntent) argument [all...] |
/frameworks/base/core/java/android/app/usage/ |
H A D | NetworkStatsManager.java | 191 * @param subscriberId If applicable, the subscriber id of the network interface. 199 public Bucket querySummaryForDevice(int networkType, String subscriberId, argument 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, argument 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, argument 273 template = createTemplate(networkType, subscriberId); 291 public NetworkStats queryDetailsForUid(int networkType, String subscriberId, argument 302 queryDetailsForUidTag(int networkType, String subscriberId, long startTime, long endTime, int uid, int tag) argument 336 queryDetailsForUidTagState(int networkType, String subscriberId, long startTime, long endTime, int uid, int tag, int state) argument 379 queryDetails(int networkType, String subscriberId, long startTime, long endTime) argument 431 registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, UsageCallback callback) argument 452 registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, UsageCallback callback, @Nullable Handler handler) argument 491 onThresholdReached(int networkType, String subscriberId) argument 499 createTemplate(int networkType, String subscriberId) argument 523 CallbackHandler(Looper looper, int networkType, String subscriberId, UsageCallback callback) argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | MultipathPolicyTracker.java | 189 final String subscriberId; field in class:MultipathPolicyTracker.MultipathTracker 220 subscriberId = tele.getSubscriberId(); 222 NetworkTemplate.MATCH_MOBILE, subscriberId, new String[] { subscriberId }, 227 public void onThresholdReached(int networkType, String subscriberId) { 268 subscriberId,
|
/frameworks/base/cmds/statsd/src/ |
H A D | StatsService.cpp | 971 int64_t subscriberId, 980 .setBroadcastSubscriber(configKey, subscriberId, intentSender); 985 int64_t subscriberId, 993 .unsetBroadcastSubscriber(configKey, subscriberId); 970 setBroadcastSubscriber(int64_t configId, int64_t subscriberId, const sp<android::IBinder>& intentSender, const String16& packageName) argument 984 unsetBroadcastSubscriber(int64_t configId, int64_t subscriberId, const String16& packageName) argument
|
/frameworks/base/tests/net/java/com/android/server/net/ |
H A D | NetworkStatsServiceTest.java | 1242 private static NetworkState buildMobile3gState(String subscriberId) { argument 1243 return buildMobile3gState(subscriberId, false /* isRoaming */); 1246 private static NetworkState buildMobile3gState(String subscriberId, boolean isRoaming) { argument 1256 return new NetworkState(info, prop, capabilities, MOBILE_NETWORK, subscriberId, null);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | 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 */ 1270 final String subscriberId = mSubIdToSubscriberId.valueAt(i); 1272 TelephonyManager.NETWORK_TYPE_UNKNOWN, subscriberId, null, false, true, 1462 private boolean maybeUpdateMobilePolicyCycleAL(int subId, String subscriberId) { argument 1468 TelephonyManager.NETWORK_TYPE_UNKNOWN, subscriberId, null, false, true, true); 1596 final String subscriberId = mSubIdToSubscriberId.get(subId, null); 1597 if (subscriberId != null) { 1598 ensureActiveMobilePolicyAL(subId, subscriberId); 1977 ensureActiveMobilePolicyAL(int subId, String subscriberId) argument 2014 buildDefaultMobilePolicy(int subId, String subscriberId) argument [all...] |