/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileDataPreferenceController.java | 131 if (isOpportunistic()) { in updateState() 147 private boolean isOpportunistic() { in isOpportunistic() method in MobileDataPreferenceController 149 return info != null && info.isOpportunistic(); in isOpportunistic()
|
D | DefaultSubscriptionController.java | 172 if (sub.isOpportunistic()) { in updateEntries()
|
D | RenameMobileNetworkDialogFragment.java | 191 phoneTitle.setVisibility(info.isOpportunistic() ? View.GONE : View.VISIBLE); in populateView()
|
D | MobileNetworkUtils.java | 332 if (subInfo.getSubscriptionId() != subId && !subInfo.isOpportunistic()) { in setMobileDataEnabled()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileDataTogglePreferenceController.java | 131 preference.setEnabled(!isOpportunistic()); in updateState() 166 private boolean isOpportunistic() { in isOpportunistic() method in MobileDataTogglePreferenceController 168 return info != null && info.isOpportunistic(); in isOpportunistic()
|
D | NetworkUtils.java | 75 if (subInfo.getSubscriptionId() != subId && !subInfo.isOpportunistic()) { in setMobileDataEnabled()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | MobileDataPreferenceControllerTest.java | 168 doReturn(true).when(mSubscriptionInfo).isOpportunistic(); in updateState_opportunistic_disabled() 181 doReturn(false).when(mSubscriptionInfo).isOpportunistic(); in updateState_notOpportunistic_enabled()
|
D | DefaultSubscriptionControllerTest.java | 188 when(sub2.isOpportunistic()).thenReturn(true); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | MobileDataTogglePreferenceControllerTest.java | 347 private SubscriptionInfo createSubscriptionInfo(int subId, boolean isOpportunistic) { in createSubscriptionInfo() argument 353 /* accessRules= */ null, /* cardString= */ "", isOpportunistic, in createSubscriptionInfo()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | SubscriptionUtil.java | 159 if (!subInfo.isOpportunistic()) { in isPrimarySubscriptionWithinSameUuid() 493 if (info.getGroupUuid() == null || !info.isOpportunistic()) return true;
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | AnalyticsTests.java | 477 when(subInfo1.isOpportunistic()).thenReturn(false); 478 when(subInfo2.isOpportunistic()).thenReturn(true);
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileSelector.java | 459 if (!subscriptionInfo.isOpportunistic() && subscriptionInfo.isEmbedded()) { in isPrimaryActiveOnOpportunisticSlot() 638 if (subscriptionInfo.isOpportunistic()) { in getActiveOpportunisticSubId()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | RenameMobileNetworkDialogFragmentTest.java | 169 when(mSubscriptionInfo.isOpportunistic()).thenReturn(true); in populateView_infoIsOpportunistic_hideNumberLabel()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelecomAccountRegistry.java | 559 && controller.isOpportunistic(activeDataSubId); in isEmergencyPreferredAccount() 1517 if (info == null || info.isOpportunistic()) { in setupAccounts()
|
D | TelephonyConnectionService.java | 804 || SubscriptionController.getInstance().isOpportunistic( in onCreateOutgoingConnection()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | PhoneAccountSettingsFragment.java | 478 .filter(subInfo -> !subInfo.isOpportunistic()) in getLaunchSmartForwardingMenuIntent()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 344 .sorted(Comparator.comparing(SubscriptionInfo::isOpportunistic))
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Analytics.java | 707 + (subInfo.isOpportunistic() ? 0 : scoreNotOpportunistic) in scoreSubscriptionInfo()
|