/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionInfo.java | 240 boolean isOpportunistic, @Nullable String groupUUID, int carrierId, int profileClass) { in SubscriptionInfo() argument 243 isOpportunistic, groupUUID, false, carrierId, profileClass, in SubscriptionInfo() 254 boolean isOpportunistic, @Nullable String groupUUID, boolean isGroupDisabled, in SubscriptionInfo() argument 275 this.mIsOpportunistic = isOpportunistic; in SubscriptionInfo() 498 public boolean isOpportunistic() { in isOpportunistic() method in SubscriptionInfo 701 boolean isOpportunistic = source.readBoolean(); 716 countryIso, isEmbedded, nativeAccessRules, cardString, cardId, isOpportunistic,
|
D | SubscriptionManager.java | 3111 if (info.getGroupUuid() == null || !info.isOpportunistic()) return true; in isSubscriptionVisible()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MultiSimSettingController.java | 297 if (mSubController.getDefaultDataSubId() != subId && !mSubController.isOpportunistic(subId) in onUserDataEnabled() 437 if (mSubController.isActiveSubId(subId) && !mSubController.isOpportunistic(subId)) { in onSubscriptionGroupChanged() 552 mPrimarySubList = activeSubList.stream().filter(info -> !info.isOpportunistic()) in updatePrimarySubListAndGetChangeType() 584 if (!mSubController.isOpportunistic(subId)) { in updatePrimarySubListAndGetChangeType() 698 && !mSubController.isOpportunistic(phone.getSubId()) in disableDataForNonDefaultNonOpportunisticSubscriptions()
|
D | SubscriptionInfoUpdater.java | 1109 boolean isOpportunistic = config.getBoolean( in updateSubscriptionByCarrierConfig() 1111 if (currentSubInfo.isOpportunistic() != isOpportunistic) { in updateSubscriptionByCarrierConfig() 1112 if (DBG) logd("Set SubId=" + currentSubId + " isOpportunistic=" + isOpportunistic); in updateSubscriptionByCarrierConfig() 1113 cv.put(SubscriptionManager.IS_OPPORTUNISTIC, isOpportunistic ? "1" : "0"); in updateSubscriptionByCarrierConfig()
|
D | SubscriptionController.java | 394 boolean isOpportunistic = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord() 418 + " isOpportunistic:" + isOpportunistic + " groupUUID:" + groupUUID in getSubInfoRecord() 431 countryIso, isEmbedded, accessRules, cardId, publicCardId, isOpportunistic, in getSubInfoRecord() 2533 public boolean isOpportunistic(int subId) { in isOpportunistic() method in SubscriptionController 2536 return (info != null) && info.isOpportunistic(); in isOpportunistic() 3909 if (!activeInfo.isOpportunistic() && groupUuid.equals(activeInfo.getGroupUuid())) {
|
D | PhoneSwitcher.java | 1268 if (mSubscriptionController.isOpportunistic(subId)) { in confirmSwitch()
|
D | ServiceStateTracker.java | 4225 if (info == null || (info.isOpportunistic() && info.getGroupUuid() != null)) { in setNotification() 5076 if (info.isOpportunistic()) { in shouldRefreshSignalStrength()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 387 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testSetPreferredData() 450 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testSetPreferredDataModemCommand() 497 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testSetPreferredDataWithValidation() 803 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testSetPreferredDataCallback() 945 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testValidationOffSwitch_shouldSwitchOnNetworkAvailable() 981 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testValidationOffSwitch_shouldSwitchOnTimeOut()
|
D | MultiSimSettingControllerTest.java | 120 doReturn(true).when(mSubControllerMock).isOpportunistic(5); in setUp() 428 doReturn(true).when(mSubControllerMock).isOpportunistic(1); in testCbrs() 467 doReturn(true).when(mSubControllerMock).isOpportunistic(1); in testGroupedCbrs()
|
D | SubscriptionInfoUpdaterTest.java | 729 boolean isOpportunistic, String groupUuid) { in getCarrierConfigForSubInfoUpdate() argument 731 p.putBoolean(CarrierConfigManager.KEY_IS_OPPORTUNISTIC_SUBSCRIPTION_BOOL, isOpportunistic); in getCarrierConfigForSubInfoUpdate() 768 doReturn(false).when(mSubInfo).isOpportunistic(); in testUpdateFromCarrierConfigOpportunisticSetOpportunistic() 878 doReturn(false).when(mSubInfo).isOpportunistic(); in testUpdateFromCarrierConfigCarrierCertificates()
|
D | SubscriptionControllerTest.java | 173 boolean isOpportunistic = true; in testChangeSIMProperty() 191 mSubscriptionControllerUT.setOpportunistic(isOpportunistic, subID, mCallingPackage); in testChangeSIMProperty() 201 assertEquals(isOpportunistic, subInfo.isOpportunistic()); in testChangeSIMProperty()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerImpl.java | 610 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return; in filterMobileSubscriptionInSameGroup() 618 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in filterMobileSubscriptionInSameGroup()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataEnabledSettings.java | 459 return (info != null) && info.isOpportunistic() && info.getGroupUuid() == null; in isStandAloneOpportunistic()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 534 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return subscriptions; in getFilteredSubscriptionInfo() 542 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in getFilteredSubscriptionInfo()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 787 activeSubscriptionInfo.isOpportunistic = info.isOpportunistic() ? 1 : 0; in updateActiveSubscriptionInfoList() 820 invalidSubscriptionInfo.isOpportunistic = -1; in makeInvalidSubscriptionInfo()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 891 if (sub.isEmbedded() && sub.getGroupUuid() != null && sub.isOpportunistic()) { in removeEuiccInvisibleSubs()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 14262 HSPLandroid/telephony/SubscriptionInfo;->isOpportunistic()Z
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 45753 method public boolean isOpportunistic();
|
/frameworks/base/api/ |
D | current.txt | 45897 method public boolean isOpportunistic();
|