Searched refs:subscription (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/cmds/statsd/src/anomaly/
H A Dsubscriber_util.cpp43 for (const Subscription& subscription : subscriptions) {
44 if (subscription.probability_of_informing() < 1
45 && ((float)rand() / RAND_MAX) >= subscription.probability_of_informing()) {
51 switch (subscription.subscriber_information_case()) {
53 if (!GenerateIncidentReport(subscription.incidentd_details(), rule_id, configKey)) {
58 if (!CollectPerfettoTraceAndUploadToDropbox(subscription.perfetto_details(),
64 SubscriberReporter::getInstance().alertBroadcastSubscriber(configKey, subscription,
H A DAlarmTracker.cpp59 void AlarmTracker::addSubscription(const Subscription& subscription) { argument
60 mSubscriptions.push_back(subscription);
H A DAnomalyTracker.h46 void addSubscription(const Subscription& subscription) { argument
47 mSubscriptions.push_back(subscription);
H A DAlarmTracker.h46 void addSubscription(const Subscription& subscription);
/frameworks/base/cmds/statsd/src/subscriber/
H A DSubscriberReporter.cpp60 const Subscription& subscription,
63 // subscription id - name of the Subscription (that ties the Alert to the broadcast)
64 // subscription rule_id - the name of the Alert (that triggers the broadcast)
73 if (!subscription.has_broadcast_subscriber_details()
74 || !subscription.broadcast_subscriber_details().has_subscriber_id()) {
78 int64_t subscriberId = subscription.broadcast_subscriber_details().subscriber_id();
81 cookies.reserve(subscription.broadcast_subscriber_details().cookie_size());
82 for (auto& cookie : subscription.broadcast_subscriber_details().cookie()) {
97 sendBroadcastLocked(it2->second, configKey, subscription, cookies, dimKey);
102 const Subscription& subscription,
59 alertBroadcastSubscriber(const ConfigKey& configKey, const Subscription& subscription, const MetricDimensionKey& dimKey) const argument
100 sendBroadcastLocked(const sp<IBinder>& intentSender, const ConfigKey& configKey, const Subscription& subscription, const vector<String16>& cookies, const MetricDimensionKey& dimKey) const argument
[all...]
H A DSubscriberReporter.h23 #include "frameworks/base/cmds/statsd/src/statsd_config.pb.h" // subscription
82 const Subscription& subscription,
105 const Subscription& subscription,
/frameworks/base/core/java/android/service/euicc/
H A DGetDownloadableSubscriptionMetadataResult.java80 * @param subscription The subscription with filled-in metadata. Should only be provided if the
84 @Nullable DownloadableSubscription subscription) {
87 this.mSubscription = subscription;
89 if (subscription != null) {
91 "Error result with non-null subscription: " + result);
83 GetDownloadableSubscriptionMetadataResult(int result, @Nullable DownloadableSubscription subscription) argument
H A DIEuiccService.aidl36 void downloadSubscription(int slotId, in DownloadableSubscription subscription,
39 void getDownloadableSubscriptionMetadata(int slotId, in DownloadableSubscription subscription,
H A DEuiccService.java261 * Populate {@link DownloadableSubscription} metadata for the given downloadable subscription.
264 * @param subscription A subscription whose metadata needs to be populated.
272 int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim);
289 * Download the given subscription.
292 * @param subscription The subscription to download.
293 * @param switchAfterDownload If true, the subscription should be enabled upon successful
303 DownloadableSubscription subscription, boolean switchAfterDownload,
326 * Delete the given subscription
271 onGetDownloadableSubscriptionMetadata( int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim) argument
302 onDownloadSubscription(int slotId, DownloadableSubscription subscription, boolean switchAfterDownload, boolean forceDeactivateSim) argument
403 downloadSubscription(int slotId, DownloadableSubscription subscription, boolean switchAfterDownload, boolean forceDeactivateSim, IDownloadSubscriptionCallback callback) argument
471 getDownloadableSubscriptionMetadata(int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim, IGetDownloadableSubscriptionMetadataCallback callback) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
H A DIEuiccController.aidl28 oneway void getDownloadableSubscriptionMetadata(in DownloadableSubscription subscription,
34 oneway void downloadSubscription(in DownloadableSubscription subscription,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
H A DEuiccOperation.java100 DownloadableSubscription subscription, String callingPackage) {
102 subscription, 0 /* subscriptionId */, false /* switchAfterDownload */,
112 DownloadableSubscription subscription, boolean switchAfterDownload,
115 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage);
120 * permission to manage the current active subscription, or because we cannot determine the
124 DownloadableSubscription subscription, boolean switchAfterDownload,
127 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage);
135 DownloadableSubscription subscription, boolean switchAfterDownload,
138 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage);
99 forGetMetadataDeactivateSim(long callingToken, DownloadableSubscription subscription, String callingPackage) argument
111 forDownloadDeactivateSim(long callingToken, DownloadableSubscription subscription, boolean switchAfterDownload, String callingPackage) argument
123 forDownloadNoPrivileges(long callingToken, DownloadableSubscription subscription, boolean switchAfterDownload, String callingPackage) argument
134 forDownloadConfirmationCode(long callingToken, DownloadableSubscription subscription, boolean switchAfterDownload, String callingPackage) argument
H A DEuiccController.java170 "Must have carrier privileges on active subscription to read EID");
220 public void getDownloadableSubscriptionMetadata(DownloadableSubscription subscription, argument
223 subscription, false /* forceDeactivateSim */, callingPackage, callbackIntent);
226 void getDownloadableSubscriptionMetadata(DownloadableSubscription subscription, argument
235 subscription, forceDeactivateSim,
237 token, subscription, callingPackage, callbackIntent));
251 DownloadableSubscription subscription,
255 mSubscription = subscription;
303 public void downloadSubscription(DownloadableSubscription subscription, argument
305 downloadSubscription(subscription, switchAfterDownloa
249 GetMetadataCommandCallback( long callingToken, DownloadableSubscription subscription, String callingPackage, PendingIntent callbackIntent) argument
309 downloadSubscription(DownloadableSubscription subscription, boolean switchAfterDownload, String callingPackage, boolean forceDeactivateSim, PendingIntent callbackIntent) argument
340 DownloadSubscriptionGetMetadataCommandCallback(long callingToken, DownloadableSubscription subscription, boolean switchAfterDownload, String callingPackage, boolean forceDeactivateSim, PendingIntent callbackIntent) argument
430 downloadSubscriptionPrivileged(final long callingToken, DownloadableSubscription subscription, boolean switchAfterDownload, boolean forceDeactivateSim, final String callingPackage, final PendingIntent callbackIntent) argument
[all...]
H A DEuiccConnector.java410 /** Asynchronously fetch metadata for the given downloadable subscription. */
412 public void getDownloadableSubscriptionMetadata(DownloadableSubscription subscription, argument
416 request.mSubscription = subscription;
422 /** Asynchronously download the given subscription. */
424 public void downloadSubscription(DownloadableSubscription subscription, argument
428 request.mSubscription = subscription;
439 /** Asynchronously fetch the default downloadable subscription list. */
455 /** Asynchronously delete the given subscription. */
464 /** Asynchronously switch to the given subscription. */
475 /** Asynchronously update the nickname of the given subscription
[all...]
/frameworks/base/cmds/statsd/src/metrics/
H A Dmetrics_manager_util.cpp580 const Subscription& subscription = config.subscription(i); local
581 if (subscription.rule_type() != Subscription::ALERT) {
584 if (subscription.subscriber_information_case() ==
586 ALOGW("subscription \"%lld\" has no subscriber info.\"",
587 (long long)subscription.id());
590 const auto& itr = anomalyTrackerMap.find(subscription.rule_id());
592 ALOGW("subscription \"%lld\" has unknown rule id: \"%lld\"",
593 (long long)subscription.id(), (long long)subscription
625 const Subscription& subscription = config.subscription(i); local
[all...]
/frameworks/base/telephony/java/android/telephony/euicc/
H A DEuiccManager.java90 * Intent action to provision an embedded subscription.
138 * <p>This code is an implementation detail of the embedded subscription manager and is only
146 * callbacks providing the downloadable subscription metadata.
263 * subscription APIs.
276 * <p>Requires that the calling app has carrier privileges on the active subscription on the
320 * or the calling app must be authorized to manage both the currently-active subscription and
321 * the subscription to be downloaded according to the subscription metadata. Without the former,
325 * @param subscription the subscription t
330 downloadSubscription(DownloadableSubscription subscription, boolean switchAfterDownload, PendingIntent callbackIntent) argument
429 getDownloadableSubscriptionMetadata( DownloadableSubscription subscription, PendingIntent callbackIntent) argument
[all...]
/frameworks/support/lifecycle/reactivestreams/src/test/java/androidx/lifecycle/
H A DLiveDataReactiveStreamsTest.java301 final Subscription subscription = subscriptionSubject.blockingSingle();
303 subscription.request(1);
309 subscription.request(2);
326 subscription.request(1);
/frameworks/opt/net/wifi/tests/wifitests/assets/
H A Dr1.PerProviderSubscription.conf59 7:CertURL=43:http://www.r2-testbed.wi-fi.org/subscription-rootcert-networkfx.der
H A Dr2.PerProviderSubscription.conf42 7:CertURL=43:http://www.r2-testbed.wi-fi.org/subscription-rootcert-networkfx.der
H A Druckus.PerProviderSubscription.conf42 7:CertURL=43:http://www.r2-testbed.wi-fi.org/subscription-rootcert-networkfx.der
/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java491 // Update or create the subscription.
670 // Check that the subscription is still subscribed.
671 final Subscription subscription = mSubscriptions.get(parentId);
672 if (subscription != null) {
675 subscription.getCallback(mContext, options);
887 * Callbacks for subscription related events.
921 * If this is called, the subscription remains until {@link MediaBrowser#unsubscribe}
934 * If this is called, the subscription remains until {@link MediaBrowser#unsubscribe}
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerBaseTest.java180 SubscriptionInfo subscription = mock(SubscriptionInfo.class);
181 when(subscription.getSubscriptionId()).thenReturn(subId);
182 subs.add(subscription);
/frameworks/support/media/src/main/java/android/support/v4/media/
H A DMediaBrowserCompat.java691 * Callbacks for subscription related events.
736 * If this is called, the subscription remains until {@link MediaBrowserCompat#unsubscribe}
748 * If this is called, the subscription remains until {@link MediaBrowserCompat#unsubscribe}
760 private void setSubscription(Subscription subscription) { argument
761 mSubscriptionRef = new WeakReference<>(subscription);
1181 // Update or create the subscription.
1404 // Check that the subscription is still subscribed.
1405 final Subscription subscription = mSubscriptions.get(parentId);
1406 if (subscription == null) {
1414 SubscriptionCallback subscriptionCallback = subscription
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
H A DEuiccControllerTest.java296 new GetDownloadableSubscriptionMetadataResult(42, null /* subscription */);
308 EuiccService.RESULT_MUST_DEACTIVATE_SIM, null /* subscription */);
461 new GetDownloadableSubscriptionMetadataResult(42, null /* subscription */);
477 EuiccService.RESULT_MUST_DEACTIVATE_SIM, null /* subscription */);
940 private void callGetDownloadableSubscriptionMetadata(DownloadableSubscription subscription, argument
944 mController.getDownloadableSubscriptionMetadata(subscription, PACKAGE_NAME, resultCallback);
965 private void callDownloadSubscription(DownloadableSubscription subscription, argument
982 mController.downloadSubscription(subscription, switchAfterDownload, callingPackage,
/frameworks/av/packages/MediaComponents/src/com/android/media/
H A DMediaSession2Stub.java883 Set<String> subscription = mSubscriptions.get(controller);
884 if (subscription == null) {
885 subscription = new HashSet<>();
886 mSubscriptions.put(controller, subscription);
888 subscription.add(parentId);
/frameworks/base/cmds/statsd/src/
H A Dstatsd_config.proto353 repeated Subscription subscription = 11;

Completed in 504 milliseconds

12