Home
last modified time | relevance | path

Searched refs:subscription (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/cmds/statsd/src/anomaly/
Dsubscriber_util.cpp37 for (const Subscription& subscription : subscriptions) { in triggerSubscribers() local
38 if (subscription.probability_of_informing() < 1 in triggerSubscribers()
39 && ((float)rand() / (float)RAND_MAX) >= subscription.probability_of_informing()) { in triggerSubscribers()
45 switch (subscription.subscriber_information_case()) { in triggerSubscribers()
47 if (!GenerateIncidentReport(subscription.incidentd_details(), ruleId, metricId, in triggerSubscribers()
53 if (!CollectPerfettoTraceAndUploadToDropbox(subscription.perfetto_details(), in triggerSubscribers()
54 subscription.id(), ruleId, configKey)) { in triggerSubscribers()
59 SubscriberReporter::getInstance().alertBroadcastSubscriber(configKey, subscription, in triggerSubscribers()
DAlarmTracker.cpp59 void AlarmTracker::addSubscription(const Subscription& subscription) { in addSubscription() argument
60 mSubscriptions.push_back(subscription); in addSubscription()
DAnomalyTracker.h44 void addSubscription(const Subscription& subscription) { in addSubscription() argument
45 mSubscriptions.push_back(subscription); in addSubscription()
DAlarmTracker.h46 void addSubscription(const Subscription& subscription);
/frameworks/base/cmds/statsd/src/subscriber/
DSubscriberReporter.cpp59 const Subscription& subscription, in alertBroadcastSubscriber() argument
72 if (!subscription.has_broadcast_subscriber_details() in alertBroadcastSubscriber()
73 || !subscription.broadcast_subscriber_details().has_subscriber_id()) { in alertBroadcastSubscriber()
77 int64_t subscriberId = subscription.broadcast_subscriber_details().subscriber_id(); in alertBroadcastSubscriber()
80 cookies.reserve(subscription.broadcast_subscriber_details().cookie_size()); in alertBroadcastSubscriber()
81 for (auto& cookie : subscription.broadcast_subscriber_details().cookie()) { in alertBroadcastSubscriber()
96 sendBroadcastLocked(it2->second, configKey, subscription, cookies, dimKey); in alertBroadcastSubscriber()
101 const Subscription& subscription, in sendBroadcastLocked() argument
113 subscription.id(), in sendBroadcastLocked()
114 subscription.rule_id(), in sendBroadcastLocked()
DSubscriberReporter.h82 const Subscription& subscription,
105 const Subscription& subscription,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccOperation.java116 DownloadableSubscription subscription, String callingPackage) { in forGetMetadataDeactivateSim() argument
118 subscription, 0 /* subscriptionId */, false /* switchAfterDownload */, in forGetMetadataDeactivateSim()
128 DownloadableSubscription subscription, boolean switchAfterDownload, in forDownloadDeactivateSim() argument
131 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage); in forDownloadDeactivateSim()
139 DownloadableSubscription subscription, boolean switchAfterDownload, in forDownloadNoPrivileges() argument
142 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage); in forDownloadNoPrivileges()
150 DownloadableSubscription subscription, boolean switchAfterDownload, in forDownloadNoPrivilegesOrDeactivateSimCheckMetadata() argument
153 callingToken, subscription, 0 /* subscriptionId */, in forDownloadNoPrivilegesOrDeactivateSimCheckMetadata()
167 DownloadableSubscription subscription, boolean switchAfterDownload, in forDownloadConfirmationCode() argument
170 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage); in forDownloadConfirmationCode()
[all …]
DEuiccController.java259 DownloadableSubscription subscription, String callingPackage, in getDownloadableSubscriptionMetadata() argument
262 subscription, false /* forceDeactivateSim */, callingPackage, callbackIntent); in getDownloadableSubscriptionMetadata()
360 void getDownloadableSubscriptionMetadata(int cardId, DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
369 subscription, forceDeactivateSim, in getDownloadableSubscriptionMetadata()
371 token, subscription, callingPackage, callbackIntent)); in getDownloadableSubscriptionMetadata()
385 DownloadableSubscription subscription, in GetMetadataCommandCallback() argument
389 mSubscription = subscription; in GetMetadataCommandCallback()
437 public void downloadSubscription(int cardId, DownloadableSubscription subscription, in downloadSubscription() argument
440 downloadSubscription(cardId, subscription, switchAfterDownload, callingPackage, in downloadSubscription()
523 void downloadSubscription(int cardId, DownloadableSubscription subscription, in downloadSubscription() argument
[all …]
DEuiccConnector.java439 DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
443 request.mSubscription = subscription; in getDownloadableSubscriptionMetadata()
451 public void downloadSubscription(int cardId, DownloadableSubscription subscription, in downloadSubscription() argument
455 request.mSubscription = subscription; in downloadSubscription()
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.cpp639 const Subscription& subscription = config.subscription(i); in initAlerts() local
640 if (subscription.rule_type() != Subscription::ALERT) { in initAlerts()
643 if (subscription.subscriber_information_case() == in initAlerts()
646 (long long)subscription.id()); in initAlerts()
649 const auto& itr = anomalyTrackerMap.find(subscription.rule_id()); in initAlerts()
652 (long long)subscription.id(), (long long)subscription.rule_id()); in initAlerts()
656 allAnomalyTrackers[anomalyTrackerIndex]->addSubscription(subscription); in initAlerts()
684 const Subscription& subscription = config.subscription(i); in initAlarms() local
685 if (subscription.rule_type() != Subscription::ALARM) { in initAlarms()
688 if (subscription.subscriber_information_case() == in initAlarms()
[all …]
/frameworks/base/telephony/java/android/service/euicc/
DGetDownloadableSubscriptionMetadataResult.java86 @Nullable DownloadableSubscription subscription) { in GetDownloadableSubscriptionMetadataResult() argument
89 this.mSubscription = subscription; in GetDownloadableSubscriptionMetadataResult()
91 if (subscription != null) { in GetDownloadableSubscriptionMetadataResult()
DEuiccService.java469 int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim); in onGetDownloadableSubscriptionMetadata() argument
507 @NonNull DownloadableSubscription subscription, boolean switchAfterDownload, in onDownloadSubscription() argument
531 @NonNull DownloadableSubscription subscription, boolean switchAfterDownload, in onDownloadSubscription() argument
659 public void downloadSubscription(int slotId, DownloadableSubscription subscription, in downloadSubscription() argument
669 slotId, subscription, switchAfterDownload, forceDeactivateSim, in downloadSubscription()
676 slotId, subscription, switchAfterDownload, forceDeactivateSim); in downloadSubscription()
741 DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
749 slotId, subscription, forceDeactivateSim); in getDownloadableSubscriptionMetadata()
DIEuiccService.aidl38 void downloadSubscription(int slotId, in DownloadableSubscription subscription, in downloadSubscription() argument
41 void getDownloadableSubscriptionMetadata(int slotId, in DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
/frameworks/opt/telephony/proto/src/
DcarrierId.proto63 // [Optional] The Service Provider Name. Read from subscription EF_SPN.
67 // [Optional] PLMN network name. Read from subscription EF_PNN.
71 // [Optional] Group Identifier Level1 for a GSM phone. Read from subscription EF_GID1.
75 // [Optional] Group Identifier Level2 for a GSM phone. Read from subscription EF_GID2.
84 // [Optional] Prefix of Integrated Circuit Card Identifier. Read from subscription EF_ICCID.
Dtelephony.proto54 // The last active subscription info for each slot.
515 // fail to set the location where CDMA subscription shall be retrieved
519 // fail to find CDMA subscription from specified location
649 // Device does not have subscription
825 // Active subscription info change event.
1700 // Group id level 1. Logged only if gid1 is configured from subscription
1705 // from subscription but its matching rule is unknown
1708 // MCC and MNC from the subscription that map to this carrier.
1711 // Group id level 1 from the subscription that map to this carrier.
1714 // Group id level 2 from the subscription that map to this carrier.
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIEuiccController.aidl31 in DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
37 oneway void downloadSubscription(int cardId, in DownloadableSubscription subscription, in downloadSubscription() argument
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccManager.java916 public void downloadSubscription(DownloadableSubscription subscription, in downloadSubscription() argument
923 getIEuiccController().downloadSubscription(mCardId, subscription, switchAfterDownload, in downloadSubscription()
1016 DownloadableSubscription subscription, PendingIntent callbackIntent) { in getDownloadableSubscriptionMetadata() argument
1022 getIEuiccController().getDownloadableSubscriptionMetadata(mCardId, subscription, in getDownloadableSubscriptionMetadata()
/frameworks/base/cmds/statsd/src/shell/
Dshell_data.proto26 // The output of shell subscription, including both pulled and pushed subscriptions.
/frameworks/opt/net/wifi/tests/wifitests/assets/
Druckus.PerProviderSubscription.conf42 7:CertURL=43:http://www.r2-testbed.wi-fi.org/subscription-rootcert-networkfx.der
Dr1.PerProviderSubscription.conf59 7:CertURL=43:http://www.r2-testbed.wi-fi.org/subscription-rootcert-networkfx.der
Dr2.PerProviderSubscription.conf42 7:CertURL=43:http://www.r2-testbed.wi-fi.org/subscription-rootcert-networkfx.der
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java202 SubscriptionInfo subscription = mock(SubscriptionInfo.class); in setSubscriptions() local
203 when(subscription.getSubscriptionId()).thenReturn(subId); in setSubscriptions()
204 subs.add(subscription); in setSubscriptions()
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java671 final Subscription subscription = mSubscriptions.get(parentId); in onLoadChildren()
672 if (subscription != null) { in onLoadChildren()
675 subscription.getCallback(mContext, options); in onLoadChildren()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java480 int subscription = simInited in putPhoneInfo() local
484 intent.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, subscription); in putPhoneInfo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1290 private void callGetDownloadableSubscriptionMetadata(DownloadableSubscription subscription, in callGetDownloadableSubscriptionMetadata() argument
1294 mController.getDownloadableSubscriptionMetadata(0, subscription, PACKAGE_NAME, in callGetDownloadableSubscriptionMetadata()
1318 private void callDownloadSubscription(DownloadableSubscription subscription, in callDownloadSubscription() argument
1338 mController.downloadSubscription(CARD_ID, subscription, switchAfterDownload, callingPackage, in callDownloadSubscription()

12