Home
last modified time | relevance | path

Searched refs:subscriptions (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/cmds/statsd/src/anomaly/
Dsubscriber_util.cpp30 const std::vector<Subscription>& subscriptions) { in triggerSubscribers() argument
32 if (subscriptions.empty()) { in triggerSubscribers()
37 for (const Subscription& subscription : subscriptions) { in triggerSubscribers()
Dsubscriber_util.h29 const ConfigKey& configKey, const std::vector<Subscription>& subscriptions);
/frameworks/base/telephony/java/android/service/euicc/
DGetDefaultDownloadableSubscriptionListResult.java90 @Nullable DownloadableSubscription[] subscriptions) { in GetDefaultDownloadableSubscriptionListResult() argument
93 this.mSubscriptions = subscriptions; in GetDefaultDownloadableSubscriptionListResult()
95 if (subscriptions != null) { in GetDefaultDownloadableSubscriptionListResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java636 private void filterMobileSubscriptionInSameGroup(List<SubscriptionInfo> subscriptions) { in filterMobileSubscriptionInSameGroup() argument
637 if (subscriptions.size() == 2) { in filterMobileSubscriptionInSameGroup()
638 SubscriptionInfo info1 = subscriptions.get(0); in filterMobileSubscriptionInSameGroup()
639 SubscriptionInfo info2 = subscriptions.get(1); in filterMobileSubscriptionInSameGroup()
650 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in filterMobileSubscriptionInSameGroup()
652 subscriptions.remove(info1.getSubscriptionId() == mActiveMobileDataSubscription in filterMobileSubscriptionInSameGroup()
661 List<SubscriptionInfo> subscriptions = mSubscriptionManager in doUpdateMobileControllers() local
663 if (subscriptions == null) { in doUpdateMobileControllers()
664 subscriptions = Collections.emptyList(); in doUpdateMobileControllers()
667 filterMobileSubscriptionInSameGroup(subscriptions); in doUpdateMobileControllers()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java273 List<SubscriptionInfo> subscriptions = new ArrayList<>(); in testHasCorrectMobileControllers() local
282 subscriptions.add(mockSubInfo); in testHasCorrectMobileControllers()
284 assertTrue(mNetworkController.hasCorrectMobileControllers(subscriptions)); in testHasCorrectMobileControllers()
289 subscriptions.add(mockSubInfo); in testHasCorrectMobileControllers()
290 assertFalse(mNetworkController.hasCorrectMobileControllers(subscriptions)); in testHasCorrectMobileControllers()
307 List<SubscriptionInfo> subscriptions = new ArrayList<>(); in testSetCurrentSubscriptions() local
320 subscriptions.add(mockSubInfo); in testSetCurrentSubscriptions()
327 mNetworkController.setCurrentSubscriptionsLocked(subscriptions); in testSetCurrentSubscriptions()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoControlsService.kt269 val subscriptions = ArrayList<UglySubscription>() constant
302 subscriptions.add(sub) in subscribe()
308 subscriptions.remove(sub) in unsubscribe()
309 if (subscriptions.size == 0) { in unsubscribe()
317 subscriptions.forEach { sub -> in refresh()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java121 HashMap<String, List<Pair<IBinder, Bundle>>> subscriptions = new HashMap<>(); field in MediaBrowserService.ConnectionRecord
588 connection.subscriptions.get(parentId); in notifyChildrenChangedInternal()
625 List<Pair<IBinder, Bundle>> callbackList = connection.subscriptions.get(id); in addSubscription()
636 connection.subscriptions.put(id, callbackList); in addSubscription()
646 return connection.subscriptions.remove(id) != null; in removeSubscription()
649 List<Pair<IBinder, Bundle>> callbackList = connection.subscriptions.get(id); in removeSubscription()
659 connection.subscriptions.remove(id); in removeSubscription()
/frameworks/base/packages/SystemUI/docs/
Dbroadcasts.md18 The dispatcher supports `BroadcastReceiver` dynamic subscriptions in the following cases:
78 All subscriptions are done with the same overloaded method. As specified in the doc, in order to pa…
80 …eceiver` for the same user using different filters will result on two subscriptions, not in replac…
84 …d another where the user can be specified. This allows using separate subscriptions of the same re…
/frameworks/base/cmds/statsd/src/shell/
Dshell_data.proto26 // The output of shell subscription, including both pulled and pushed subscriptions.
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java487 List<SubscriptionInfo> subscriptions = getSubscriptionInfo(false); in getFilteredSubscriptionInfo() local
488 if (subscriptions.size() == 2) { in getFilteredSubscriptionInfo()
489 SubscriptionInfo info1 = subscriptions.get(0); in getFilteredSubscriptionInfo()
490 SubscriptionInfo info2 = subscriptions.get(1); in getFilteredSubscriptionInfo()
493 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return subscriptions; in getFilteredSubscriptionInfo()
501 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in getFilteredSubscriptionInfo()
503 subscriptions.remove(info1.getSubscriptionId() == mActiveMobileDataSubscription in getFilteredSubscriptionInfo()
510 return subscriptions; in getFilteredSubscriptionInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java3938 List<SubscriptionInfo> subscriptions = new ArrayList<>(cacheSubList.size()); in getSubscriptionInfoListFromCacheHelper() local
3951 subscriptions.add(subscriptionInfo); in getSubscriptionInfoListFromCacheHelper()
3956 subscriptions.add( in getSubscriptionInfoListFromCacheHelper()
3961 return subscriptions; in getSubscriptionInfoListFromCacheHelper()
/frameworks/opt/telephony/proto/src/
Dtelephony.proto1844 * between subscriptions with different mccmnc but same carrier_id (eg. Fi
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto2333 // SIM/eSIM subscriptions.
/frameworks/base/cmds/statsd/src/
Datoms.proto5161 // record is combined across subscriptions.
5178 // record is combined across opportunistic data subscriptions.
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto6888 // SIM/eSIM subscriptions.