/frameworks/base/cmds/statsd/src/anomaly/ |
D | subscriber_util.cpp | 37 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()
|
D | AlarmTracker.cpp | 58 void AlarmTracker::addSubscription(const Subscription& subscription) { in addSubscription() argument 59 mSubscriptions.push_back(subscription); in addSubscription()
|
D | AnomalyTracker.h | 45 void addSubscription(const Subscription& subscription) { in addSubscription() argument 46 mSubscriptions.push_back(subscription); in addSubscription()
|
D | AlarmTracker.h | 43 void addSubscription(const Subscription& subscription);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | StatefulControlSubscriberTest.kt | 46 private lateinit var subscription: IControlsSubscription variable in com.android.systemui.controls.controller.StatefulControlSubscriberTest 75 scs.onSubscribe(token, subscription) in testOnSubscribe() 78 verify(provider).startSubscription(subscription, REQUEST_LIMIT) in testOnSubscribe() 83 scs.onSubscribe(badToken, subscription) in testOnSubscribe_badToken() 86 verify(provider, never()).startSubscription(subscription, REQUEST_LIMIT) in testOnSubscribe_badToken() 91 scs.onSubscribe(token, subscription) in testOnNext() 100 scs.onSubscribe(token, subscription) in testOnNext_multiple() 119 scs.onSubscribe(token, subscription) in testOnNext_noRefreshAfterCancel() 131 scs.onSubscribe(token, subscription) in testOnNext_noRefreshAfterError() 141 scs.onSubscribe(token, subscription) in testOnNext_noRefreshAfterComplete()
|
D | ControlsBindingControllerImplTest.kt | 120 val subscription = mock(IControlsSubscription::class.java) in testBindAndLoad_cancel() constant 125 loadSubscriberCaptor.value.onSubscribe(Binder(), subscription) in testBindAndLoad_cancel() 128 verify(providers[0]).cancelSubscription(subscription) in testBindAndLoad_cancel() 138 val subscription = mock(IControlsSubscription::class.java) in testBindAndLoad_noCancelAfterOnComplete() constant 144 loadSubscriberCaptor.value.onSubscribe(b, subscription) in testBindAndLoad_noCancelAfterOnComplete() 148 verify(providers[0], never()).cancelSubscription(subscription) in testBindAndLoad_noCancelAfterOnComplete() 158 val subscription = mock(IControlsSubscription::class.java) in testLoad_onCompleteRemovesTimeout() constant 164 subscriberCaptor.value.onSubscribe(b, subscription) in testLoad_onCompleteRemovesTimeout() 177 val subscription = mock(IControlsSubscription::class.java) in testLoad_onErrorRemovesTimeout() constant 183 subscriberCaptor.value.onSubscribe(b, subscription) in testLoad_onErrorRemovesTimeout() [all …]
|
D | ServiceWrapperTest.kt | 52 private lateinit var subscription: IControlsSubscription variable in com.android.systemui.controls.controller.ServiceWrapperTest 131 val result = wrapper.cancel(subscription) in testCancel_happyPath() 134 verify(subscription).cancel() in testCancel_happyPath() 139 `when`(subscription.cancel()).thenThrow(exception) in testCancel_error() 140 val result = wrapper.cancel(subscription) in testCancel_error()
|
/frameworks/base/cmds/statsd/src/subscriber/ |
D | SubscriberReporter.cpp | 100 const Subscription& subscription, in alertBroadcastSubscriber() argument 113 if (!subscription.has_broadcast_subscriber_details() in alertBroadcastSubscriber() 114 || !subscription.broadcast_subscriber_details().has_subscriber_id()) { in alertBroadcastSubscriber() 118 int64_t subscriberId = subscription.broadcast_subscriber_details().subscriber_id(); in alertBroadcastSubscriber() 121 cookies.reserve(subscription.broadcast_subscriber_details().cookie_size()); in alertBroadcastSubscriber() 122 for (auto& cookie : subscription.broadcast_subscriber_details().cookie()) { in alertBroadcastSubscriber() 137 sendBroadcastLocked(it2->second, configKey, subscription, cookies, dimKey); in alertBroadcastSubscriber() 142 const Subscription& subscription, in sendBroadcastLocked() argument 149 subscription.id(), in sendBroadcastLocked() 150 subscription.rule_id(), in sendBroadcastLocked()
|
D | SubscriberReporter.h | 74 const Subscription& subscription, 94 const Subscription& subscription,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccOperation.java | 116 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 …]
|
D | EuiccController.java | 260 DownloadableSubscription subscription, String callingPackage, in getDownloadableSubscriptionMetadata() argument 263 subscription, false /* forceDeactivateSim */, callingPackage, callbackIntent); in getDownloadableSubscriptionMetadata() 361 void getDownloadableSubscriptionMetadata(int cardId, DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument 370 subscription, forceDeactivateSim, in getDownloadableSubscriptionMetadata() 372 token, subscription, callingPackage, callbackIntent)); in getDownloadableSubscriptionMetadata() 386 DownloadableSubscription subscription, in GetMetadataCommandCallback() argument 390 mSubscription = subscription; in GetMetadataCommandCallback() 438 public void downloadSubscription(int cardId, DownloadableSubscription subscription, in downloadSubscription() argument 441 downloadSubscription(cardId, subscription, switchAfterDownload, callingPackage, in downloadSubscription() 524 void downloadSubscription(int cardId, DownloadableSubscription subscription, in downloadSubscription() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ServiceWrapper.kt | 65 fun request(subscription: IControlsSubscription, num: Long): Boolean { in request() 67 subscription.request(num) in request() 71 fun cancel(subscription: IControlsSubscription): Boolean { in cancel() 73 subscription.cancel() in cancel()
|
D | StatefulControlSubscriber.kt | 38 private var subscription: IControlsSubscription? = null variable in com.android.systemui.controls.controller.StatefulControlSubscriber 53 subscription = subs in onSubscribe() 90 subscription?.let { in cancel() 93 subscription = null in cancel()
|
D | ControlsBindingControllerImpl.kt | 239 val subscription: IControlsSubscription, constant 244 provider?.cancelSubscription(subscription) in doRun() 251 val subscription: IControlsSubscription, constant 256 provider?.startSubscription(subscription, requestLimit) in doRun() 292 private lateinit var subscription: IControlsSubscription variable in LoadSubscriber 306 subscription = subs in onSubscribe() 307 _loadCancelInternal = { currentProvider?.cancelSubscription(subscription) } in onSubscribe() 322 OnCancelAndLoadRunnable(token, loadedControls, subscription, callback) in onNext()
|
D | ControlsProviderLifecycleManager.kt | 242 fun startSubscription(subscription: IControlsSubscription, requestLimit: Long) { in maybeBindAndSubscribe() 244 Log.d(TAG, "startSubscription: $subscription") in maybeBindAndSubscribe() 247 wrapper?.request(subscription, requestLimit) in maybeBindAndSubscribe() 256 fun cancelSubscription(subscription: IControlsSubscription) { in cancelSubscription() 258 Log.d(TAG, "cancelSubscription: $subscription") in cancelSubscription() 261 wrapper?.cancel(subscription) in cancelSubscription()
|
/frameworks/base/telephony/java/android/service/euicc/ |
D | GetDownloadableSubscriptionMetadataResult.java | 86 @Nullable DownloadableSubscription subscription) { in GetDownloadableSubscriptionMetadataResult() argument 89 this.mSubscription = subscription; in GetDownloadableSubscriptionMetadataResult() 91 if (subscription != null) { in GetDownloadableSubscriptionMetadataResult()
|
D | EuiccService.java | 470 int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim); in onGetDownloadableSubscriptionMetadata() argument 508 @NonNull DownloadableSubscription subscription, boolean switchAfterDownload, in onDownloadSubscription() argument 532 @NonNull DownloadableSubscription subscription, boolean switchAfterDownload, in onDownloadSubscription() argument 660 public void downloadSubscription(int slotId, DownloadableSubscription subscription, in downloadSubscription() argument 670 slotId, subscription, switchAfterDownload, forceDeactivateSim, in downloadSubscription() 677 slotId, subscription, switchAfterDownload, forceDeactivateSim); in downloadSubscription() 742 DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument 750 slotId, subscription, forceDeactivateSim); in getDownloadableSubscriptionMetadata()
|
D | IEuiccService.aidl | 38 void downloadSubscription(int slotId, in DownloadableSubscription subscription, in downloadSubscription() argument 41 void getDownloadableSubscriptionMetadata(int slotId, in DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/people/ |
D | PeopleFakes.kt | 25 private val subscription: Subscription = EmptySubscription constant in com.android.systemui.statusbar.notification.people.FakeDataSource 29 return subscription in registerListener()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | metrics_manager_util.cpp | 850 const Subscription& subscription = config.subscription(i); in initAlerts() local 851 if (subscription.rule_type() != Subscription::ALERT) { in initAlerts() 854 if (subscription.subscriber_information_case() == in initAlerts() 857 (long long)subscription.id()); in initAlerts() 860 const auto& itr = alertTrackerMap.find(subscription.rule_id()); in initAlerts() 863 (long long)subscription.id(), (long long)subscription.rule_id()); in initAlerts() 867 allAnomalyTrackers[anomalyTrackerIndex]->addSubscription(subscription); in initAlerts() 895 const Subscription& subscription = config.subscription(i); in initAlarms() local 896 if (subscription.rule_type() != Subscription::ALARM) { in initAlarms() 899 if (subscription.subscriber_information_case() == in initAlarms() [all …]
|
/frameworks/opt/telephony/proto/src/ |
D | carrierId.proto | 63 // [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.
|
D | telephony.proto | 54 // 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/ |
D | IEuiccController.aidl | 31 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/ |
D | EuiccManager.java | 916 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/ |
D | shell_data.proto | 26 // The output of shell subscription, including both pulled and pushed subscriptions.
|