Searched refs:subscriptions (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerSignalTest.java207 List<SubscriptionInfo> subscriptions = new ArrayList<>();
213 // Generate a list of subscriptions we will tell the NetworkController to use.
216 subscriptions.add(mockSubInfo);
218 assertTrue(mNetworkController.hasCorrectMobileControllers(subscriptions));
223 subscriptions.add(mockSubInfo);
224 assertFalse(mNetworkController.hasCorrectMobileControllers(subscriptions));
240 List<SubscriptionInfo> subscriptions = new ArrayList<>();
249 // Generate a list of subscriptions we will tell the NetworkController to use.
253 subscriptions.add(mockSubInfo);
260 mNetworkController.setCurrentSubscriptions(subscriptions);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerImpl.java276 // When there are no active subscriptions, determine emengency state from last
378 // Might have different subscriptions now.
383 // If none of the subscriptions are active, we might need to recalculate
431 List<SubscriptionInfo> subscriptions = mSubscriptionManager.getActiveSubscriptionInfoList();
432 if (subscriptions == null) {
433 subscriptions = Collections.emptyList();
435 // If there have been no relevant changes to any of the subscriptions, we can leave as is.
436 if (hasCorrectMobileControllers(subscriptions)) {
443 setCurrentSubscriptions(subscriptions);
458 void setCurrentSubscriptions(List<SubscriptionInfo> subscriptions) { argument
[all...]
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java98 HashSet<String> subscriptions = new HashSet(); field in class:MediaBrowserService.ConnectionRecord
178 // Clear out the old subscriptions. We are getting new ones.
222 // Clear out the old subscriptions. We are getting new ones.
266 if (!connection.subscriptions.remove(id)) {
425 if (connection.subscriptions.contains(parentId)) {
456 connection.subscriptions.add(id);

Completed in 132 milliseconds